|
@@ -1,6 +1,6 @@
|
|
<template>
|
|
<template>
|
|
<el-dialog v-dialogDrag :visible.sync="previousDetailDlg" @close="handleClose" :modal-append-to-body="false" center title="维持套餐">
|
|
<el-dialog v-dialogDrag :visible.sync="previousDetailDlg" @close="handleClose" :modal-append-to-body="false" center title="维持套餐">
|
|
- <p>上一份合同信息</p>
|
|
|
|
|
|
+ <p>上一年合同信息</p>
|
|
<el-table :data="dataList" border max-height="250" style="margin: 20px 0">
|
|
<el-table :data="dataList" border max-height="250" style="margin: 20px 0">
|
|
<el-table-column label="合同期限" prop="StartDate" align="center" width="220">
|
|
<el-table-column label="合同期限" prop="StartDate" align="center" width="220">
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
@@ -43,12 +43,14 @@ export default {
|
|
},
|
|
},
|
|
async getrenewalReasonList() {
|
|
async getrenewalReasonList() {
|
|
console.log(this.rowInfo);
|
|
console.log(this.rowInfo);
|
|
- const res = await dataMainInterface.mergeCompanyPreviousDetail({
|
|
|
|
|
|
+ const res = await dataMainInterface.mergeCompanyPreviousDetailYear({
|
|
CompanyContractId: this.rowInfo.CompanyContractId,
|
|
CompanyContractId: this.rowInfo.CompanyContractId,
|
|
});
|
|
});
|
|
if (res.Ret == 200) {
|
|
if (res.Ret == 200) {
|
|
- this.dataList = [res.Data.Detail];
|
|
|
|
- console.log(this.dataList);
|
|
|
|
|
|
+
|
|
|
|
+ this.dataList = res.Data.List || []
|
|
|
|
+
|
|
|
|
+ // console.log(this.dataList);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
},
|
|
},
|