修改关键字

This commit is contained in:
guanj
2026-05-28 19:28:12 +08:00
parent 21756e05d4
commit 98e0f9de02
17 changed files with 1425 additions and 1408 deletions

View File

@@ -13,7 +13,13 @@
<Area v-model="form.deptId" @change="changeArea" />
</el-form-item>
<el-form-item for="-" label="计划名称:" prop="planName">
<el-input v-model="form.planName" placeholder="请输入计划名称" clearable maxlength="32" show-word-limit></el-input>
<el-input
v-model="form.planName"
placeholder="请输入计划名称"
clearable
maxlength="32"
show-word-limit
></el-input>
</el-form-item>
<el-form-item label="监督类型:" prop="supvType">
<el-select v-model="form.supvType" placeholder="请选择监督类型" style="width: 100%" @change="++key">
@@ -26,7 +32,13 @@
</el-select>
</el-form-item>
<el-form-item for="-" label="监督对象名称:" prop="supvObjectName">
<el-input v-model="form.supvObjectName" placeholder="请输入监督对象名称" clearable maxlength="32" show-word-limit></el-input>
<el-input
v-model="form.supvObjectName"
placeholder="请输入监督对象名称"
clearable
maxlength="32"
show-word-limit
></el-input>
</el-form-item>
<el-form-item for="-" label="计划开始时间:" prop="planStartTime">
<el-date-picker
@@ -336,7 +348,12 @@ const changeArea = () => {
treeList.value.forEach((item: any) => {
if (item.id == form.value.deptId) {
list.push(item)
if (item.id != treeListCgy.value[0].id && item.name != '冀北电力有限公司' && item.name != '超高压') {
if (
item.id != treeListCgy.value[0].id &&
!item.name.includes('电力有限公司') &&
item.name != '超高压'
) {
list.push(...treeListCgy.value)
}
} else {