|
@@ -251,6 +251,55 @@
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
</el-table>
|
|
</el-table>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <div v-if="source==5">
|
|
|
|
|
+ <h3 class="title">离行自助银行设置</h3>
|
|
|
|
|
+ <div class="info-box">
|
|
|
|
|
+
|
|
|
|
|
+ <span >离行式大堂设备</span>
|
|
|
|
|
+ <div style="display: inline-block; width: 200px">
|
|
|
|
|
+ <el-input-number style="margin-left: 10px" v-model="detachedLobbyEquipment" controls-position="right"
|
|
|
|
|
+ @change="handleChange" :min="1" :max="10"></el-input-number>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <span style="margin-left: 50px">离行式穿墙设备</span>
|
|
|
|
|
+ <div style="display: inline-block; width: 200px">
|
|
|
|
|
+ <el-input-number style="margin-left: 10px" v-model="detachedWallPenetratingEquipment" controls-position="right"
|
|
|
|
|
+ @change="handleChange" :min="1" :max="10"></el-input-number>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="info-box">
|
|
|
|
|
+ <el-button style="margin-bottom: 20px" type="primary" plain icon="el-icon-plus" size="mini" @click="handledetachedAdd"
|
|
|
|
|
+ v-hasPermi="['system:detachedPhysicalDefenseConstruction:add']">新增</el-button>
|
|
|
|
|
+ <el-table border size="small" v-loading="detachedloading" :data="detachedPhysicalDefenseConstructionList"
|
|
|
|
|
+ @selection-change="handledetachedSelectionChange">
|
|
|
|
|
+ <el-table-column type="selection" width="55" v-if="false" align="center" />
|
|
|
|
|
+ <el-table-column type="index" label="序号" align="center" prop="id" />
|
|
|
|
|
+ <el-table-column label="标准" align="center" prop="standard" />
|
|
|
|
|
+ <el-table-column label="达标日期" align="center" prop="dateOfCompliance" width="180">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <span>{{ formatTime(scope.row.dateOfCompliance,"YYYY-MM-DD") }}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column label="证书佐证" align="center" prop="certificateEvidence">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <span v-if="scope.row.certificateEvidence > 0">是</span>
|
|
|
|
|
+ <span v-else>否</span>
|
|
|
|
|
+ </template></el-table-column>
|
|
|
|
|
+ <!-- <el-table-column label="证书" align="center" prop="certificate" />
|
|
|
|
|
+ <el-table-column label="佐证" align="center" prop="evidence" /> -->
|
|
|
|
|
+ <el-table-column v-if="false" label="机构id" align="center" prop="orgId" />
|
|
|
|
|
+ <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <el-button size="mini" type="text" icon="el-icon-edit" @click="handledetachedUpdate(scope.row)"
|
|
|
|
|
+ v-hasPermi="['system:construction:edit']">查看证书</el-button>
|
|
|
|
|
+ <el-button size="mini" type="text" icon="el-icon-edit" @click="handledetachedUpdate(scope.row)"
|
|
|
|
|
+ v-hasPermi="['system:detachedPhysicalDefenseConstruction:edit']">修改</el-button>
|
|
|
|
|
+ <el-button size="mini" type="text" icon="el-icon-delete" @click="handledetachedDelete(scope.row)"
|
|
|
|
|
+ v-hasPermi="['system:detachedPhysicalDefenseConstruction:remove']">删除</el-button>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ </el-table>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div style="margin-top: 50px; margin-left: 42%">
|
|
<div style="margin-top: 50px; margin-left: 42%">
|
|
@@ -319,7 +368,7 @@
|
|
|
<el-input v-if="false" v-model="Bankform.certificate" placeholder="请输入证书" />
|
|
<el-input v-if="false" v-model="Bankform.certificate" placeholder="请输入证书" />
|
|
|
<div class="image-container" style="margin-left: 20px">
|
|
<div class="image-container" style="margin-left: 20px">
|
|
|
<p style="font-size: 12px; color: #999">上传证书</p>
|
|
<p style="font-size: 12px; color: #999">上传证书</p>
|
|
|
- <image-upload :limit="1" :fileSize="2"></image-upload>
|
|
|
|
|
|
|
+ <image-upload :limit="1" :fileSize="2" @input="uploadSuccess"></image-upload>
|
|
|
|
|
|
|
|
<!-- <el-image class="zoom-image border-color-change" :src="uploadp" fit="contain" @click="triggerFileInput"></el-image>-->
|
|
<!-- <el-image class="zoom-image border-color-change" :src="uploadp" fit="contain" @click="triggerFileInput"></el-image>-->
|
|
|
<!-- <input type="file"-->
|
|
<!-- <input type="file"-->
|
|
@@ -458,6 +507,10 @@ export default {
|
|
|
platformSupplierBrand: null,
|
|
platformSupplierBrand: null,
|
|
|
constructionTime: null,
|
|
constructionTime: null,
|
|
|
lastUpdateTime: null,
|
|
lastUpdateTime: null,
|
|
|
|
|
+ detachedLobbyEquipment:null,
|
|
|
|
|
+ detachedWallPenetratingEquipment:null,
|
|
|
|
|
+ cashAddingRoomRemoteControl:null,
|
|
|
|
|
+ source:null,
|
|
|
//机构建设数据
|
|
//机构建设数据
|
|
|
|
|
|
|
|
// 遮罩层
|
|
// 遮罩层
|
|
@@ -480,17 +533,22 @@ export default {
|
|
|
constructionList: [],
|
|
constructionList: [],
|
|
|
// 银行物防建设表格数据
|
|
// 银行物防建设表格数据
|
|
|
BankPhysicalDefenseConstructionList: [],
|
|
BankPhysicalDefenseConstructionList: [],
|
|
|
|
|
+ detachedPhysicalDefenseConstructionList: [],
|
|
|
BusinessPhysicalDefenseConstructionList: [],
|
|
BusinessPhysicalDefenseConstructionList: [],
|
|
|
// 弹出层标题
|
|
// 弹出层标题
|
|
|
orgtitle: "",
|
|
orgtitle: "",
|
|
|
Businesstitle: "",
|
|
Businesstitle: "",
|
|
|
// 弹出层标题
|
|
// 弹出层标题
|
|
|
Banktitle: "",
|
|
Banktitle: "",
|
|
|
|
|
+ detachedtitle: "",
|
|
|
|
|
+ detachedloading:false,
|
|
|
// 是否显示弹出层
|
|
// 是否显示弹出层
|
|
|
Bankopen: false,
|
|
Bankopen: false,
|
|
|
Businessopen: false,
|
|
Businessopen: false,
|
|
|
|
|
+ detachedopen: false,
|
|
|
// 表单参数
|
|
// 表单参数
|
|
|
Bankform: {},
|
|
Bankform: {},
|
|
|
|
|
+ detachedform: {},
|
|
|
Businessform: {},
|
|
Businessform: {},
|
|
|
// 是否显示弹出层
|
|
// 是否显示弹出层
|
|
|
Businessopen: false,
|
|
Businessopen: false,
|
|
@@ -541,9 +599,13 @@ export default {
|
|
|
this.getOrgPhysicalDefenseConstructionInfo();
|
|
this.getOrgPhysicalDefenseConstructionInfo();
|
|
|
this.getBankPhysicalDefenseConstructionInfo();
|
|
this.getBankPhysicalDefenseConstructionInfo();
|
|
|
this.getBusinessPhysicalDefenseConstructionInfo();
|
|
this.getBusinessPhysicalDefenseConstructionInfo();
|
|
|
|
|
+ this.getdetachedPhysicalDefenseConstructionInfo();
|
|
|
},
|
|
},
|
|
|
mounted() { },
|
|
mounted() { },
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ uploadSuccess(fileList){
|
|
|
|
|
+ console.log(fileList,1111111111111)
|
|
|
|
|
+ },
|
|
|
handleInput() {
|
|
handleInput() {
|
|
|
// 使用正则表达式过滤输入,只保留数字和小数点
|
|
// 使用正则表达式过滤输入,只保留数字和小数点
|
|
|
this.premisesArea = this.premisesArea.replace(/[^0-9.]/g, '');
|
|
this.premisesArea = this.premisesArea.replace(/[^0-9.]/g, '');
|
|
@@ -566,7 +628,7 @@ export default {
|
|
|
});
|
|
});
|
|
|
this.type = data.data.type;
|
|
this.type = data.data.type;
|
|
|
this.isLock = data.data.isLock;
|
|
this.isLock = data.data.isLock;
|
|
|
-
|
|
|
|
|
|
|
+this.source=data.data.source;
|
|
|
// console.log(this.dataInfo, "info");
|
|
// console.log(this.dataInfo, "info");
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
@@ -592,6 +654,9 @@ export default {
|
|
|
this.platformSupplierBrand = data.data.platformSupplierBrand;
|
|
this.platformSupplierBrand = data.data.platformSupplierBrand;
|
|
|
this.businessLibraryType=data.data.businessLibraryType;
|
|
this.businessLibraryType=data.data.businessLibraryType;
|
|
|
this.dutyMode=data.data.dutyMode;
|
|
this.dutyMode=data.data.dutyMode;
|
|
|
|
|
+ this.detachedLobbyEquipment=data.data.detachedLobbyEquipment;
|
|
|
|
|
+ this.detachedWallPenetratingEquipment=data.data.detachedWallPenetratingEquipment;
|
|
|
|
|
+ this.cashAddingRoomRemoteControl=data.data.cashAddingRoomRemoteControl;
|
|
|
// console.log(this.extendId);
|
|
// console.log(this.extendId);
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
@@ -617,6 +682,15 @@ export default {
|
|
|
this.bankloading = false;
|
|
this.bankloading = false;
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
|
|
+ getdetachedPhysicalDefenseConstructionInfo() {
|
|
|
|
|
+ this.detachedloading = true;
|
|
|
|
|
+ let dat = { orgId: this.$route.params.id, type: 4 };
|
|
|
|
|
+ listOrgPhysicalDefenseConstruction(dat).then((data) => {
|
|
|
|
|
+ // console.log(data);
|
|
|
|
|
+ this.detachedPhysicalDefenseConstructionList = data.rows;
|
|
|
|
|
+ this.detachedloading = false;
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
getBusinessPhysicalDefenseConstructionInfo() {
|
|
getBusinessPhysicalDefenseConstructionInfo() {
|
|
|
this.businessloading = true;
|
|
this.businessloading = true;
|
|
|
let dat = { orgId: this.$route.params.id, type: 2 };
|
|
let dat = { orgId: this.$route.params.id, type: 2 };
|
|
@@ -817,6 +891,106 @@ export default {
|
|
|
})
|
|
})
|
|
|
.catch(() => { });
|
|
.catch(() => { });
|
|
|
},
|
|
},
|
|
|
|
|
+
|
|
|
|
|
+ // 取消按钮
|
|
|
|
|
+ detachedcancel() {
|
|
|
|
|
+ this.detachedopen = false;
|
|
|
|
|
+ this.detachedreset();
|
|
|
|
|
+ },
|
|
|
|
|
+ // 表单重置
|
|
|
|
|
+ detachedreset() {
|
|
|
|
|
+ this.detachedform = {
|
|
|
|
|
+ id: null,
|
|
|
|
|
+ standard: null,
|
|
|
|
|
+ dateOfCompliance: null,
|
|
|
|
|
+ certificateEvidence: null,
|
|
|
|
|
+ certificate: null,
|
|
|
|
|
+ evidence: null,
|
|
|
|
|
+ createTime: null,
|
|
|
|
|
+ updateTime: null,
|
|
|
|
|
+ createBy: null,
|
|
|
|
|
+ updateBy: null,
|
|
|
|
|
+ orgId: null,
|
|
|
|
|
+ };
|
|
|
|
|
+ this.resetForm("detachedform");
|
|
|
|
|
+ },
|
|
|
|
|
+ // 多选框选中数据
|
|
|
|
|
+ handledetachedSelectionChange(selection) {
|
|
|
|
|
+ this.detachedids = selection.map((item) => item.id);
|
|
|
|
|
+ this.single = selection.length !== 1;
|
|
|
|
|
+ this.multiple = !selection.length;
|
|
|
|
|
+ },
|
|
|
|
|
+ /** 新增按钮操作 */
|
|
|
|
|
+ handledetachedAdd() {
|
|
|
|
|
+ this.detachedreset();
|
|
|
|
|
+ this.detachedopen = true;
|
|
|
|
|
+ this.detachedtitle = "添加银行物防建设";
|
|
|
|
|
+ },
|
|
|
|
|
+ /** 修改按钮操作 */
|
|
|
|
|
+ handledetachedUpdate(row) {
|
|
|
|
|
+ this.detachedreset();
|
|
|
|
|
+ const id = row.id || this.detachedids;
|
|
|
|
|
+ getOrgPhysicalDefenseConstruction(id).then((response) => {
|
|
|
|
|
+ this.detachedform = response.data;
|
|
|
|
|
+ this.detachedopen = true;
|
|
|
|
|
+ this.detachedtitle = "修改银行物防建设";
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
|
|
+ /** 提交按钮 */
|
|
|
|
|
+ submitdetachedForm() {
|
|
|
|
|
+ this.$refs.detachedform.validate((valid) => {
|
|
|
|
|
+ if (valid) {
|
|
|
|
|
+ // 表单验证通过,提交数据或执行其他操作
|
|
|
|
|
+ this.detachedform.orgId = this.$route.params.id;
|
|
|
|
|
+ this.detachedform.type = 3;
|
|
|
|
|
+ if (this.detachedform.id != null) {
|
|
|
|
|
+ updateOrgPhysicalDefenseConstruction(this.detachedform).then(
|
|
|
|
|
+ (response) => {
|
|
|
|
|
+ this.$modal.msgSuccess("修改成功");
|
|
|
|
|
+ this.detachedopen = false;
|
|
|
|
|
+ this.getdetachedPhysicalDefenseConstructionInfo();
|
|
|
|
|
+ }
|
|
|
|
|
+ );
|
|
|
|
|
+ } else {
|
|
|
|
|
+ addOrgPhysicalDefenseConstruction(this.detachedform).then(
|
|
|
|
|
+ (response) => {
|
|
|
|
|
+ this.$modal.msgSuccess("新增成功");
|
|
|
|
|
+ this.detachedopen = false;
|
|
|
|
|
+ this.getdetachedPhysicalDefenseConstructionInfo();
|
|
|
|
|
+ }
|
|
|
|
|
+ );
|
|
|
|
|
+ }
|
|
|
|
|
+ } else {
|
|
|
|
|
+ // 表单验证未通过,显示错误信息
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ // this.$refs["detachedform"].validate((valid) => {
|
|
|
|
|
+ // if (valid) {
|
|
|
|
|
+
|
|
|
|
|
+ // }
|
|
|
|
|
+ // });
|
|
|
|
|
+ },
|
|
|
|
|
+ /** 删除按钮操作 */
|
|
|
|
|
+ handledetachedDelete(row) {
|
|
|
|
|
+ const detachedids = row.id || this.detachedids;
|
|
|
|
|
+ this.$modal
|
|
|
|
|
+ .confirm('是否确认删除银行物防建设编号为"' + detachedids + '"的数据项?')
|
|
|
|
|
+ .then(function () {
|
|
|
|
|
+ return delOrgPhysicalDefenseConstruction(detachedids);
|
|
|
|
|
+ })
|
|
|
|
|
+ .then(() => {
|
|
|
|
|
+ this.getdetachedPhysicalDefenseConstructionInfo();
|
|
|
|
|
+ this.$modal.msgSuccess("删除成功");
|
|
|
|
|
+ })
|
|
|
|
|
+ .catch(() => { });
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
// 表单重置
|
|
// 表单重置
|
|
|
orgreset() {
|
|
orgreset() {
|
|
|
this.orgform = {
|
|
this.orgform = {
|
|
@@ -930,6 +1104,9 @@ export default {
|
|
|
lastUpdateTime: this.lastUpdateTime,
|
|
lastUpdateTime: this.lastUpdateTime,
|
|
|
orgId: this.$route.params.id,
|
|
orgId: this.$route.params.id,
|
|
|
id: this.extendId,
|
|
id: this.extendId,
|
|
|
|
|
+ detachedLobbyEquipment:this.detachedLobbyEquipment,
|
|
|
|
|
+ detachedWallPenetratingEquipment:this.detachedWallPenetratingEquipment,
|
|
|
|
|
+ cashAddingRoomRemoteControl:this.cashAddingRoomRemoteControl,
|
|
|
};
|
|
};
|
|
|
// console.log(dat);
|
|
// console.log(dat);
|
|
|
if (this.extendId) {
|
|
if (this.extendId) {
|