|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
<div class="card">
|
|
|
- <cord-top title="留言统计明细表" @returnWhere="getList" />
|
|
|
+ <cord-top title="留言统计明细表" @returnWhere="getList" :isExport="true" :param="param" :columns="tablecols" fileName="留言统计明细表" />
|
|
|
<div style="height: 20px" />
|
|
|
<tableTemplate
|
|
|
ref="table"
|
|
|
@@ -30,6 +30,12 @@
|
|
|
{{ $t(scope.column.data[scope.column.columnname]) }}
|
|
|
</p>
|
|
|
</template>
|
|
|
+ <template v-slot:opreation="scope">
|
|
|
+ <btnDelete btnType="text" btnTitle="删除" :disabled="scope.data.deleted == 0 || (scope.data.deleted == 1 && scope.data.allocationstatus == '已分配')"
|
|
|
+ message="是否确定删除该留言?" confirmButtonText="确定删除" nameId="2025082010321603" nameKey="sat_orderclueids" :id="scope.data.sat_orderclueid"
|
|
|
+ @deleteSuccess="getList(content)"
|
|
|
+ ></btnDelete>
|
|
|
+ </template>
|
|
|
</tableTemplate>
|
|
|
<div class="pagination-box">
|
|
|
<el-pagination
|
|
|
@@ -50,11 +56,13 @@
|
|
|
<script>
|
|
|
import cordTop from "./header.vue";
|
|
|
import tableTemplate from "@/views/salesData/components/table";
|
|
|
+import btnDelete from '@/components/btn-delete/indexDis'
|
|
|
|
|
|
export default {
|
|
|
components: {
|
|
|
cordTop,
|
|
|
tableTemplate,
|
|
|
+ btnDelete
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -68,6 +76,10 @@ export default {
|
|
|
nocache: true,
|
|
|
type: "近七日",
|
|
|
},
|
|
|
+ param:{
|
|
|
+ id:'2025021108560703',
|
|
|
+ content:{}
|
|
|
+ }
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
@@ -103,6 +115,7 @@ export default {
|
|
|
this.content.total = res.total;
|
|
|
this.content.pageNumber = res.pageNumber;
|
|
|
this.content.pageSize = res.pageSize;
|
|
|
+ this.param.content = this.content
|
|
|
});
|
|
|
},
|
|
|
handleSizeChange(pageSize) {
|