|
|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div class="app-container">
|
|
|
- <h3 class="title"><i class="el-icon-collection-tag"></i>同步信息</h3>
|
|
|
+ <h3 class="title"><i class="el-icon-collection-tag"></i> 同步信息</h3>
|
|
|
<div class="info-box">
|
|
|
<el-descriptions>
|
|
|
<el-descriptions-item
|
|
|
@@ -52,7 +52,7 @@
|
|
|
<el-table-column type="index" label="序号" align="center" prop="id" />
|
|
|
<el-table-column label="机构类型" align="center" prop="type">
|
|
|
<template slot-scope="r"
|
|
|
- >{{ getLabel(dict.type.sys_org_type, `${r.row.type}`) }}
|
|
|
+ >{{ getLabels(`${r.row.type}`) }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="标准" align="center" prop="standard">
|
|
|
@@ -339,7 +339,7 @@
|
|
|
<el-col :span="6">
|
|
|
<el-form-item
|
|
|
label="大堂设备"
|
|
|
- v-if="(type == 4) & (selfServiceBank > 0)"
|
|
|
+ v-if="(type == 4)"
|
|
|
>
|
|
|
<el-input-number
|
|
|
v-model="lobbyEquipment"
|
|
|
@@ -353,7 +353,7 @@
|
|
|
<el-col :span="6">
|
|
|
<el-form-item
|
|
|
label="穿墙设备"
|
|
|
- v-if="(type == 4) & (selfServiceBank > 0)"
|
|
|
+ v-if="(type == 4)"
|
|
|
>
|
|
|
<el-input-number
|
|
|
v-model="wallPenetratingEquipment"
|
|
|
@@ -410,7 +410,7 @@
|
|
|
width="500px"
|
|
|
append-to-body
|
|
|
>
|
|
|
- <el-form ref="orgform" :model="orgform" label-width="80px" :rules="rules">
|
|
|
+ <el-form ref="orgform" :model="orgform" label-width="100px" :rules="rules">
|
|
|
<el-form-item label="机构类型" prop="type">
|
|
|
<!-- <el-input v-model="orgform.standard" placeholder="请输入标准" /> -->
|
|
|
<el-select
|
|
|
@@ -421,8 +421,7 @@
|
|
|
clearable
|
|
|
>
|
|
|
<el-option
|
|
|
- v-for="dict in dict.type.sys_org_type"
|
|
|
- v-if="dict.value == 4 || dict.value == 5 || dict.value == 10"
|
|
|
+ v-for="dict in orgTypes"
|
|
|
:key="dict.value"
|
|
|
:label="dict.label"
|
|
|
:value="dict.value"
|
|
|
@@ -430,8 +429,7 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
|
|
|
- <el-form-item label="标准" prop="standard">
|
|
|
- <!-- <el-input v-model="orgform.standard" placeholder="请输入标准" /> -->
|
|
|
+ <el-form-item label="GA38标准" prop="standard">
|
|
|
<el-select
|
|
|
prop="planType"
|
|
|
label="标准"
|
|
|
@@ -472,7 +470,7 @@
|
|
|
placeholder="请输入证书"
|
|
|
/> -->
|
|
|
<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="5"
|
|
|
:fileSize="2"
|
|
|
@@ -587,6 +585,7 @@ export default {
|
|
|
//基础信息key
|
|
|
infoKeys: [
|
|
|
{ label: "机构名称", key: "name" },
|
|
|
+ { label: "机构简称", key: "shortName" },
|
|
|
// { label: "机构组织类型", key: "type" },
|
|
|
// { label: "部门机构电话", key: "phone" },
|
|
|
{ label: "机构地址", key: "address" },
|
|
|
@@ -594,7 +593,7 @@ export default {
|
|
|
// { label: "是否可用", key: "isLock" },
|
|
|
{ label: "更新时间", key: "updateTime" },
|
|
|
{ label: "同步时间", key: "createTime" },
|
|
|
- { label: "机构简称", key: "shortName" },
|
|
|
+
|
|
|
],
|
|
|
|
|
|
type: null,
|
|
|
@@ -676,10 +675,11 @@ export default {
|
|
|
uploadp: uploadpng,
|
|
|
uplp: uplpng,
|
|
|
//下拉框生成信息
|
|
|
- orgTypes: {
|
|
|
- orgTyp1: { label: "营业网点", value: 0 },
|
|
|
- orgTyp2: { label: "监控中心", value: 1 },
|
|
|
- },
|
|
|
+ orgTypes: [
|
|
|
+ { label: "营业网点", value: 0 },
|
|
|
+ { label: "网点业务库", value: 1 },
|
|
|
+ { label: "在行式自助银行", value: 2 },
|
|
|
+ ],
|
|
|
businessLibraryTypes: {
|
|
|
businessLibraryTyp1: { label: "1类业务库", value: 1 },
|
|
|
businessLibraryTyp2: { label: "2类业务库", value: 2 },
|
|
|
@@ -758,6 +758,13 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
computed: {
|
|
|
+ getLabels() {
|
|
|
+ return function(value) {
|
|
|
+ const option = this.orgTypes.filter(item => item.value == value);
|
|
|
+ // console.log(option[0].label,"option")
|
|
|
+ return option ? option[0].label : '';
|
|
|
+ }
|
|
|
+ },
|
|
|
switchModel: {
|
|
|
get() {
|
|
|
return this.switchValue === 1; // 将0转换为false,1转换为true
|