Commit 9fe9a7e7 by liangzhen

暂存

1 parent 193b142a
......@@ -248,6 +248,7 @@ import {
selFileList,
} from '@/api/index'
import { MaterialsListKY } from '@/utils/cache'
import { Loading } from 'element-ui';
export default {
data() {
return {
......@@ -474,18 +475,33 @@ export default {
})
},
working(type){
let options={
fullscreen: true,
spinner: 'el-icon-loading',
customClass: 'iam-loading',
text:"智能分析中,请耐心等候...", //显示在加载图标下方的加载文案
background:'rgba(0,0,0,.7)', //遮罩背景色
}
let loadingInstance ='';
let params = {
projectStage: this.active * 1 + 1,
// hgx: 'hgx',
...this.clqparams,
}
if(type=='work'){
this.hgx='hgx'
loadingInstance = Loading.service(options);
}
if( this.hgx='hgx'){
params.hgx='hgx'
}
Promise.all([selFile(params), selWtqdFZ(params)]).then(async (res) => {
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
if(type=='work'){
console.log('走了关闭')
loadingInstance.close();
}
});
this.tabListKY = []
this.urlList = res[0].data
if (this.urlList.length > 0) {
......
......@@ -235,6 +235,7 @@
</template>
<script>
import { Loading } from 'element-ui';
// import{kkk}from "@/static/web/viewer.mjs"
import {
selWtqdFZ,
......@@ -474,18 +475,35 @@ export default {
})
},
working(type){
let options={
fullscreen: true,
spinner: 'el-icon-loading',
customClass: 'iam-loading',
text:"智能分析中,请耐心等候...", //显示在加载图标下方的加载文案
background:'rgba(0,0,0,.7)', //遮罩背景色
}
let params = {
projectStage: this.active * 1 + 1,
// hgx: 'hgx',
...this.clqparams,
}
let loadingInstance ='';
if(type=='work'){
this.hgx='hgx'
loadingInstance = Loading.service(options);
}
if( this.hgx='hgx'){
params.hgx='hgx'
}
Promise.all([selFile(params), selWtqdFZ(params)]).then(async (res) => {
this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭
if(type=='work'){
console.log('走了关闭')
loadingInstance.close();
}
});
this.tabListKY = []
this.urlList = res[0].data
if (this.urlList.length > 0) {
......
......@@ -842,6 +842,7 @@ export default {
async detailsForm(row) {
this.checkedList[0] = row;
this.dialog = true;
this.bjId=row.id
this.ruleFormdialog = this.checkedList[0];
let params = {
id: this.bjId,
......
......@@ -75,7 +75,6 @@
<el-table
@selection-change="handleSelectionChange"
ref="multipleTable"
@row-click="(row, column, event) => handleRowClick(row, column, event, 'multipleTable')"
:data="tableData"
tooltip-effect="dark myTooltips"
style="width: 100%"
......
......@@ -4,7 +4,7 @@ const { defineConfig } = require('@vue/cli-service')
// const ip = '172.20.10.9'; // 何鹏
// const ip = '192.168.0.120';
// const ip = '192.168.50.1';
const ip = '192.168.8.120';
const ip = '192.168.145.116';
module.exports = defineConfig({
transpileDependencies: true,
//如果是hash模式, publicPath:"";如果是history, publicPath:"/"
......@@ -18,7 +18,7 @@ module.exports = defineConfig({
proxy: {
'/arch-evaluation':{
// target: `http://192.168.69.1:18102`, // pin
target: `http://192.168.145.1:18000/tools`, // pin
target: `http://192.168.145.116:18000/tools`, // pin
changeOrigin: true,
pathRewrite:{
"^/arch-evaluation":"/"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!