|
|
@@ -841,7 +841,7 @@ export default {
|
|
|
versionList: [],
|
|
|
versionMode: false,
|
|
|
versionColumns: [
|
|
|
- { prop: 'version', label: '版本号', align: 'center' },
|
|
|
+ { prop: 'version', label: '版本号', align: 'center', formatter: (_row, _column, cellValue) => `V${cellValue || 1}.0` },
|
|
|
{ prop: 'createTime', label: '修改时间', align: 'center' },
|
|
|
{ prop: 'approvalStatus', label: '审批状态', align: 'center' },
|
|
|
{ action: 'action', slot: 'action', label: '操作', align: 'center' }
|
|
|
@@ -1539,7 +1539,7 @@ export default {
|
|
|
},
|
|
|
async openSnapshot(data, version) {
|
|
|
this.versionMode = true;
|
|
|
- this.title = `客户历史版本 ${version}`;
|
|
|
+ this.title = `客户历史版本 V${version || 1}.0`;
|
|
|
this.visible = true;
|
|
|
await this._applyData(data);
|
|
|
},
|
|
|
@@ -1551,7 +1551,7 @@ export default {
|
|
|
async openVersion(version) {
|
|
|
const data = await contactVersionDetail(this.form.id, version.version);
|
|
|
this.visible = true;
|
|
|
- this.title = `客户历史版本 ${version.version}`;
|
|
|
+ this.title = `客户历史版本 V${version.version || 1}.0`;
|
|
|
await this._applyData(data);
|
|
|
this.activeName = 'base';
|
|
|
},
|