|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div class="rule-type">
|
|
|
<el-dialog
|
|
|
- :title="id ? '编辑离行式自助银行' : '新增离行式自助银行'"
|
|
|
+ :title="id ? '编辑' : '新增离行式自助银行'"
|
|
|
:visible.sync="isShow"
|
|
|
width="800px"
|
|
|
>
|
|
|
@@ -131,7 +131,7 @@
|
|
|
@selection-change="handleOrgSelectionChange"
|
|
|
>
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
- <el-table-column label="序号" align="center" prop="id" />
|
|
|
+ <el-table-column v-if="false" label="序号" align="center" prop="id" />
|
|
|
<el-table-column label="标准" align="center" prop="standard" />
|
|
|
<el-table-column
|
|
|
label="达标日期"
|
|
|
@@ -274,6 +274,7 @@ export default {
|
|
|
dicts: ["sys_normal_disable", "sys_org_type"],
|
|
|
data() {
|
|
|
return {
|
|
|
+ tempRow:null,
|
|
|
// 查询参数
|
|
|
queryParams: {
|
|
|
pageNum: 1,
|
|
|
@@ -330,7 +331,8 @@ export default {
|
|
|
methods: {
|
|
|
getOrgPhysicalDefenseConstructionInfo() {
|
|
|
this.orgloading = true;
|
|
|
- let dat = { orgId: this.orgid, type: 4 };
|
|
|
+ let dat = { orgId: this.id, type: 4 };
|
|
|
+ // console.log(dat,2222222222)
|
|
|
listOrgPhysicalDefenseConstruction(dat).then((data) => {
|
|
|
console.log("机构信息获取成功");
|
|
|
this.constructionList = data.rows;
|
|
|
@@ -356,6 +358,7 @@ export default {
|
|
|
certificate:this.orgform.certificate,
|
|
|
evidence:this.orgform.evidence
|
|
|
};
|
|
|
+ this.constructionList.splice(this.tempRow, 1)
|
|
|
this.constructionList.push(dat);
|
|
|
this.orgopen = false;
|
|
|
// this.orgform.orgId = this.orgid;
|
|
|
@@ -397,13 +400,17 @@ export default {
|
|
|
/** 修改按钮操作 */
|
|
|
handleOrgUpdate(row) {
|
|
|
this.orgreset();
|
|
|
- const id = row.id || this.orgids;
|
|
|
- getOrgPhysicalDefenseConstruction(id).then((response) => {
|
|
|
- // console.log(response)
|
|
|
- this.orgform = response.data;
|
|
|
+ this.tempRow=row;
|
|
|
+ this.orgform = row;
|
|
|
this.orgopen = true;
|
|
|
this.orgtitle = "修改机构物防建设";
|
|
|
- });
|
|
|
+ // const id = row.id || this.orgids;
|
|
|
+ // getOrgPhysicalDefenseConstruction(id).then((response) => {
|
|
|
+ // // console.log(response)
|
|
|
+ // this.orgform = response.data;
|
|
|
+ // this.orgopen = true;
|
|
|
+ // this.orgtitle = "修改机构物防建设";
|
|
|
+ // });
|
|
|
},
|
|
|
/** 新增按钮操作 */
|
|
|
handleOrgAdd() {
|