Merge branch 'dev' of http://git.sinoecare.com/sinoecare/digital_village_v2/dvcp_v2_wxcp_app into dev
This commit is contained in:
@@ -68,7 +68,7 @@
|
|||||||
<div class="list_card">
|
<div class="list_card">
|
||||||
<div class="tab">
|
<div class="tab">
|
||||||
<u-subsection
|
<u-subsection
|
||||||
:list="tabIndex == 0 ? subsection_0 : subsection_1"
|
:list="subsection"
|
||||||
:current="subIndex"
|
:current="subIndex"
|
||||||
@change="changeSub"
|
@change="changeSub"
|
||||||
></u-subsection>
|
></u-subsection>
|
||||||
@@ -112,6 +112,11 @@ export default {
|
|||||||
currentClickTime: "",
|
currentClickTime: "",
|
||||||
flag: true,
|
flag: true,
|
||||||
detail: {},
|
detail: {},
|
||||||
|
subsection: [
|
||||||
|
{ name: "未执行" },
|
||||||
|
{ name: "已执行" },
|
||||||
|
{ name: "无法执行" },
|
||||||
|
],
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -122,13 +127,13 @@ export default {
|
|||||||
{ name: "无法执行" },
|
{ name: "无法执行" },
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
subsection_1() {
|
// subsection_1() {
|
||||||
return [
|
// return [
|
||||||
{ name: "未送达" },
|
// { name: "未送达" },
|
||||||
{ name: "已送达" },
|
// { name: "已送达" },
|
||||||
{ name: "无法送达" },
|
// { name: "无法送达" },
|
||||||
]
|
// ]
|
||||||
},
|
// },
|
||||||
colConfigs0() {
|
colConfigs0() {
|
||||||
return [
|
return [
|
||||||
{ slot: "groupOwnerId", label: "成员" },
|
{ slot: "groupOwnerId", label: "成员" },
|
||||||
@@ -143,6 +148,25 @@ export default {
|
|||||||
];
|
];
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
// watch: {
|
||||||
|
// subsection: {
|
||||||
|
// handler: (newVal, oldVal) => {
|
||||||
|
// if(newVal == 0) {
|
||||||
|
// this.subsection = [
|
||||||
|
// { name: "未执行" },
|
||||||
|
// { name: "已执行" },
|
||||||
|
// { name: "无法执行" },
|
||||||
|
// ]
|
||||||
|
// } else {
|
||||||
|
// this.subsection = [
|
||||||
|
// { name: "未送达" },
|
||||||
|
// { name: "已送达" },
|
||||||
|
// { name: "无法送达" },
|
||||||
|
// ]
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// },
|
||||||
onLoad(o) {
|
onLoad(o) {
|
||||||
this.id = o.id;
|
this.id = o.id;
|
||||||
this.createTime = o.time;
|
this.createTime = o.time;
|
||||||
@@ -226,8 +250,8 @@ export default {
|
|||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
this.info = res.data;
|
this.info = res.data;
|
||||||
this.tableData = res.data.executedList.records;
|
this.tableData = res.data.executedList.records;
|
||||||
|
this.getPieEcharts();
|
||||||
}
|
}
|
||||||
this.getPieEcharts();
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
<p>群发内容</p>
|
<p>群发内容</p>
|
||||||
<div>
|
<div>
|
||||||
<!-- 文本 -->
|
<!-- 文本 -->
|
||||||
<div class="textarea" v-show="content && content.length>0">{{ content[0].content }}</div>
|
<div class="textarea" v-show="content.length">{{ content }}</div>
|
||||||
<!-- 图片 -->
|
<!-- 图片 -->
|
||||||
<div class="pictures" v-show="picList.length">
|
<div class="pictures" v-show="picList.length">
|
||||||
<image v-for="(item, index) in picList" :key="index" :src="item.imgPicUrl" @click.stop="previewImages(picList, item.imgPicUrl)"/>
|
<image v-for="(item, index) in picList" :key="index" :src="item.imgPicUrl" @click.stop="previewImages(picList, item.imgPicUrl)"/>
|
||||||
@@ -91,7 +91,7 @@ export default {
|
|||||||
return {
|
return {
|
||||||
id: "",
|
id: "",
|
||||||
data: {},
|
data: {},
|
||||||
content: [],
|
content: '',
|
||||||
picList: [],
|
picList: [],
|
||||||
videoList: [],
|
videoList: [],
|
||||||
fileList: [],
|
fileList: [],
|
||||||
@@ -113,16 +113,16 @@ export default {
|
|||||||
this.$http.post(`/app/appmasssendingtask/queryDetailById?id=${this.id}`).then(res=> {
|
this.$http.post(`/app/appmasssendingtask/queryDetailById?id=${this.id}`).then(res=> {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
this.data = res.data
|
this.data = res.data
|
||||||
this.content = res.data.contents.filter(v=> v.msgType == 0)
|
this.content = res.data.contents.filter(v=> v.msgType == 0)?.[0].content
|
||||||
this.picList = res.data.contents.filter(v=> v.msgType == 1)
|
this.picList = res.data.contents.filter(v=> v.msgType == 1)
|
||||||
this.videoList = res.data.contents.filter(v=> v.msgType == 2)
|
this.videoList = res.data.contents.filter(v=> v.msgType == 2)
|
||||||
this.fileList = res.data.contents.filter(v=> v.msgType == 3)
|
this.fileList = res.data.contents.filter(v=> v.msgType == 3)
|
||||||
this.webpage = res.data.contents.filter(v=> v.msgType == 4)
|
this.webpage = res.data.contents.filter(v=> v.msgType == 4)
|
||||||
this.miniapp = res.data.contents.filter(v=> v.msgType == 5)
|
this.miniapp = res.data.contents.filter(v=> v.msgType == 5)
|
||||||
if(res.data.status==1) { // 拒绝
|
if(res.data.status==1) { // 拒绝
|
||||||
this.approver = data.examines.filter(e=> e.examineUserId == user.openId)
|
this.approver = res.data.examines.filter(e=> e.examineUserId == user.openId)
|
||||||
} else { // 通过
|
} else { // 通过
|
||||||
this.approver = data.examines
|
this.approver = res.data.examines
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user