|
@@ -231,7 +231,7 @@
|
|
|
>节点开关
|
|
|
</el-button>
|
|
|
</el-col>
|
|
|
- <el-col :span="2.5" style="margin-left: 66%">
|
|
|
+ <el-col :span="2.5" style="margin-left: 60%">
|
|
|
<el-button
|
|
|
type="danger"
|
|
|
plain
|
|
@@ -277,12 +277,14 @@
|
|
|
placement="top-start"
|
|
|
trigger="hover"
|
|
|
:content="item.Type">
|
|
|
- <span slot="reference" v-if="(item.state == '1'||item.state == '2')"
|
|
|
+ <span slot="reference" v-if="(item.state == '1' && 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>
|
|
|
- <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: yellow;"></span>
|
|
|
+ <span slot="reference" v-if="(item.state == '0' || item.state == '2') && item.Type == '开栓'"
|
|
|
+ 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 == '开栓'"
|
|
|
+ style="height: 20px;margin-right: 5px;width: 20px; border-radius: 50%; display: inline-block; background-color: #6998e0;"></span>
|
|
|
</el-popover>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -1041,6 +1043,9 @@ export default {
|
|
|
'zEngiineeringPhotoBoList', // 照片
|
|
|
]
|
|
|
},
|
|
|
+ {
|
|
|
+ name: '开栓'
|
|
|
+ },
|
|
|
///////////////////////////////////////////////室内工程//////////////////////////////////////////
|
|
|
///////////////////////////////////////////////庭院工程//////////////////////////////////////////
|
|
|
{
|
|
@@ -2169,6 +2174,10 @@ export default {
|
|
|
this.$message.warning("请选择工程分类")
|
|
|
return
|
|
|
}
|
|
|
+ if (this.queryParams1.enginClassification != 'indoor_engin') {
|
|
|
+ this.$message.warning("颜色导出只支持室内工程")
|
|
|
+ return
|
|
|
+ }
|
|
|
this.download('zdsz/engineeringCivil/exportColor', {
|
|
|
...this.queryParams1
|
|
|
}, `民用工程-${new Date().getTime()}.xlsx`)
|