|
@@ -52,12 +52,18 @@
|
|
|
<div class="item_bottom">
|
|
|
<el-tag type="warning" v-if="item.rwzt == 0">创建</el-tag>
|
|
|
<el-tag v-if="item.rwzt == 1">执行中</el-tag>
|
|
|
- <el-tag type="success" v-if="item.rwzt == 2">完成</el-tag>
|
|
|
+ <el-tag type="success" v-if="item.rwzt == 2 || item.rwzt == 99">完成</el-tag>
|
|
|
<el-tag type="danger" v-if="item.rwzt == 3">错误</el-tag>
|
|
|
<div>
|
|
|
<span class="button" @click.stop="checkRz(item)">日志</span>
|
|
|
- <span class="button" @click="checkDetails(item)">结果</span>
|
|
|
- <span class="button" v-if="item.fxbg && type == 'hgxfx'" @click.stop="report(item)"
|
|
|
+ <span class="button" @click="checkDetails(item)">
|
|
|
+ 结果
|
|
|
+ <span v-if="type == 'ghxz'"> ({{ item.landCount || 0 }})</span>
|
|
|
+ </span>
|
|
|
+ <span
|
|
|
+ class="button"
|
|
|
+ v-if="item.fxbg && type == 'hgxfx'"
|
|
|
+ @click.stop="report(item)"
|
|
|
>报告</span
|
|
|
>
|
|
|
<span
|
|
@@ -78,7 +84,7 @@ import parse from "wellknown";
|
|
|
import { GetPage, Delect } from "@/api/ghss/hgxfx.js";
|
|
|
import { Message, MessageBox } from "element-ui";
|
|
|
import { rest } from "lodash";
|
|
|
-import { GetXzResList, DelXzRes ,DownloadReport} from "../../../api/ghss/ghxz.js";
|
|
|
+import { GetXzResList, DelXzRes } from "../../../api/ghss/ghxz.js";
|
|
|
let dataSources;
|
|
|
export default {
|
|
|
props: {
|
|
@@ -118,7 +124,11 @@ export default {
|
|
|
methods: {
|
|
|
report(item) {
|
|
|
// window.open(item.fxbg.replace(".docx", ".pdf"), "_blank");
|
|
|
- window.open(window.axiosURI + '/analyse/fzss/DownloadReport?filePath='+`${item.fxbg}`);
|
|
|
+ window.open(
|
|
|
+ window.axiosURI +
|
|
|
+ "/analyse/fzss/DownloadReport?filePath=" +
|
|
|
+ `${item.fxbg}`
|
|
|
+ );
|
|
|
},
|
|
|
del(item) {
|
|
|
MessageBox.confirm(
|
|
@@ -355,7 +365,7 @@ export default {
|
|
|
);
|
|
|
}
|
|
|
.button {
|
|
|
- width: 48px;
|
|
|
+ // width: 48px;
|
|
|
height: 20px;
|
|
|
font-size: 14px;
|
|
|
line-height: 20px;
|
|
@@ -365,6 +375,7 @@ export default {
|
|
|
background-image: url("/static/images/ghzc/btnbg.png");
|
|
|
background-size: 100% 100%;
|
|
|
cursor: pointer;
|
|
|
+ padding: 0 10px;
|
|
|
margin-right: 8px;
|
|
|
}
|
|
|
}
|