会议通知

This commit is contained in:
wanglei
2021-12-13 13:46:12 +08:00
parent 1145d18e5d
commit 0e6f57265a
4 changed files with 20 additions and 28 deletions

View File

@@ -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