|
@@ -97,7 +97,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="tabs-box" v-if="filterObj.data_type == '续约客户'">
|
|
|
|
|
|
+ <div class="tabs-box">
|
|
<div class="tabs-box-confirm">
|
|
<div class="tabs-box-confirm">
|
|
<div style="margin-bottom: 0px" class="tabs-box-confirm" v-for="(item, index) in packageTypeList" :key="item">
|
|
<div style="margin-bottom: 0px" class="tabs-box-confirm" v-for="(item, index) in packageTypeList" :key="item">
|
|
<div :class="['confirm-box-li', PackageDifference == item && 'active']" @click="notPackageDifferenceChange(item)">{{ item }}</div>
|
|
<div :class="['confirm-box-li', PackageDifference == item && 'active']" @click="notPackageDifferenceChange(item)">{{ item }}</div>
|
|
@@ -133,9 +133,10 @@
|
|
<span v-if="scope.row[item.key] || scope.row.RenewalTodo" style="color: #409eff; cursor: pointer" @click="renewalReasonMore(scope.row)"> 更多>></span>
|
|
<span v-if="scope.row[item.key] || scope.row.RenewalTodo" style="color: #409eff; cursor: pointer" @click="renewalReasonMore(scope.row)"> 更多>></span>
|
|
</span>
|
|
</span>
|
|
<div v-else-if="item.key == 'CompanyName'" style="padding: 4px 0">
|
|
<div v-else-if="item.key == 'CompanyName'" style="padding: 4px 0">
|
|
- <span :style="item.textsty" @click="jumpHandle(scope.row, item)">
|
|
|
|
- {{ scope.row[item.key] }}
|
|
|
|
- </span>
|
|
|
|
|
|
+ <el-tooltip effect="dark" placement="top-start" content="过去4周,kp均未覆盖服务" v-if="scope.row.IsUserMaker">
|
|
|
|
+ <span class="deletesty" @click="jumpHandle(scope.row, item)">{{ scope.row[item.key] }}</span>
|
|
|
|
+ </el-tooltip>
|
|
|
|
+ <span v-else class="editsty" @click="jumpHandle(scope.row, item)">{{ scope.row[item.key] }}</span>
|
|
<div class="package-difference" v-if="scope.row.PackageDifference && filterObj.data_type == '续约客户'" @click="previousDetailHadler(scope.row)">
|
|
<div class="package-difference" v-if="scope.row.PackageDifference && filterObj.data_type == '续约客户'" @click="previousDetailHadler(scope.row)">
|
|
{{ scope.row.PackageDifference }}
|
|
{{ scope.row.PackageDifference }}
|
|
</div>
|
|
</div>
|
|
@@ -170,12 +171,15 @@
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</template>
|
|
</template>
|
|
- <el-table-column label="操作" width="180px" align="center" v-if="canConfirmNotRenewed && !isNotRenewedConfirm && filterObj.data_type == '未续约客户'">
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
|
+ <el-table-column label="操作" width="180px" align="center">
|
|
|
|
+ <template slot-scope="scope" v-if="canConfirmNotRenewed && !isNotRenewedConfirm && filterObj.data_type == '未续约客户'">
|
|
<div class="operation-row">
|
|
<div class="operation-row">
|
|
<span class="operation-button" @click="confirmedNoRenewalFun(scope.row)">确认不续约</span>
|
|
<span class="operation-button" @click="confirmedNoRenewalFun(scope.row)">确认不续约</span>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
+ <template slot-scope="{ row }" v-if="isRoleType == 'admin' || isRoleType == '权益'">
|
|
|
|
+ <span @click="historicalNotesClickHandler(row)" class="editsty">历史备注</span>
|
|
|
|
+ </template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<div slot="empty" style="line-height: 44px; margin: 60px 0; color: #999">
|
|
<div slot="empty" style="line-height: 44px; margin: 60px 0; color: #999">
|
|
<img src="~@/assets/img/cus_m/nodata.png" alt="" style="display: block; width: 160px; height: 128px; margin: auto" />
|
|
<img src="~@/assets/img/cus_m/nodata.png" alt="" style="display: block; width: 160px; height: 128px; margin: auto" />
|
|
@@ -203,6 +207,7 @@
|
|
/>
|
|
/>
|
|
<previous-detail :previousDetailDlg.sync="previousDetailDlg" :rowInfo="rowInfo" />
|
|
<previous-detail :previousDetailDlg.sync="previousDetailDlg" :rowInfo="rowInfo" />
|
|
<RenewalRateDetail :showRenewalRateDetailDlg.sync="showRenewalRateDetailDlg" :renewalRateDetailForm.sync="renewalRateDetailForm" :noRenewalReasonListSon="noRenewalReasonList" />
|
|
<RenewalRateDetail :showRenewalRateDetailDlg.sync="showRenewalRateDetailDlg" :renewalRateDetailForm.sync="renewalRateDetailForm" :noRenewalReasonListSon="noRenewalReasonList" />
|
|
|
|
+ <historical-notes-dlg :historicalNotesDlgVisible.sync="historicalNotesDlgVisible" :CompanyId.sync="historicalNotesId" />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -216,11 +221,13 @@ import viewRemark from "./components/noRenewalReasonDia/viewRemark.vue";
|
|
import confirmedNoRenewal from "./components/noRenewalReasonDia/confirmedNoRenewal.vue";
|
|
import confirmedNoRenewal from "./components/noRenewalReasonDia/confirmedNoRenewal.vue";
|
|
import PreviousDetail from "./components/previousDetail.vue";
|
|
import PreviousDetail from "./components/previousDetail.vue";
|
|
import RenewalRateDetail from "./components/renewalRateDetail.vue";
|
|
import RenewalRateDetail from "./components/renewalRateDetail.vue";
|
|
|
|
+import HistoricalNotesDlg from "@/components/historicalNotesDlg.vue";
|
|
|
|
+
|
|
var moment = require("moment");
|
|
var moment = require("moment");
|
|
moment().format();
|
|
moment().format();
|
|
export default {
|
|
export default {
|
|
name: "",
|
|
name: "",
|
|
- components: { mPage, renewalListDia, addRemark, viewRemark, confirmedNoRenewal, PreviousDetail, RenewalRateDetail },
|
|
|
|
|
|
+ components: { mPage, renewalListDia, addRemark, viewRemark, confirmedNoRenewal, PreviousDetail, RenewalRateDetail, HistoricalNotesDlg },
|
|
computed: {
|
|
computed: {
|
|
exportExcel() {
|
|
exportExcel() {
|
|
let baseUrl = process.env.API_ROOT + "/statistic_report/merge_company_list";
|
|
let baseUrl = process.env.API_ROOT + "/statistic_report/merge_company_list";
|
|
@@ -260,6 +267,10 @@ export default {
|
|
canConfirmNotRenewed() {
|
|
canConfirmNotRenewed() {
|
|
return ["admin", "rai_admin"].includes(this.Role);
|
|
return ["admin", "rai_admin"].includes(this.Role);
|
|
},
|
|
},
|
|
|
|
+ // crm 15.9.1 区分权益FICC的展示
|
|
|
|
+ isRoleType() {
|
|
|
|
+ return localStorage.getItem("RoleType") || "";
|
|
|
|
+ },
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -343,6 +354,9 @@ export default {
|
|
showRenewalRateDetailDlg: false,
|
|
showRenewalRateDetailDlg: false,
|
|
renewalRateDetailForm: {},
|
|
renewalRateDetailForm: {},
|
|
RenewalDataForm: {},
|
|
RenewalDataForm: {},
|
|
|
|
+
|
|
|
|
+ historicalNotesDlgVisible: false, //历史备注的弹框
|
|
|
|
+ historicalNotesId: 0,
|
|
};
|
|
};
|
|
},
|
|
},
|
|
/* 页面跳转前记录参数 */
|
|
/* 页面跳转前记录参数 */
|
|
@@ -651,6 +665,11 @@ export default {
|
|
};
|
|
};
|
|
return params;
|
|
return params;
|
|
},
|
|
},
|
|
|
|
+ // 点击了历史留言
|
|
|
|
+ historicalNotesClickHandler(item) {
|
|
|
|
+ this.historicalNotesDlgVisible = true;
|
|
|
|
+ this.historicalNotesId = item.CompanyId;
|
|
|
|
+ },
|
|
},
|
|
},
|
|
created() {},
|
|
created() {},
|
|
mounted() {
|
|
mounted() {
|