|
|
@@ -64,6 +64,16 @@ a {
|
|
|
top: 15px;
|
|
|
left: 20px;
|
|
|
}
|
|
|
+.result_dialog .el-dialog{
|
|
|
+ width: 40%;
|
|
|
+ margin-top:20vh!important;
|
|
|
+}
|
|
|
+.result-item{
|
|
|
+ height: 35px;
|
|
|
+ .label{
|
|
|
+ font-weight: 600;
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|
|
|
<template>
|
|
|
<section>
|
|
|
@@ -372,7 +382,7 @@ a {
|
|
|
<el-table-column prop="post_time" label="填报时间"> </el-table-column>
|
|
|
<el-table-column prop="zip" width="80" label="操作">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button class="edit" type="text" @click="showPostResult"
|
|
|
+ <el-button class="edit" type="text" @click="showPostResult(scope.row)"
|
|
|
>查看</el-button
|
|
|
>
|
|
|
</template>
|
|
|
@@ -392,9 +402,13 @@ a {
|
|
|
:title="dialogTitle3"
|
|
|
:close-on-click-modal="false"
|
|
|
:visible.sync="dialogVisible3"
|
|
|
+ class="result_dialog"
|
|
|
>
|
|
|
<div class="content">
|
|
|
- 111111
|
|
|
+ <div class="result-item" v-for="(item,key) in this.postResult" :key="key">
|
|
|
+ <span class="label">{{key}}:</span><span class="value">{{item}}</span>
|
|
|
+ </div>
|
|
|
+ <div v-if="Object.keys(postResult).length==0">暂无数据</div>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
</section>
|
|
|
@@ -408,6 +422,7 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
// checked: [],
|
|
|
+ postResult:{},
|
|
|
analyseDataList:[],
|
|
|
title: "",
|
|
|
widgetList: [],
|
|
|
@@ -496,7 +511,8 @@ export default {
|
|
|
},
|
|
|
computed() {},
|
|
|
methods: {
|
|
|
- showPostResult(){
|
|
|
+ showPostResult(row){
|
|
|
+ this.postResult = row.post_result
|
|
|
this.dialogTitle3 = "填报结果"
|
|
|
this.dialogVisible3 = true
|
|
|
},
|
|
|
@@ -647,6 +663,8 @@ export default {
|
|
|
} else {
|
|
|
this.$message.error("保存失败!");
|
|
|
}
|
|
|
+ this.getData();
|
|
|
+ this.dialogVisible = false;
|
|
|
});
|
|
|
} else {
|
|
|
this.$api.addMessage(parm).then((res) => {
|
|
|
@@ -658,10 +676,10 @@ export default {
|
|
|
} else {
|
|
|
this.$message.error("保存失败!");
|
|
|
}
|
|
|
+ this.getData();
|
|
|
+ this.dialogVisible = false;
|
|
|
});
|
|
|
}
|
|
|
- this.getData();
|
|
|
- this.dialogVisible = false;
|
|
|
}
|
|
|
});
|
|
|
},
|