巡查上报设置

This commit is contained in:
liuye
2023-11-03 16:06:48 +08:00
parent 91701965e9
commit ec8da18298

View File

@@ -79,7 +79,7 @@
</ai-select>
</el-form-item>
<el-form-item label="节点类型" prop="nodeType" v-else>
<ai-select :disabled="getGirdList.length == 1"
<ai-select :disabled="getGirdList.length == 1 && form.nodeType == '1'"
v-model="form.nodeType"
clearable
placeholder="请选择..."
@@ -131,7 +131,7 @@
</ai-dialog>
</template>
<template slot="footer">
<el-button @click="getList">取消</el-button>
<el-button @click="getList">返回</el-button>
<el-button type="primary" @click="confirm">提交</el-button>
</template>
</ai-detail>
@@ -237,7 +237,7 @@
this.editIndex = index
this.form = {...this.list[index]}
if(this.form.nodeType != '0') {
this.getGird(index)
this.getGird(index-1)
}
this.dialogTitle = '编辑节点'
this.dialog = true