详情
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="cooperationDetail">
|
||||
<AiTopFixed>
|
||||
<!-- <AiTopFixed>
|
||||
<div class="tab-select">
|
||||
<div
|
||||
class="item"
|
||||
@@ -12,7 +12,7 @@
|
||||
{{ item }}<span></span>
|
||||
</div>
|
||||
</div>
|
||||
</AiTopFixed>
|
||||
</AiTopFixed> -->
|
||||
|
||||
<div class="content">
|
||||
<div class="header">
|
||||
@@ -66,29 +66,19 @@
|
||||
|
||||
<div class="list_content">
|
||||
<div class="list_card">
|
||||
<div class="tab" v-show="update0">
|
||||
<div class="tab" v-show="update">
|
||||
<u-subsection
|
||||
:list="subsection0"
|
||||
:list="subsection"
|
||||
mode="button"
|
||||
activeColor="#3c9cff"
|
||||
:current="subIndex0"
|
||||
@change="changeSub0"
|
||||
></u-subsection>
|
||||
</div>
|
||||
|
||||
<div class="tab" v-show="update1">
|
||||
<u-subsection
|
||||
:list="subsection1"
|
||||
mode="button"
|
||||
activeColor="#3c9cff"
|
||||
:current="subIndex1"
|
||||
@change="changeSub1"
|
||||
:current="subIndex"
|
||||
@change="changeSub"
|
||||
></u-subsection>
|
||||
</div>
|
||||
|
||||
<AiTable
|
||||
:data="tableData"
|
||||
:colConfigs="tabIndex == 0 ? colConfigs0 : colConfigs1"
|
||||
:colConfigs="colConfigs"
|
||||
v-if="tableData.length"
|
||||
>
|
||||
<u-td slot="groupOwnerId" slot-scope="{ row }" style="border: none;">
|
||||
@@ -125,34 +115,28 @@ export default {
|
||||
currentClickTime: "",
|
||||
detail: {},
|
||||
|
||||
subsection0: [
|
||||
subsection: [
|
||||
{ name: "未执行" },
|
||||
{ name: "已执行" },
|
||||
{ name: "无法执行" },
|
||||
],
|
||||
subsection1: [
|
||||
{ name: "未送达" },
|
||||
{ name: "已送达" },
|
||||
{ name: "无法送达" },
|
||||
],
|
||||
update0: true,
|
||||
update1: false,
|
||||
update: true,
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
colConfigs0() {
|
||||
colConfigs() {
|
||||
return [
|
||||
{ slot: "groupOwnerId", label: "成员" },
|
||||
{ label: "预计送达居民群", prop: "groupCount" },
|
||||
];
|
||||
},
|
||||
colConfigs1() {
|
||||
return [
|
||||
{ label: "居民群", prop: "groupName" },
|
||||
{ label: "群人数", prop: "memberCount" },
|
||||
{ slot: "groupOwnerId", label: "群主" },
|
||||
{ label: "预计送达居民", prop: "groupCount" },
|
||||
];
|
||||
},
|
||||
// colConfigs1() {
|
||||
// return [
|
||||
// { label: "居民群", prop: "groupName" },
|
||||
// { label: "群人数", prop: "memberCount" },
|
||||
// { slot: "groupOwnerId", label: "群主" },
|
||||
// ];
|
||||
// },
|
||||
},
|
||||
onLoad(o) {
|
||||
this.id = o.id;
|
||||
@@ -239,12 +223,8 @@ export default {
|
||||
}
|
||||
},
|
||||
// 切换分段器
|
||||
changeSub0(index) {
|
||||
this.subIndex0 = index;
|
||||
this.getStatistics();
|
||||
},
|
||||
changeSub1(index) {
|
||||
this.subIndex1 = index;
|
||||
changeSub(index) {
|
||||
this.subIndex = index;
|
||||
this.getStatistics();
|
||||
},
|
||||
// 获取数据
|
||||
@@ -389,7 +369,6 @@ export default {
|
||||
}
|
||||
|
||||
.header {
|
||||
// height: 160px;
|
||||
padding: 32px;
|
||||
box-sizing: border-box;
|
||||
background: #fff;
|
||||
@@ -504,14 +483,6 @@ export default {
|
||||
|
||||
.tab {
|
||||
margin-bottom: 34px;
|
||||
|
||||
::v-deep .u-subsection uni-view{
|
||||
background: #eeef !important;
|
||||
}
|
||||
}
|
||||
|
||||
.sub-select {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user