bug
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
<ai-card title="基本信息">
|
||||
<template #right v-if="params.id">
|
||||
<span style="color:#2266FF;margin-left: 16px;cursor: pointer;font-size: 12px;" v-if="isEdit==true" @click="getDetail(),isEdit=false">取消</span>
|
||||
<span style="color:#2266FF;margin-left: 16px;cursor: pointer;font-size: 12px;" v-if="isEdit==true" @click="getDetail(params.id),isEdit=false">取消</span>
|
||||
<span style="color:#2266FF;margin-left: 16px;cursor: pointer;font-size: 12px;" v-if="isEdit==true" @click="confirm()">保存</span>
|
||||
</template>
|
||||
<template #content>
|
||||
@@ -30,7 +30,7 @@
|
||||
<el-row type="flex">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="所在地区" prop="areaId">
|
||||
<ai-area-get :instance="instance" :fullname.sync="form.areaName" v-model="form.areaId" :root="user.info.areaId"></ai-area-get>
|
||||
<ai-area-get :instance="instance" :fullname.sync="form.areaName" v-model="form.areaId" :root="user.info.areaId" ></ai-area-get>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
@@ -82,7 +82,7 @@
|
||||
|
||||
<ai-card title="基本信息">
|
||||
<template #right>
|
||||
<span style="color:#2266FF;cursor: pointer;font-size: 12px;" class="iconfont iconEdit" v-if="isEdit==false" @click="isEdit=true,getDetail(),form=data">修改</span>
|
||||
<span style="color:#2266FF;cursor: pointer;font-size: 12px;" class="iconfont iconEdit" v-if="isEdit==false" @click="edit">修改</span>
|
||||
</template>
|
||||
<template #content>
|
||||
<ai-wrapper>
|
||||
@@ -228,6 +228,10 @@ export default {
|
||||
isRefresh: !!isRefresh,
|
||||
})
|
||||
},
|
||||
edit() {
|
||||
this.isEdit=true
|
||||
this.form = JSON.parse(JSON.stringify(this.data))
|
||||
},
|
||||
deleteBtn(row, index) {
|
||||
console.log(row);
|
||||
if(row.householdRelation == 11) {
|
||||
@@ -258,6 +262,7 @@ export default {
|
||||
}else{//新增
|
||||
this.tableData.push(this.table)
|
||||
}
|
||||
|
||||
this.sysInfoDialog = false
|
||||
this.$forceUpdate()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user