|
|
|
@ -79,8 +79,8 @@
|
|
|
|
|
:align="item.align"
|
|
|
|
|
v-if="item.title != '租户'"
|
|
|
|
|
>
|
|
|
|
|
<template #default="{ row }" v-if="item.title == '类型'">
|
|
|
|
|
<span>{{ FnTurnD(row.typeCode) }}</span>
|
|
|
|
|
<template #default="{ row }" v-if="item.title == '租户参数类别'">
|
|
|
|
|
<span>{{ FnTurnD(row.paraCode) }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</vxe-column>
|
|
|
|
|
<vxe-column title="操作" fixed="right" width="200" align="center">
|
|
|
|
@ -119,6 +119,7 @@
|
|
|
|
|
import {
|
|
|
|
|
DJYTenantParamGetParamValue,
|
|
|
|
|
SysTenantPage,
|
|
|
|
|
DJYTenantParamGet,
|
|
|
|
|
DJYTenantParamDeleteParamValue
|
|
|
|
|
} from '@/api/modular/main/DJYTenantParam'
|
|
|
|
|
import { sysDictDataPage } from '@/api/modular/system/dictDataManage'
|
|
|
|
@ -159,10 +160,10 @@ export default {
|
|
|
|
|
dataIndex: 'paraCode'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '租户参数名称',
|
|
|
|
|
title: '租户参数代码',
|
|
|
|
|
align: 'center',
|
|
|
|
|
width: '80',
|
|
|
|
|
dataIndex: 'itemName'
|
|
|
|
|
dataIndex: 'itemCode'
|
|
|
|
|
},
|
|
|
|
|
// itemCode
|
|
|
|
|
{
|
|
|
|
@ -181,8 +182,8 @@ export default {
|
|
|
|
|
created() {},
|
|
|
|
|
mounted() {
|
|
|
|
|
this.init()
|
|
|
|
|
sysDictDataPage({ pageNo: 1, pageSize: 999, typeId: '349716496130117' }).then(res => {
|
|
|
|
|
this.TypeData = res.data.rows
|
|
|
|
|
DJYTenantParamGet({ pageNo: 1, pageSize: 999 }).then(res => {
|
|
|
|
|
this.TypeData = res.data
|
|
|
|
|
console.log(this.TypeData)
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
@ -195,10 +196,11 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
FnTurnD(data) {
|
|
|
|
|
console.log(data)
|
|
|
|
|
let Rdata = ''
|
|
|
|
|
this.TypeData.forEach(item => {
|
|
|
|
|
if (item.code == data) {
|
|
|
|
|
Rdata = item.value
|
|
|
|
|
if (item.paraCode == data) {
|
|
|
|
|
Rdata = item.paraName
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
return Rdata
|
|
|
|
|