会议列表
This commit is contained in:
@@ -100,10 +100,10 @@ export default {
|
|||||||
"3": "common/toDo.png",
|
"3": "common/toDo.png",
|
||||||
}[status]
|
}[status]
|
||||||
},
|
},
|
||||||
detail({id}) {
|
detail({id}){
|
||||||
this.comp = "detail";
|
uni.navigateTo({
|
||||||
this.params = id;
|
url:"/apps/meetingNotice/detail?id=" + id
|
||||||
this.isList = false;
|
})
|
||||||
},
|
},
|
||||||
getData() {
|
getData() {
|
||||||
this.$http.post("/app/appmeetinginfo/list", null, {
|
this.$http.post("/app/appmeetinginfo/list", null, {
|
||||||
@@ -135,12 +135,6 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
onShow() {
|
onShow() {
|
||||||
const {id} = this.$route.query
|
|
||||||
if (id) {
|
|
||||||
this.comp = "detail";
|
|
||||||
this.params = id;
|
|
||||||
this.isList = false;
|
|
||||||
}
|
|
||||||
this.getData();
|
this.getData();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -36,33 +36,30 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import AiBack from "../../components/AiBack";
|
|
||||||
import AiEmpty from "../../components/AiEmpty";
|
|
||||||
import AiOpenData from "../../components/AiOpenData";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "meetingList",
|
name: "meetingList",
|
||||||
components: {AiOpenData,AiBack, AiEmpty},
|
|
||||||
props: {
|
props: {
|
||||||
params: {
|
params: {
|
||||||
type: [String,Number,Object],
|
type: [String, Number, Object],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
list: [],
|
list: [],
|
||||||
current: 1,
|
current: 1,
|
||||||
|
index: null,
|
||||||
status: "加载更多",
|
status: "加载更多",
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
created(){
|
onLoad(opt) {
|
||||||
document.title = "会议列表";
|
this.index = opt.index
|
||||||
uni.setNavigationBarTitle({
|
uni.setNavigationBarTitle({
|
||||||
title: this.params == 0 ? "历史会议" : "草稿箱"
|
title: opt.index == 0 ? "历史会议" : "草稿箱"
|
||||||
});
|
});
|
||||||
this.getData();
|
this.getData();
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
detail({id}) {
|
detail({id}) {
|
||||||
@@ -85,8 +82,8 @@
|
|||||||
getData() {
|
getData() {
|
||||||
this.$http.post("/app/appmeetinginfo/list", null, {
|
this.$http.post("/app/appmeetinginfo/list", null, {
|
||||||
params: {
|
params: {
|
||||||
listType: this.params == 0 ? "2" : '0',
|
listType: this.index == 0 ? "2" : '0',
|
||||||
meetingStatus: this.params == 0 ? "4" : "0",
|
meetingStatus: this.index == 0 ? "4" : "0",
|
||||||
size: 10,
|
size: 10,
|
||||||
current: this.current,
|
current: this.current,
|
||||||
}
|
}
|
||||||
@@ -101,8 +98,6 @@
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
filters: {
|
filters: {
|
||||||
format(date) {
|
format(date) {
|
||||||
return date.split(" ")[1].substr(0, 5)
|
return date.split(" ")[1].substr(0, 5)
|
||||||
|
|||||||
Reference in New Issue
Block a user