|
@@ -278,7 +278,7 @@
|
|
|
trigger="hover"
|
|
|
:content="item.Type">
|
|
|
|
|
|
- <span slot="reference" v-if="(item.state == '1' && item.Type != '开栓')"
|
|
|
+ <span slot="reference" v-if="(item.state == '1'||item.state == '2') && item.Type != '开栓'"
|
|
|
style="height: 20px;margin-right: 5px;width: 20px; border-radius: 50%; display: inline-block; background-color: #30B08F;"></span>
|
|
|
<span slot="reference" v-if="item.state == '0' && item.Type != '开栓'"
|
|
|
style="height: 20px;margin-right: 5px;width: 20px; border-radius: 50%; display: inline-block; background-color: #C03639;"></span>
|
|
@@ -286,6 +286,7 @@
|
|
|
style="height: 20px;margin-right: 5px;width: 20px; border-radius: 50%; display: inline-block; background-color: #ffff00;"></span>
|
|
|
<span slot="reference" v-if="item.state == '1' && item.Type == '开栓'" @click="gotoOpenGas(scope.row)"
|
|
|
style="height: 20px;margin-right: 5px;width: 20px; border-radius: 50%; display: inline-block; background-color: #6998e0;"></span>
|
|
|
+
|
|
|
</el-popover>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -525,20 +526,7 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <EnginNodeInfoTYG
|
|
|
- v-if="title=='添加用料'"
|
|
|
- v-for="(e,idx) in currentCheckList"
|
|
|
- :key="idx"
|
|
|
- :name="e"
|
|
|
- :ref="'EnginNodeInfo'+idx"
|
|
|
- :flag="'gy_tyg'"
|
|
|
- :types="currentCheckList"
|
|
|
- :currentContain="currentCheckList"
|
|
|
- :enginType="'工业工程'"
|
|
|
- :enginSort="queryParams.enginType"
|
|
|
- />
|
|
|
<EnginNodeInfo
|
|
|
- v-else
|
|
|
v-for="(e,idx) in currentCheckList"
|
|
|
:key="idx"
|
|
|
:name="e"
|
|
@@ -671,7 +659,6 @@
|
|
|
ref="checkingAllForm"
|
|
|
title="节点开关"
|
|
|
:visible.sync="batchVisible"
|
|
|
-
|
|
|
@close="checkingAllFormClosed"
|
|
|
>
|
|
|
<el-form :model="batchForm" :rules="batchFormRules" ref="batchFormAll" label-width="auto" label-position="right">
|
|
@@ -1207,17 +1194,39 @@ export default {
|
|
|
///////////////////////////////////////////////底腿//////////////////////////////////////////
|
|
|
///////////////////////////////////////////////调压柜安装//////////////////////////////////////////
|
|
|
{
|
|
|
- name: '调压柜安装',
|
|
|
+ name: '调压箱铭牌',
|
|
|
components: [
|
|
|
- [
|
|
|
- 'specificConstruction'//具体施工位置
|
|
|
- ],
|
|
|
- 'constructTime',
|
|
|
- 'boxBrand',
|
|
|
- 'Lightning',
|
|
|
- 'BottomLeg',
|
|
|
- 'GroundHardening',
|
|
|
- 'stonePowder', // 照片
|
|
|
+ 'constructTime', // 施工时间
|
|
|
+ 'zEngiineeringPhotoBoList', // 照片
|
|
|
+ 'remark',
|
|
|
+ ]
|
|
|
+ },{
|
|
|
+ name: '底腿连接',
|
|
|
+ components: [
|
|
|
+ 'constructTime', // 施工时间
|
|
|
+ 'zEngiineeringPhotoBoList', // 照片
|
|
|
+ 'remark',
|
|
|
+ ]
|
|
|
+ },{
|
|
|
+ name: '石粉回填',
|
|
|
+ components: [
|
|
|
+ 'constructTime', // 施工时间
|
|
|
+ 'zEngiineeringPhotoBoList', // 照片
|
|
|
+ 'remark',
|
|
|
+ ]
|
|
|
+ },{
|
|
|
+ name: '防雷接地',
|
|
|
+ components: [
|
|
|
+ 'constructTime', // 施工时间
|
|
|
+ 'zEngiineeringPhotoBoList', // 照片
|
|
|
+ 'remark',
|
|
|
+ ]
|
|
|
+ },{
|
|
|
+ name: '地面硬化',
|
|
|
+ components: [
|
|
|
+ 'constructTime', // 施工时间
|
|
|
+ 'zEngiineeringPhotoBoList', // 照片
|
|
|
+ 'remark',
|
|
|
]
|
|
|
}
|
|
|
///////////////////////////////////////////////调压柜安装//////////////////////////////////////////
|
|
@@ -1592,9 +1601,6 @@ export default {
|
|
|
this.status = 'put'
|
|
|
let title = e.areaName + "-" + e.buildingName + "-" + e.unitName + "-" + e.houseName + " [" + (e.enginType == 'new_built' ? "新建" : '旧改') + "-" + e.enginClassificationName + "]"
|
|
|
let val = e.enginType + "_" + e.enginClassification
|
|
|
- if (e.enginClassification=='pressure_regulating'){
|
|
|
- val = 'gy_tyg'
|
|
|
- }
|
|
|
getDicts(val).then(res => {
|
|
|
let dict = []
|
|
|
for (let i = 0; i < res.data.length; i++) {
|
|
@@ -1637,9 +1643,6 @@ export default {
|
|
|
console.log("viewSource(e, type = null)", title)
|
|
|
this.enginId = e.id
|
|
|
let val = e.enginType + "_" + e.enginClassification
|
|
|
- if (e.enginClassification=='pressure_regulating'){
|
|
|
- val = 'gy_tyg'
|
|
|
- }
|
|
|
getDicts(val).then(res => {
|
|
|
let dict = []
|
|
|
for (let i = 0; i < res.data.length; i++) {
|
|
@@ -1698,9 +1701,6 @@ export default {
|
|
|
this.enginTypeHasChanged(newData.enginType)
|
|
|
let val = newData.enginType + "_" + newData.enginClassification
|
|
|
this.currentCheckList = []
|
|
|
- if (newData.enginClassification=='pressure_regulating'){
|
|
|
- val = 'gy_tyg'
|
|
|
- }
|
|
|
getDicts(val).then(res => {
|
|
|
this.checkList = res.data
|
|
|
console.log(this.checkList)
|
|
@@ -1724,9 +1724,6 @@ export default {
|
|
|
)
|
|
|
return
|
|
|
let val = this.queryParams.enginType + "_" + this.queryParams.enginClassification
|
|
|
- if (this.queryParams.enginClassification=='pressure_regulating'){
|
|
|
- val = 'gy_tyg';
|
|
|
- }
|
|
|
getDicts(val).then(res => {
|
|
|
this.checkList = res.data
|
|
|
})
|
|
@@ -1738,9 +1735,6 @@ export default {
|
|
|
)
|
|
|
return
|
|
|
let val = this.checkingForm.enginType + "_" + this.checkingForm.enginClassification
|
|
|
- if (this.checkingForm.enginClassification=='pressure_regulating'){
|
|
|
- val = 'gy_tyg';
|
|
|
- }
|
|
|
getDicts(val).then(res => {
|
|
|
this.checkingAllList = res.data
|
|
|
})
|
|
@@ -1752,9 +1746,6 @@ export default {
|
|
|
)
|
|
|
return
|
|
|
let val = this.batchForm.enginType + "_" + this.batchForm.enginClassification
|
|
|
- if (this.batchForm.enginClassification=='pressure_regulating'){
|
|
|
- val = 'gy_tyg';
|
|
|
- }
|
|
|
getDicts(val).then(res => {
|
|
|
this.checkingAllList = res.data
|
|
|
})
|
|
@@ -1815,9 +1806,6 @@ export default {
|
|
|
this.queryParams1.type = ''
|
|
|
this.currentEnginTypeChangeOptions2 = []
|
|
|
let params = enginType && enginClassification || this.queryParams1.enginType + '_' + this.queryParams1.enginClassification
|
|
|
- if (this.queryParams1.enginClassification=='pressure_regulating'){
|
|
|
- params = 'gy_tyg'
|
|
|
- }
|
|
|
getDicts(params).then(res => {
|
|
|
this.currentEnginTypeChangeOptions2 = res.data
|
|
|
})
|