文档工具-认证清单维护-批量设置
This commit is contained in:
@@ -33,20 +33,20 @@
|
|||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
<span class="title-text-text" :title="$t('Deliverables')">{{$t('Deliverables')}}</span>
|
<span class="title-text-text" :title="$t('typeOfDeliverables')">{{$t('typeOfDeliverables')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel-multi">
|
<a-form-model-item class="itemModel">
|
||||||
<j-multi-select-tag class="box-input"
|
<a-tree-select
|
||||||
v-model="formInline.deliverable"
|
tree-node-filter-prop="title"
|
||||||
@input="handleInput('deliverable')"
|
v-model="formInline.deliverableType"
|
||||||
:placeholder="$t('PleaseSelect')+$t('Deliverables')"
|
:maxTagCount="1"
|
||||||
:type="'select'"
|
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
||||||
:triggerChange="false"/>
|
class="box-input"
|
||||||
<!-- <j-dict-select-tag class="box-input" v-model="formInline.attestationType"-->
|
style="width: 100%"
|
||||||
<!-- @input="handleInput('attestationType')"-->
|
:tree-data="DeliverableTreeList"
|
||||||
<!-- :placeholder="$t('PleaseSelect')+$t('certificationType')"-->
|
tree-checkable
|
||||||
<!-- :type="'select'"-->
|
:placeholder="$t('PleaseSelect')+$t('typeOfDeliverables')"
|
||||||
<!-- :triggerChange="false" dictCode="attestation_type"/>-->
|
/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { postAction } from '../../../api/manage'
|
import { getAction, postAction } from '../../../api/manage'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'batSetting',
|
name: 'batSetting',
|
||||||
@@ -68,10 +68,11 @@ export default {
|
|||||||
formInline: {},
|
formInline: {},
|
||||||
rules: {},
|
rules: {},
|
||||||
ids: [],
|
ids: [],
|
||||||
|
DeliverableTreeList: [],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
this.getDeliverableTree()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
edit(data) {
|
edit(data) {
|
||||||
@@ -154,6 +155,15 @@ export default {
|
|||||||
this.$refs.ruleForm.validateField([value])
|
this.$refs.ruleForm.validateField([value])
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
getDeliverableTree() {
|
||||||
|
getAction('/sys/category/getDeliverableTree', {}).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
|
this.DeliverableTreeList = res.result
|
||||||
|
} else {
|
||||||
|
this.DeliverableTreeList = []
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user