需求抽取实体

dev
Gitea 1 year ago
parent 0792470143
commit 03c76491ee
  1. 15
      ant-design-vue-jeecg/src/views/requirementitem/RequirementItemList.vue

@ -119,6 +119,8 @@
<a-divider type="vertical" />
<a @click="handleAddxqlx(0,record)">拆分</a>
<a-divider type="vertical" />
<a @click="cqdx(record)">抽取对象</a>
<a-divider type="vertical" />
<a v-if="record.xqflag==='1'" @click="qrxq(record.id)">确认需求</a>
</span>
@ -129,6 +131,7 @@
<modulex-modal1 ref="modulex" @ok="modalFormOk"></modulex-modal1>
<functionx-modal1 ref="functionxm" @ok="modalFormOk"></functionx-modal1>
<rulex-modal1 ref="rulexmd" @ok="modalFormOk"></rulex-modal1>
<requirement-entity-list1 ref="rel1"></requirement-entity-list1>
</a-card>
</template>
@ -143,12 +146,13 @@
import ModulexModal1 from "../modulex/modules/ModulexModal1";
import FunctionxModal1 from "../functionx/modules/FunctionxModal1";
import RulexModal1 from "../rulex/modules/RulexModal1";
import RequirementEntityList1 from "../requiremententity/RequirementEntityList1";
export default {
name: 'RequirementItemList',
mixins:[JeecgListMixin, mixinDevice],
components: {
RequirementItemModal,ModulexModal1,FunctionxModal1,RulexModal1
RequirementItemModal,ModulexModal1,FunctionxModal1,RulexModal1,RequirementEntityList1
},
data () {
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(){
this.searchQuerywdxq();
},

Loading…
Cancel
Save