Commit 23e469e5 by peiqiQQQ

编辑回显问题修改 类型不一致

1 parent c686bf46
Showing with 3 additions and 4 deletions
...@@ -307,7 +307,7 @@ ...@@ -307,7 +307,7 @@
<el-option label="L5" :value="5"></el-option> <el-option label="L5" :value="5"></el-option>
</el-select> </el-select>
</el-form-item> --> </el-form-item> -->
<el-form-item label="适用范围:" prop="scope"> <!-- <el-form-item label="适用范围:" prop="scope">
<el-select <el-select
clearable clearable
placeholder="请选择" placeholder="请选择"
...@@ -321,7 +321,7 @@ ...@@ -321,7 +321,7 @@
:key="item.value" :key="item.value"
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item> -->
<div class="dialog_form_item3 m-b-20"> <div class="dialog_form_item3 m-b-20">
<div class="dialog_form_item_title">图标设置:</div> <div class="dialog_form_item_title">图标设置:</div>
<div class="flex"> <div class="flex">
...@@ -975,7 +975,7 @@ export default { ...@@ -975,7 +975,7 @@ export default {
this.rowData = row this.rowData = row
//编辑 //编辑
this.ruleForm.let1 = row.elementName this.ruleForm.let1 = row.elementName
this.ruleForm.let2 = row.archiLevelId this.ruleForm.let2 = row.archiLevelId + ''
this.ruleForm.let3 = row.archiBelongId this.ruleForm.let3 = row.archiBelongId
this.ruleForm.let4 = row.content this.ruleForm.let4 = row.content
this.ruleForm.let5 = row.eaLevel this.ruleForm.let5 = row.eaLevel
...@@ -1594,7 +1594,6 @@ export default { ...@@ -1594,7 +1594,6 @@ export default {
let result2 = res2[1].find( let result2 = res2[1].find(
(item2) => item2.belongId == item.archiBelongId, (item2) => item2.belongId == item.archiBelongId,
) )
console.log(result1);
// item['archiLevelName'] = result1 ? result1.name : '' // item['archiLevelName'] = result1 ? result1.name : ''
item['archiLevelName'] = result1 ? result1.label : '' item['archiLevelName'] = result1 ? result1.label : ''
item['archiBelongName'] = result2 ? result2.name : '' item['archiBelongName'] = result2 ? result2.name : ''
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!