Commit 26a99df3 authored by danfuman's avatar danfuman

修改

parent a6e19278
...@@ -8,7 +8,7 @@ ENV = 'production' ...@@ -8,7 +8,7 @@ ENV = 'production'
VUE_APP_BASE_API = 'http://172.17.0.75:9099/prod-api' VUE_APP_BASE_API = 'http://172.17.0.75:9099/prod-api'
# 子系统地址 # 子系统地址
#VUE_APP_SUB_SYSTEM_ADDRESS = "https://plug.jiansheku.com" VUE_APP_SUB_SYSTEM_ADDRESS = "https://plug.jiansheku.com"
# Bi大屏系统地址 # Bi大屏系统地址
#VUE_APP_BI_SYSTEM_ADDRESS = "https://192.168.60.104:8001" #VUE_APP_BI_SYSTEM_ADDRESS = "https://192.168.60.104:8001"
...@@ -36,6 +36,7 @@ export default { ...@@ -36,6 +36,7 @@ export default {
}, },
created() { created() {
this.domain = process.env.VUE_APP_SUB_SYSTEM_ADDRESS; this.domain = process.env.VUE_APP_SUB_SYSTEM_ADDRESS;
this.gettokens(); this.gettokens();
this.iframeObserver(); this.iframeObserver();
let that = this; let that = this;
......
...@@ -89,7 +89,10 @@ ...@@ -89,7 +89,10 @@
<el-table-column label="发包人名称" min-width="170" prop="ownerName"> <el-table-column label="发包人名称" min-width="170" prop="ownerName">
<template slot-scope="scope"> <template slot-scope="scope">
<!--<span v-if="scope.row.ownerUnitCid" class="no-line-feed" @click="viewOwnerUnit(scope.row)">{{scope.row.ownerName}}</span>--> <!--<span v-if="scope.row.ownerUnitCid" class="no-line-feed" @click="viewOwnerUnit(scope.row)">{{scope.row.ownerName}}</span>-->
<div v-if="scope.row.ownerName">
<span v-if="scope.row.ownerUnitCid" class="no-line-feed" @click="viewOwnerUnit(scope.row)">{{scope.row.ownerName}}</span> <span v-if="scope.row.ownerUnitCid" class="no-line-feed" @click="viewOwnerUnit(scope.row)">{{scope.row.ownerName}}</span>
<span v-else>{{scope.row.ownerName}}</span>
</div>
<span v-else>-</span> <span v-else>-</span>
</template> </template>
</el-table-column> </el-table-column>
......
...@@ -208,7 +208,7 @@ export default { ...@@ -208,7 +208,7 @@ export default {
//可访问data属性 //可访问data属性
created() { created() {
this.initDetail(); this.initDetail();
this.formData[2].options=this.engineeringCategoryDetailOptions // this.formData[2].options=this.engineeringCategoryDetailOptions
}, },
//计算集 //计算集
computed: { computed: {
...@@ -230,7 +230,7 @@ export default { ...@@ -230,7 +230,7 @@ export default {
try { try {
const result = await getProjectUndertakingTypesApi(); const result = await getProjectUndertakingTypesApi();
if (result.code == 200 && result?.data?.length) { if (result.code == 200 && result?.data?.length) {
this.formData[1].options = result.data.map(item => ({ value: item, label: item })); // this.formData[1].options = result.data.map(item => ({ value: item, label: item }));
} }
} catch (error) { } catch (error) {
...@@ -241,7 +241,7 @@ export default { ...@@ -241,7 +241,7 @@ export default {
const area = await getAllAreaApi(); const area = await getAllAreaApi();
if (area.code == 200) { if (area.code == 200) {
this.areaList = area.data; this.areaList = area.data;
this.$set(this.formData[0], "options", this.areaList); // this.$set(this.formData[0], "options", this.areaList);
console.log(); console.log();
} }
} catch (error) { } catch (error) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment