ded5ea2f by 蔡俊立

代码完善

1 parent 0cfe2c54
......@@ -79,10 +79,10 @@ export default {
}
},
mounted() {
this.queryList()
this.queryClick ()
},
methods: {
queryList(){
queryClick (){
getUserCommonOpinion(this.pageData).then(res => {
let { total, records } = res.result
this.tableData.total = total;
......@@ -131,7 +131,7 @@ export default {
delUserCommonOpinion({bsmOpinion: item.bsmOpinion}).then(res => {
if(res.code == 200){
this.$message.success("删除成功")
this.queryList()
this.queryClick()
}else{
this.$message.error(res.message)
}
......
<template>
<div class="from-clues" v-loading="loading" element-loading-text="拼命加载中" element-loading-spinner="el-icon-loading"
element-loading-background="rgba(0, 0, 0, 0.8)">
element-loading-background="rgba(0, 0, 0, 0.8)" style="height:720px">
<!-- 表单部分 -->
<el-tabs v-model="activeName" @tab-click="handleClick" v-if="headTabBdcqz.length > 1">
<el-tab-pane :label="item.qlr + '(' + item.bdcqzh + ')'" :name="item.bsmBdcqz"
v-for="(item, index) in headTabBdcqz" :key="index"></el-tab-pane>
</el-tabs>
<div class="no-data">暂无数据</div>
<div class="no-data" v-if="headTabBdcqz.length == 0">暂无数据</div>
<img :src="previewImage" class="imgClass">
</div>
</template>
......@@ -76,6 +76,8 @@ export default {
this.bdcqz = res.result[0]
this.headTabBdcqz = res.result
this.getBdcqzPreview();
}else{
this.loading = false
}
}
......
......@@ -275,8 +275,8 @@ export default {
let that = this
const h = this.$createElement;
this.$msgbox({
title: "您确定转出吗?2",
message: "此环节为流程结束环节,转出后流程将结束",
title: "您确定转出吗?",
message: "此环节为流程最后环节,转出后流程将结束",
showCancelButton: true,
beforeClose: (action, instance, done) => {
console.log(action, 'actionaction');
......