Commit f7a10758 authored by zhengke's avatar zhengke

修改

parent 46239881
......@@ -22,6 +22,12 @@
<template v-slot:top="props">
<div class="col-2 q-table__title">咨询信息</div>
</template>
<template v-slot:body-cell-DealStatusStr="props">
<q-td>
<span v-if="props.row.DealStatus==1" style="color:rgb(103, 194, 58)">{{props.row.DealStatusStr}}</span>
<span v-if="props.row.DealStatus==0" style="color:rgb(233, 82, 82)">{{props.row.DealStatusStr}}</span>
</q-td>
</template>
<template v-slot:bottom>
<q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary" :max="pageCount"
:input="true" @input="changePage" />
......@@ -32,8 +38,8 @@
label="处理" @click="EditConsult(props.row)" />
<q-btn flat size="xs" icon="iconfont icon-View" color="accent" @click="goView(props.row)"
style="font-weight:400" label="查看" />
<q-btn flat size="xs" icon="delete" color="negative" style="font-weight:400"
label="删除" @click="delConsult(props.row)" />
<q-btn flat size="xs" icon="delete" color="negative" style="font-weight:400" label="删除"
@click="delConsult(props.row)" />
</q-td>
</template>
</q-table>
......@@ -185,17 +191,17 @@
} else {
this.consultObjOption = null
}
this.consultObjOption.isView=-1;
this.consultObjOption.isView = -1;
this.isShowConsultForm = true
},
//点击预览
goView(obj){
goView(obj) {
if (obj) {
this.consultObjOption = obj
} else {
this.consultObjOption = null
}
this.consultObjOption.isView=1;
this.consultObjOption.isView = 1;
this.isShowConsultForm = true
},
//关闭弹窗
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment