Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
@@ -61,6 +61,8 @@
|
|||||||
<img :src="$cdn + tag(detail.joinStatus)" alt="">
|
<img :src="$cdn + tag(detail.joinStatus)" alt="">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="footer cancel" v-if="detail.status==1 && detail.createUserId == user.id" @click="handleCancel">取消会议</div>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<div class="att-list">
|
<div class="att-list">
|
||||||
@@ -78,13 +80,14 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
<u-modal v-model="show" title="提示" show-cancel-button content='是否要取消该会议?' @confirm="onConfirm"></u-modal>
|
||||||
<AiBack/>
|
<AiBack/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import AiBack from "../../../components/AiBack";
|
import AiBack from "../../../components/AiBack";
|
||||||
import {mapActions} from "vuex";
|
import {mapActions,mapState} from "vuex";
|
||||||
import AiTopFixed from "../../../components/AiTopFixed";
|
import AiTopFixed from "../../../components/AiTopFixed";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -100,9 +103,11 @@
|
|||||||
detail: {},
|
detail: {},
|
||||||
list: false,
|
list: false,
|
||||||
current: 0,
|
current: 0,
|
||||||
|
show:false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
...mapState(["user"]),
|
||||||
tabs() {
|
tabs() {
|
||||||
return [
|
return [
|
||||||
{name: this.count(0) + "人未确认"},
|
{name: this.count(0) + "人未确认"},
|
||||||
@@ -113,6 +118,21 @@
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
onConfirm(){
|
||||||
|
this.$http.post("/app/appmeetinginfo/cancel", null, {
|
||||||
|
params: {
|
||||||
|
meetingId: this.params,
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
if (res.code == 0) {
|
||||||
|
this.$u.toast("取消成功");
|
||||||
|
this.getDetail();
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
handleCancel(){
|
||||||
|
this.show = true;
|
||||||
|
},
|
||||||
toDo(){
|
toDo(){
|
||||||
this.$http.post("/app/appmeetinginfo/tobeConfirm", null, {
|
this.$http.post("/app/appmeetinginfo/tobeConfirm", null, {
|
||||||
params: {
|
params: {
|
||||||
@@ -496,5 +516,11 @@
|
|||||||
top: 0;
|
top: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.cancel{
|
||||||
|
color:#ffffff;
|
||||||
|
font-size: 36px;
|
||||||
|
background-color: #005DFF
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -8,7 +8,8 @@
|
|||||||
<div class="card" v-for="(item,idx) in dataList" :key="idx" @click="handeClick(item)">
|
<div class="card" v-for="(item,idx) in dataList" :key="idx" @click="handeClick(item)">
|
||||||
<template v-if="!item.imgUrl">
|
<template v-if="!item.imgUrl">
|
||||||
<label>
|
<label>
|
||||||
<b v-if="index==0 && item.readStatus==0"></b>
|
<span class="status" v-if="index==0 && item.readStatus==0">未读</span>
|
||||||
|
<span class="status read" v-if="index==0 && item.readStatus!=0">已读</span>
|
||||||
<div class="tag" v-if="index==1" :style="color(item.status)">
|
<div class="tag" v-if="index==1" :style="color(item.status)">
|
||||||
{{ $dict.getLabel("announcementStatus", item.status) }}
|
{{ $dict.getLabel("announcementStatus", item.status) }}
|
||||||
</div>
|
</div>
|
||||||
@@ -137,6 +138,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
emitShow() {
|
emitShow() {
|
||||||
const {id} = this.$route.query
|
const {id} = this.$route.query
|
||||||
|
console.log(this.$route.query);
|
||||||
if (id) {
|
if (id) {
|
||||||
this.comp = "detail";
|
this.comp = "detail";
|
||||||
this.params = {
|
this.params = {
|
||||||
@@ -294,14 +296,21 @@ export default {
|
|||||||
line-height: 44px;
|
line-height: 44px;
|
||||||
}
|
}
|
||||||
|
|
||||||
b {
|
.status {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-style: normal;
|
width: 88px;
|
||||||
width: 16px;
|
height: 36px;
|
||||||
height: 16px;
|
font-size: 26px;
|
||||||
border-radius: 50%;
|
color: #FF8822;
|
||||||
background: #FF4466;
|
background:rgba(255,136,34,.1);
|
||||||
margin-right: 8px;
|
line-height: 36px;
|
||||||
|
text-align: center;
|
||||||
|
margin-right: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.read{
|
||||||
|
background: rgba(102,102,102,.1);
|
||||||
|
color: #666666;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tag {
|
.tag {
|
||||||
|
|||||||
Reference in New Issue
Block a user