|
@@ -81,8 +81,6 @@
|
|
</el-button>
|
|
</el-button>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="2.5" style="float: right;">
|
|
<el-col :span="2.5" style="float: right;">
|
|
- <span
|
|
|
|
- style="height: 20px;margin-right: 5px;width: 20px; border-radius: 50%; display: inline-block; background-color: #807e7a;"></span>无数据
|
|
|
|
<span
|
|
<span
|
|
style="height: 20px;margin-right: 5px;width: 20px; border-radius: 50%; display: inline-block; background-color: #e0c794;"></span>待审核
|
|
style="height: 20px;margin-right: 5px;width: 20px; border-radius: 50%; display: inline-block; background-color: #e0c794;"></span>待审核
|
|
<span
|
|
<span
|
|
@@ -111,9 +109,7 @@
|
|
placement="top-start"
|
|
placement="top-start"
|
|
trigger="hover"
|
|
trigger="hover"
|
|
:content="item.Type">
|
|
:content="item.Type">
|
|
- <span slot="reference" v-if="item.state == '-1' && item.content=='无数据'"
|
|
|
|
- style="height: 20px;margin-right: 5px;width: 20px; border-radius: 50%; display: inline-block; background-color: #807e7a;"></span>
|
|
|
|
- <span slot="reference" v-else-if="item.state == '0' && item.content=='暂未审核'"
|
|
|
|
|
|
+ <span slot="reference" v-if="item.state == '0' && item.content=='暂未审核'"
|
|
style="height: 20px;margin-right: 5px;width: 20px; border-radius: 50%; display: inline-block; background-color: #e0c794;"></span>
|
|
style="height: 20px;margin-right: 5px;width: 20px; border-radius: 50%; display: inline-block; background-color: #e0c794;"></span>
|
|
<span slot="reference" v-else-if="item.state == '1' "
|
|
<span slot="reference" v-else-if="item.state == '1' "
|
|
style="height: 20px;margin-right: 5px;width: 20px; border-radius: 50%; display: inline-block; background-color: #30B08F;"></span>
|
|
style="height: 20px;margin-right: 5px;width: 20px; border-radius: 50%; display: inline-block; background-color: #30B08F;"></span>
|
|
@@ -397,18 +393,18 @@ export default {
|
|
},
|
|
},
|
|
updateviewSource(e) {
|
|
updateviewSource(e) {
|
|
this.currentId = e.id
|
|
this.currentId = e.id
|
|
- let dists ;
|
|
|
|
- if ("地埋扳孔" == e.modeOperation){
|
|
|
|
- dists="bury_the_wrench_hole";
|
|
|
|
- }else if ("架空扳孔" == e.modeOperation){
|
|
|
|
- dists="aerial_wrench_hole";
|
|
|
|
- }else if ("停气作业" == e.modeOperation){
|
|
|
|
- dists="shutdown_operation";
|
|
|
|
- }else if ("PE 封堵" == e.modeOperation){
|
|
|
|
- dists="pe_plugging";
|
|
|
|
- }else if ("钢管带气封堵" == e.modeOperation){
|
|
|
|
- dists="the_steel_pipe_sealed_with_gas";
|
|
|
|
- }
|
|
|
|
|
|
+ let dists = e.modeOperation;
|
|
|
|
+ // if ("地埋扳孔" == e.modeOperation){
|
|
|
|
+ // dists="bury_the_wrench_hole";
|
|
|
|
+ // }else if ("架空扳孔" == e.modeOperation){
|
|
|
|
+ // dists="aerial_wrench_hole";
|
|
|
|
+ // }else if ("停气作业" == e.modeOperation){
|
|
|
|
+ // dists="shutdown_operation";
|
|
|
|
+ // }else if ("PE 封堵" == e.modeOperation){
|
|
|
|
+ // dists="pe_plugging";
|
|
|
|
+ // }else if ("钢管带气封堵" == e.modeOperation){
|
|
|
|
+ // dists="the_steel_pipe_sealed_with_gas";
|
|
|
|
+ // }
|
|
getDicts(dists).then(res => {
|
|
getDicts(dists).then(res => {
|
|
this.nodeList = res.data
|
|
this.nodeList = res.data
|
|
let dict = []
|
|
let dict = []
|
|
@@ -426,18 +422,18 @@ export default {
|
|
handleHistory(e, type = null){
|
|
handleHistory(e, type = null){
|
|
this.currentId = e.id
|
|
this.currentId = e.id
|
|
let dict = []
|
|
let dict = []
|
|
- let dists ;
|
|
|
|
- if ("地埋扳孔" == e.modeOperation){
|
|
|
|
- dists="bury_the_wrench_hole";
|
|
|
|
- }else if ("架空扳孔" == e.modeOperation){
|
|
|
|
- dists="aerial_wrench_hole";
|
|
|
|
- }else if ("停气作业" == e.modeOperation){
|
|
|
|
- dists="shutdown_operation";
|
|
|
|
- }else if ("PE 封堵" == e.modeOperation){
|
|
|
|
- dists="pe_plugging";
|
|
|
|
- }else if ("钢管带气封堵" == e.modeOperation){
|
|
|
|
- dists="the_steel_pipe_sealed_with_gas";
|
|
|
|
- }
|
|
|
|
|
|
+ let dists = e.modeOperation;
|
|
|
|
+ // if ("地埋扳孔" == e.modeOperation){
|
|
|
|
+ // dists="bury_the_wrench_hole";
|
|
|
|
+ // }else if ("架空扳孔" == e.modeOperation){
|
|
|
|
+ // dists="aerial_wrench_hole";
|
|
|
|
+ // }else if ("停气作业" == e.modeOperation){
|
|
|
|
+ // dists="shutdown_operation";
|
|
|
|
+ // }else if ("PE 封堵" == e.modeOperation){
|
|
|
|
+ // dists="pe_plugging";
|
|
|
|
+ // }else if ("钢管带气封堵" == e.modeOperation){
|
|
|
|
+ // dists="the_steel_pipe_sealed_with_gas";
|
|
|
|
+ // }
|
|
getDicts(dists).then(res => {
|
|
getDicts(dists).then(res => {
|
|
this.nodeList = res.data
|
|
this.nodeList = res.data
|
|
for (let i = 0; i < this.nodeList.length; i++) {
|
|
for (let i = 0; i < this.nodeList.length; i++) {
|
|
@@ -548,18 +544,18 @@ export default {
|
|
this.form = response.data;
|
|
this.form = response.data;
|
|
this.open = true;
|
|
this.open = true;
|
|
this.title = "添加碰口作业用料信息";
|
|
this.title = "添加碰口作业用料信息";
|
|
- let dists ;
|
|
|
|
- if ("地埋扳孔" == response.data.modeOperation){
|
|
|
|
- dists="bury_the_wrench_hole";
|
|
|
|
- }else if ("架空扳孔" == response.data.modeOperation){
|
|
|
|
- dists="aerial_wrench_hole";
|
|
|
|
- }else if ("停气作业" == response.data.modeOperation){
|
|
|
|
- dists="shutdown_operation";
|
|
|
|
- }else if ("PE 封堵" == response.data.modeOperation){
|
|
|
|
- dists="pe_plugging";
|
|
|
|
- }else if ("钢管带气封堵" == response.data.modeOperation){
|
|
|
|
- dists="the_steel_pipe_sealed_with_gas";
|
|
|
|
- }
|
|
|
|
|
|
+ let dists = response.data.modeOperation;
|
|
|
|
+ // if ("地埋扳孔" == response.data.modeOperation){
|
|
|
|
+ // dists="bury_the_wrench_hole";
|
|
|
|
+ // }else if ("架空扳孔" == response.data.modeOperation){
|
|
|
|
+ // dists="aerial_wrench_hole";
|
|
|
|
+ // }else if ("停气作业" == response.data.modeOperation){
|
|
|
|
+ // dists="shutdown_operation";
|
|
|
|
+ // }else if ("PE 封堵" == response.data.modeOperation){
|
|
|
|
+ // dists="pe_plugging";
|
|
|
|
+ // }else if ("钢管带气封堵" == response.data.modeOperation){
|
|
|
|
+ // dists="the_steel_pipe_sealed_with_gas";
|
|
|
|
+ // }
|
|
getDicts(dists).then(res => {
|
|
getDicts(dists).then(res => {
|
|
this.nodeList = res.data
|
|
this.nodeList = res.data
|
|
})
|
|
})
|
|
@@ -609,7 +605,7 @@ export default {
|
|
handleExport() {
|
|
handleExport() {
|
|
this.download('zdsz/touchOperationEngineering/export', {
|
|
this.download('zdsz/touchOperationEngineering/export', {
|
|
...this.queryParams
|
|
...this.queryParams
|
|
- }, `碰口作业数据_${new Date().getTime()}.xlsx`)
|
|
|
|
|
|
+ }, `碰口工程数据_${new Date().getTime()}.xlsx`)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
};
|
|
};
|