This commit is contained in:
姚宇浩 2024-11-11 15:10:42 +08:00
commit 502c119804
1 changed files with 78 additions and 5 deletions

View File

@ -382,11 +382,11 @@ const data = reactive({
property: "operatesDeng",
type: "slot",
},
{
label: "推送次数",
property: "pushSendTotal",
type: "slot",
},
// {
// label: "",
// property: "pushSendTotal",
// type: "slot",
// },
],
tableData: [],
tableData1: [],
@ -449,6 +449,79 @@ const lampScreen = (val) => {
if (selectedLamp.value === val) {
return; //
}
console.log(val);
if (val == 1 || val == 2) {
data.column_2 = [
{
label: "姓名",
property: "xm",
width: "90",
type: "slot",
},
{
label: "状态",
property: "deng",
width: "90",
align: "center",
type: "slot",
},
{
label: "地址",
property: "dz",
},
{
label: "年龄",
property: "nl",
width: "80",
},
{
label: "人口标签",
property: "bq",
type: "slot",
},
{
label: "推送次数",
property: "pushSendTotal",
type: "slot",
},
];
} else {
data.column_2 = [
{
label: "姓名",
property: "xm",
width: "90",
type: "slot",
},
{
label: "状态",
property: "deng",
width: "90",
align: "center",
type: "slot",
},
{
label: "地址",
property: "dz",
},
{
label: "年龄",
property: "nl",
width: "80",
},
{
label: "人口标签",
property: "bq",
type: "slot",
},
{
label: "完成途径",
property: "operatesDeng",
type: "slot",
},
];
}
selectedLamp.value = val;
getTable(pagination2);
// console.log("", val);