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属性!')
@@ -42,7 +42,7 @@
</span>
</div>
<a-form-model-item class="item-model" prop="standardNo">
<standard-selection source="1"
<standard-selection :source="StandardSource.DOMESTIC.value"
:disabledSourceSearch="true"
:disabled="disabled"
:placeholder="$t('pleaseSelect')+$t('workCenter.postMeetingManageProcess.standardNumber')"
@@ -121,7 +121,7 @@
import UploadFile from '@comp/UploadFile'
import StandardSelection from '@comp/selection/StandardSelection'
import { queryTreeList } from '@api/businessSupport'
import { PostMeetingManage } from '@/enums/commonEnums'
import { PostMeetingManage, StandardSource } from '@/enums/commonEnums'
export default {
name: 'BaseInfoForm',
@@ -139,6 +139,7 @@ export default {
},
data () {
return {
StandardSource,
formInline: {},
// 操作类型
operationType: null,
@@ -28,7 +28,7 @@
</span>
</div>
<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"
:disabled="disabled"
:placeholder="$t('pleaseSelect')+$t('workCenter.standardPromotionProcess.esNumber')"
@@ -186,6 +186,7 @@ import StandardSelection from '@comp/selection/StandardSelection'
import UserSelection from '@comp/selection/UserSelection'
import UploadFile from '@comp/UploadFile'
import { getLiaisonList } from '@api/workCenter'
import { StandardSource } from '@/enums/commonEnums'
export default {
name: 'BaseInfoForm',
components: { UploadFile, UserSelection, StandardSelection },
@@ -198,6 +199,7 @@ export default {
},
data () {
return {
StandardSource,
formInline: {},
// 当前数据
model: {},