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}"> <template v-slot:actualInspector="{text, record}">
<div class="table-form" v-if="isInputInspectionReport"> <div class="table-form" v-if="isInputInspectionReport">
<a-select v-model="record.actualInspectUser" style="width: 100%" allowClear @change="changeRowData(record, 'actualInspectUser')" <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-option v-for="item in userList" :key="item.id" :value="item.id">{{ item.realname + '(' + item.username + ')' }}</a-select-option>
</a-select> </a-select>
</div> </div>
@@ -338,6 +339,11 @@ export default {
} }
return this.getNumParentNode(el.parentNode, n - 1) return this.getNumParentNode(el.parentNode, n - 1)
}, },
filterOption (input, option) {
return (
option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
)
},
loadData (arg) { loadData (arg) {
if (!this.url.list) { if (!this.url.list) {
this.$message.warning('请设置url.list属性!') this.$message.warning('请设置url.list属性!')
@@ -42,7 +42,7 @@
</span> </span>
</div> </div>
<a-form-model-item class="item-model" prop="standardNo"> <a-form-model-item class="item-model" prop="standardNo">
<standard-selection source="1" <standard-selection :source="StandardSource.DOMESTIC.value"
:disabledSourceSearch="true" :disabledSourceSearch="true"
:disabled="disabled" :disabled="disabled"
:placeholder="$t('pleaseSelect')+$t('workCenter.postMeetingManageProcess.standardNumber')" :placeholder="$t('pleaseSelect')+$t('workCenter.postMeetingManageProcess.standardNumber')"
@@ -121,7 +121,7 @@
import UploadFile from '@comp/UploadFile' import UploadFile from '@comp/UploadFile'
import StandardSelection from '@comp/selection/StandardSelection' import StandardSelection from '@comp/selection/StandardSelection'
import { queryTreeList } from '@api/businessSupport' import { queryTreeList } from '@api/businessSupport'
import { PostMeetingManage } from '@/enums/commonEnums' import { PostMeetingManage, StandardSource } from '@/enums/commonEnums'
export default { export default {
name: 'BaseInfoForm', name: 'BaseInfoForm',
@@ -139,6 +139,7 @@ export default {
}, },
data () { data () {
return { return {
StandardSource,
formInline: {}, formInline: {},
// 操作类型 // 操作类型
operationType: null, operationType: null,
@@ -28,7 +28,7 @@
</span> </span>
</div> </div>
<a-form-model-item class="item-model" prop="standardNo"> <a-form-model-item class="item-model" prop="standardNo">
<standard-selection source="3" type="radio" <standard-selection :source="StandardSource.ENTERPRISE.value" type="radio"
:disabledSourceSearch="true" :disabledSourceSearch="true"
:disabled="disabled" :disabled="disabled"
:placeholder="$t('pleaseSelect')+$t('workCenter.standardPromotionProcess.esNumber')" :placeholder="$t('pleaseSelect')+$t('workCenter.standardPromotionProcess.esNumber')"
@@ -186,6 +186,7 @@ import StandardSelection from '@comp/selection/StandardSelection'
import UserSelection from '@comp/selection/UserSelection' import UserSelection from '@comp/selection/UserSelection'
import UploadFile from '@comp/UploadFile' import UploadFile from '@comp/UploadFile'
import { getLiaisonList } from '@api/workCenter' import { getLiaisonList } from '@api/workCenter'
import { StandardSource } from '@/enums/commonEnums'
export default { export default {
name: 'BaseInfoForm', name: 'BaseInfoForm',
components: { UploadFile, UserSelection, StandardSelection }, components: { UploadFile, UserSelection, StandardSelection },
@@ -198,6 +199,7 @@ export default {
}, },
data () { data () {
return { return {
StandardSource,
formInline: {}, formInline: {},
// 当前数据 // 当前数据
model: {}, model: {},