Compare commits

...

2 Commits

Author SHA1 Message Date
duanxiaohai 65f2b7cb49 Merge branch 'main' of https://git.cityme.com.cn/xiangshan/ggfwjsc 2024-11-08 17:38:15 +08:00
duanxiaohai cbfe0f3e31 gx 2024-11-08 17:38:13 +08:00
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);