|
@@ -44,7 +44,7 @@
|
|
<div class="dialog-header">
|
|
<div class="dialog-header">
|
|
<i class="el-dialog__close el-icon el-icon-close" @click="dialogButton('clear')"></i>
|
|
<i class="el-dialog__close el-icon el-icon-close" @click="dialogButton('clear')"></i>
|
|
<div class="dialogTitle">
|
|
<div class="dialogTitle">
|
|
- 添加物业电话(
|
|
|
|
|
|
+ {{ dialogTitle }}物业电话(
|
|
<span style="color: red"> *</span>
|
|
<span style="color: red"> *</span>
|
|
为必填项)
|
|
为必填项)
|
|
</div>
|
|
</div>
|
|
@@ -119,6 +119,7 @@ export default {
|
|
data() {
|
|
data() {
|
|
let _this = this;
|
|
let _this = this;
|
|
return {
|
|
return {
|
|
|
|
+ dialogTitle: '',
|
|
// 删除弹框信息
|
|
// 删除弹框信息
|
|
deleteName: '',
|
|
deleteName: '',
|
|
dialogVisibleDelete: false,
|
|
dialogVisibleDelete: false,
|
|
@@ -189,8 +190,10 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
//**添加按钮 */
|
|
//**添加按钮 */
|
|
add() {
|
|
add() {
|
|
|
|
+ this.dialogTitle = '添加';
|
|
this.centerDialogVisible = true;
|
|
this.centerDialogVisible = true;
|
|
this.enditShow = false;
|
|
this.enditShow = false;
|
|
|
|
+ this.$refs['ruleForm'].resetFields();
|
|
},
|
|
},
|
|
/**查询按钮*/
|
|
/**查询按钮*/
|
|
searchInfo() {
|
|
searchInfo() {
|
|
@@ -239,8 +242,8 @@ export default {
|
|
});
|
|
});
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
- this.$refs['ruleForm'].resetFields();
|
|
|
|
this.centerDialogVisible = false;
|
|
this.centerDialogVisible = false;
|
|
|
|
+ this.$refs['ruleForm'].resetFields();
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
return false;
|
|
return false;
|
|
@@ -296,6 +299,7 @@ export default {
|
|
},
|
|
},
|
|
/** 查看处理详情*/
|
|
/** 查看处理详情*/
|
|
clickEdit(type, row) {
|
|
clickEdit(type, row) {
|
|
|
|
+ this.dialogTitle = '编辑';
|
|
console.log('查看处理详情', row);
|
|
console.log('查看处理详情', row);
|
|
let communityId = row.communityId;
|
|
let communityId = row.communityId;
|
|
var that = this;
|
|
var that = this;
|