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