update 企标稽查流程完善、流程选择标准调整

This commit is contained in:
danshihao
2023-12-12 19:55:13 +08:00
parent 969890a2ab
commit 1d01f1f12c
3 changed files with 13 additions and 4 deletions
@@ -48,7 +48,8 @@
<template v-slot:actualInspector="{text, record}">
<div class="table-form" v-if="isInputInspectionReport">
<a-select v-model="record.actualInspectUser" style="width: 100%" allowClear @change="changeRowData(record, 'actualInspectUser')"
:placeholder="$t('pleaseSelect')+$t('workCenter.esInspectionProcess.actualInspector')">
:placeholder="$t('pleaseSelect')+$t('workCenter.esInspectionProcess.actualInspector')"
show-search :filter-option="filterOption">
<a-select-option v-for="item in userList" :key="item.id" :value="item.id">{{ item.realname + '(' + item.username + ')' }}</a-select-option>
</a-select>
</div>
@@ -338,6 +339,11 @@ export default {
}
return this.getNumParentNode(el.parentNode, n - 1)
},
filterOption (input, option) {
return (
option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
)
},
loadData (arg) {
if (!this.url.list) {
this.$message.warning('请设置url.list属性!')