|
|
@ -119,6 +119,8 @@ |
|
|
|
<a-divider type="vertical" /> |
|
|
|
<a-divider type="vertical" /> |
|
|
|
<a @click="handleAddxqlx(0,record)">拆分</a> |
|
|
|
<a @click="handleAddxqlx(0,record)">拆分</a> |
|
|
|
<a-divider type="vertical" /> |
|
|
|
<a-divider type="vertical" /> |
|
|
|
|
|
|
|
<a @click="cqdx(record)">抽取对象</a> |
|
|
|
|
|
|
|
<a-divider type="vertical" /> |
|
|
|
<a v-if="record.xqflag==='1'" @click="qrxq(record.id)">确认需求</a> |
|
|
|
<a v-if="record.xqflag==='1'" @click="qrxq(record.id)">确认需求</a> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
|
|
|
|
|
|
|
@ -129,6 +131,7 @@ |
|
|
|
<modulex-modal1 ref="modulex" @ok="modalFormOk"></modulex-modal1> |
|
|
|
<modulex-modal1 ref="modulex" @ok="modalFormOk"></modulex-modal1> |
|
|
|
<functionx-modal1 ref="functionxm" @ok="modalFormOk"></functionx-modal1> |
|
|
|
<functionx-modal1 ref="functionxm" @ok="modalFormOk"></functionx-modal1> |
|
|
|
<rulex-modal1 ref="rulexmd" @ok="modalFormOk"></rulex-modal1> |
|
|
|
<rulex-modal1 ref="rulexmd" @ok="modalFormOk"></rulex-modal1> |
|
|
|
|
|
|
|
<requirement-entity-list1 ref="rel1"></requirement-entity-list1> |
|
|
|
</a-card> |
|
|
|
</a-card> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
@ -143,12 +146,13 @@ |
|
|
|
import ModulexModal1 from "../modulex/modules/ModulexModal1"; |
|
|
|
import ModulexModal1 from "../modulex/modules/ModulexModal1"; |
|
|
|
import FunctionxModal1 from "../functionx/modules/FunctionxModal1"; |
|
|
|
import FunctionxModal1 from "../functionx/modules/FunctionxModal1"; |
|
|
|
import RulexModal1 from "../rulex/modules/RulexModal1"; |
|
|
|
import RulexModal1 from "../rulex/modules/RulexModal1"; |
|
|
|
|
|
|
|
import RequirementEntityList1 from "../requiremententity/RequirementEntityList1"; |
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
export default { |
|
|
|
name: 'RequirementItemList', |
|
|
|
name: 'RequirementItemList', |
|
|
|
mixins:[JeecgListMixin, mixinDevice], |
|
|
|
mixins:[JeecgListMixin, mixinDevice], |
|
|
|
components: { |
|
|
|
components: { |
|
|
|
RequirementItemModal,ModulexModal1,FunctionxModal1,RulexModal1 |
|
|
|
RequirementItemModal,ModulexModal1,FunctionxModal1,RulexModal1,RequirementEntityList1 |
|
|
|
}, |
|
|
|
}, |
|
|
|
data () { |
|
|
|
data () { |
|
|
|
return { |
|
|
|
return { |
|
|
@ -315,6 +319,15 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
cqdx(record){ |
|
|
|
|
|
|
|
let s = null |
|
|
|
|
|
|
|
getAction('/requiremententity/requirementEntity/list', { requirementId: record.id }).then((res) => { |
|
|
|
|
|
|
|
s = res.result.records; |
|
|
|
|
|
|
|
this.$refs.rel1.showModal(); |
|
|
|
|
|
|
|
this.$refs.rel1.edit(s[0]); |
|
|
|
|
|
|
|
this.$refs.rel1.disableSubmit = false; |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
wdxq(){ |
|
|
|
wdxq(){ |
|
|
|
this.searchQuerywdxq(); |
|
|
|
this.searchQuerywdxq(); |
|
|
|
}, |
|
|
|
}, |
|
|
|