会议通知
This commit is contained in:
@@ -88,13 +88,10 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import AiBack from "../../components/AiBack";
|
||||
import AiUploader from "../../components/AiUploader";
|
||||
import {mapActions} from "vuex";
|
||||
|
||||
export default {
|
||||
name: "addMeeting",
|
||||
components: {AiBack, AiUploader},
|
||||
props: {
|
||||
params: {
|
||||
type: [Number, String]
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<div class="belong-to-me">
|
||||
<ai-top-fixed>
|
||||
<AiTopFixed>
|
||||
<u-tabs :list="tabs" :is-scroll="false" :current="index" bar-width="88" :height="96" @change="change"></u-tabs>
|
||||
</ai-top-fixed>
|
||||
</AiTopFixed>
|
||||
<div class="body">
|
||||
<template v-if="list.length">
|
||||
<div class="card" v-for="(item,index) in list" :key="index" @click="handleClick(item)">
|
||||
@@ -31,7 +31,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
<ai-empty/>
|
||||
<AiEmpty/>
|
||||
</template>
|
||||
</div>
|
||||
<AiBack/>
|
||||
@@ -39,15 +39,10 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import AiTopFixed from "../../components/AiTopFixed";
|
||||
import AiBack from "../../components/AiBack";
|
||||
import AiEmpty from "../../components/AiEmpty";
|
||||
import AiOpenData from "../../components/AiOpenData";
|
||||
import {mapActions} from "vuex";
|
||||
|
||||
export default {
|
||||
name: "belongToMe",
|
||||
components: {AiOpenData, AiTopFixed, AiBack, AiEmpty},
|
||||
data() {
|
||||
return {
|
||||
index: 0,
|
||||
@@ -76,12 +71,12 @@ export default {
|
||||
this.$hideLoading()
|
||||
})
|
||||
},
|
||||
onReachBottom() {
|
||||
this.current++;
|
||||
this.getList()
|
||||
},
|
||||
methods: {
|
||||
...mapActions(['injectJWeixin']),
|
||||
emitReachBottom() {
|
||||
this.current = this.current + 1;
|
||||
this.getList()
|
||||
},
|
||||
tag(status) {
|
||||
return {
|
||||
"1": this.$cdn + 'common/1wks.png',
|
||||
|
||||
@@ -97,19 +97,10 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import AiBack from "../../components/AiBack";
|
||||
import {mapActions, mapState} from "vuex";
|
||||
import AiTopFixed from "../../components/AiTopFixed";
|
||||
import AiOpenData from "../../components/AiOpenData";
|
||||
|
||||
export default {
|
||||
name: "detail",
|
||||
components: {AiOpenData,AiBack, AiTopFixed},
|
||||
props: {
|
||||
params: {
|
||||
type: [String, Number]
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
detail: {},
|
||||
@@ -117,8 +108,12 @@
|
||||
current: 0,
|
||||
pageShow: false,
|
||||
show: false,
|
||||
id:null,
|
||||
}
|
||||
},
|
||||
onLoad(opt){
|
||||
this.id = opt.id;
|
||||
},
|
||||
computed: {
|
||||
...mapState(["user"]),
|
||||
tabs() {
|
||||
@@ -134,7 +129,7 @@
|
||||
onConfirm() {
|
||||
this.$http.post("/app/appmeetinginfo/cancel", null, {
|
||||
params: {
|
||||
meetingId: this.params,
|
||||
meetingId: this.id,
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
@@ -149,7 +144,7 @@
|
||||
toDo() {
|
||||
this.$http.post("/app/appmeetinginfo/tobeConfirm", null, {
|
||||
params: {
|
||||
meetingId: this.params,
|
||||
meetingId: this.id,
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
@@ -195,7 +190,7 @@
|
||||
updateStatus(status) {
|
||||
this.$http.post(status == 0 ? "/app/appmeetinginfo/absent" : "/app/appmeetinginfo/confirm", null, {
|
||||
params: {
|
||||
meetingId: this.params,
|
||||
meetingId: this.id,
|
||||
reason: status == 0 ? "" : null
|
||||
}
|
||||
}).then(res => {
|
||||
@@ -222,7 +217,7 @@
|
||||
},
|
||||
getDetail() {
|
||||
this.$http.post("/app/appmeetinginfo/info-id", null, {
|
||||
params: {id: this.params}
|
||||
params: {id: this.id}
|
||||
}).then(res => {
|
||||
if (res && res.data) {
|
||||
this.detail = res.data
|
||||
|
||||
@@ -98,6 +98,11 @@
|
||||
},
|
||||
},
|
||||
|
||||
onReachBottom() {
|
||||
this.current ++;
|
||||
this.getData();
|
||||
},
|
||||
|
||||
filters: {
|
||||
format(date) {
|
||||
return date.split(" ")[1].substr(0, 5)
|
||||
|
||||
Reference in New Issue
Block a user