|
|
@@ -583,8 +583,8 @@
|
|
|
</a-col>
|
|
|
|
|
|
|
|
|
- <div style="height: 80px;"></div>
|
|
|
- <a-table :columns="columns2" :data-source="dataRisk" bordered >
|
|
|
+
|
|
|
+ <a-table :columns="columns2" :data-source="dataRisk" bordered v-if="showDataLog" >
|
|
|
<template #bodyCell="{ column, text }">
|
|
|
<template v-if="column.dataIndex === 'name'">
|
|
|
<a>{{ text }}</a>
|
|
|
@@ -602,7 +602,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
+
|
|
|
</div>
|
|
|
+ <a-col :span="24" v-if="showDataLog">
|
|
|
+ <div >
|
|
|
+ <h1 style="text-align:center;color: #2eabff">修改记录</h1>
|
|
|
+ </div>
|
|
|
+ </a-col>
|
|
|
+ <a-table :columns="columns3" :data-source="dataLog" bordered v-if="showDataLog" >
|
|
|
+ <template #bodyCell="{ column, text }">
|
|
|
+ <template v-if="column.dataIndex === 'name'">
|
|
|
+ <a>{{ text }}</a>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </a-table>
|
|
|
</a-form-model>
|
|
|
|
|
|
</div>
|
|
|
@@ -814,7 +828,32 @@ export default {
|
|
|
scopedSlots: {customRender: 'text'}
|
|
|
}
|
|
|
],
|
|
|
+ //在详情中后期处理carf增加变更日志(默认不站开) 第一行创建人等 第二行 修改人 修改时间 修改人区局 修改人营业厅
|
|
|
+ columns3:[
|
|
|
+ {
|
|
|
+ title: '创建人',
|
|
|
+ dataIndex: 'createBy',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '修改人',
|
|
|
+ dataIndex: 'updateBy'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '修改时间',
|
|
|
+ dataIndex: 'updateTime'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '修改人区局',
|
|
|
+ dataIndex: 'sysCompany'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '修改人营业厅',
|
|
|
+ dataIndex: 'sysBusinessHall'
|
|
|
+ }
|
|
|
+ ],
|
|
|
dataRisk:[],
|
|
|
+ dataLog:[],
|
|
|
+ showDataLog:true,
|
|
|
open:false,
|
|
|
disabledList:[],
|
|
|
fetching: false,
|
|
|
@@ -914,6 +953,7 @@ export default {
|
|
|
"queryById": "/businessReminderCard/queryById",
|
|
|
"queryByCardNo": "/businessReminderCard/queryByCardNo",
|
|
|
"getCompany": "/sysCompany/list",
|
|
|
+ "getLog": "/businessReminderCard/getBusinessReminderCardLogs",
|
|
|
},
|
|
|
|
|
|
labelCol: {span: 2},
|
|
|
@@ -2218,6 +2258,19 @@ export default {
|
|
|
}
|
|
|
|
|
|
this.keyupInfo('update');
|
|
|
+
|
|
|
+ //查询日志
|
|
|
+ let data = {
|
|
|
+ "businessReminderCardId": this.model.id
|
|
|
+ };
|
|
|
+ getAction(this.url.getLog, data).then((res) => {
|
|
|
+ if (res.success) {
|
|
|
+ this.dataLog=res.result
|
|
|
+ if (this.dataLog.length===0){
|
|
|
+ this.showDataLog=false
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
this.change(this.model.company)
|
|
|
},
|
|
|
|