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