|
@@ -70,11 +70,16 @@
|
|
|
min-width="200"
|
|
|
fixed
|
|
|
>
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-tooltip class="item" effect="dark" :content="scope.row.sketch || '暂无分析简述'" placement="top">
|
|
|
- <span>{{ scope.row.analysisName }}</span>
|
|
|
- </el-tooltip>
|
|
|
- </template>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-tooltip
|
|
|
+ class="item"
|
|
|
+ effect="dark"
|
|
|
+ :content="scope.row.sketch || '暂无分析简述'"
|
|
|
+ placement="top"
|
|
|
+ >
|
|
|
+ <span>{{ scope.row.analysisName }}</span>
|
|
|
+ </el-tooltip>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
align="center"
|
|
@@ -551,7 +556,6 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
-
|
|
|
AddHandleCloses(done) {
|
|
|
this.$confirm("确认关闭?")
|
|
|
.then((_) => {
|
|
@@ -717,7 +721,6 @@ export default {
|
|
|
|
|
|
// 改进 handleMessage,避免频繁请求
|
|
|
handleMessage(event) {
|
|
|
- // console.log(event, "请求分析页面");
|
|
|
// 确保消息来自当前域
|
|
|
if (event.origin !== window.location.origin) {
|
|
|
return;
|
|
@@ -738,7 +741,13 @@ export default {
|
|
|
}
|
|
|
|
|
|
// 如果当前没有请求中,才调用 getTableList
|
|
|
- if (!this.loading && fieldName && analysisState) {
|
|
|
+ // console.log(
|
|
|
+ // this.loading,
|
|
|
+ // fieldName,
|
|
|
+ // analysisState,
|
|
|
+ // "如果当前没有请求中,才调用"
|
|
|
+ // );
|
|
|
+ if (!this.loading) {
|
|
|
this.getTableList();
|
|
|
// this.startPolling();
|
|
|
}
|