Browse Source

Merge branch 'dev' of http://git.elinkit.com.cn:7070/r/epmet-oper into dev_init

dev
zhaoqifeng 3 years ago
parent
commit
a9a4f08b57
  1. 19719
      epmet-oper-web/package-lock.json
  2. 6
      epmet-oper-web/src/js/columns/customer/manage/customer.js
  3. 32
      epmet-oper-web/src/views/modules/customer/manage/CustomerList.vue

19719
epmet-oper-web/package-lock.json

File diff suppressed because it is too large

6
epmet-oper-web/src/js/columns/customer/manage/customer.js

@ -59,14 +59,14 @@ export default {
cityKey: 'city', cityKey: 'city',
countyKey: 'county', countyKey: 'county',
format: 'address', format: 'address',
width: 150 width: 120
}, },
{ {
key: 'gridNumber', key: 'gridNumber',
title: '网格数', title: '网格数',
display: ['table', 'model'], display: ['table', 'model'],
block: true, block: true,
width: 60 width: 40
}, },
{ {
key: 'validityTime', key: 'validityTime',
@ -88,7 +88,7 @@ export default {
} }
], ],
block: true, block: true,
width: 60 width: 40
}, },
{ {
key: 'rootManagePhone', key: 'rootManagePhone',

32
epmet-oper-web/src/views/modules/customer/manage/CustomerList.vue

@ -26,7 +26,8 @@
:tableHeight="tableHeight" :tableHeight="tableHeight"
:operationWidth="80" :operationWidth="80"
@config="config" @config="config"
@edit="edit"> @edit="edit"
@init="init">
</c-table> </c-table>
</div> </div>
</el-card> </el-card>
@ -79,6 +80,18 @@ export default {
isShow: (row) => { isShow: (row) => {
return true return true
} }
},
{
lable: '数字社区初始化', //
size: 'mini',
style: 'margin: 0 6px;',
type: 'text',
slot: '',
plain: false,
methodName: 'init', //
isShow: (row) => {
return true
}
} }
], ],
@ -118,6 +131,23 @@ export default {
this.$refs['ref_edit_form'].initData(row) this.$refs['ref_edit_form'].initData(row)
}, },
//
init (row) {
let params = {
customerId: row.customerId,
areaCode: row.rootAgencyAreaCode,
}
this.$http.get(`/oper/customize/icform/initCustomerForm/resi_base_info/`, {params: params}).then(({ data: res }) => {
if (res.code === 0) {
return this.$message.info(res.data)
} else {
return this.$message.error(res.internalMsg)
}
})
},
// //
config (row) { config (row) {
this.$refs['ref_config_form'].initData(row) this.$refs['ref_config_form'].initData(row)

Loading…
Cancel
Save