flx:修改安全检查

This commit is contained in:
Rain_ 2025-08-28 18:15:59 +08:00
parent b5dcd87654
commit 758780fc2f
6 changed files with 54 additions and 26 deletions

View File

@ -55,7 +55,7 @@ if (process.env.NODE_ENV === 'development') {
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:61212/' //杰哥内网穿透地址
// Vue.prototype.url_config = 'http://192.168.34.221:28890/' //郭圣雄本地
// Vue.prototype.url_config = 'http://192.168.34.221:28888/' //郭圣雄本地
// Vue.prototype.url_config = 'http://192.168.34.221:8111/' //郭圣雄本地
Vue.prototype.url_config = 'http://192.168.34.221:8111/' //郭圣雄本地
// Vue.prototype.url_config = 'http://192.168.34.221:19112/' //郭圣雄本地
// Vue.prototype.url_config = 'http://182.90.224.237:51234/' //郭圣雄本地
// Vue.prototype.url_config = 'http://192.168.34.155:19111/' //彭洁本地
@ -127,8 +127,8 @@ if (process.env.NODE_ENV === 'development') {
Vue.prototype.work_url = 'http://101.43.164.214:11137'// 新金湾地址 通用
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:9500/'// 测试环境h5
// Vue.prototype.url_config = 'https://192.168.1.2/'// 青海中水北方
Vue.prototype.url_config = 'http://jxj.zhgdyun.com:21000/'// 潮州项目h5
Vue.prototype.url_config = 'https://192.168.1.2/'// 青海中水北方
// Vue.prototype.url_config = 'http://jxj.zhgdyun.com:21000/'// 潮州项目h5
// Vue.prototype.url_config = 'http://222.80.185.228:6090/' // 木垒县新能源工程线上地址
// Vue.prototype.url_config = 'http://10.168.1.105:11111/' // 线上地址

View File

@ -116,6 +116,16 @@
</view>
</view>
</view>
<view class="item">
<view class="itemInner">
<view class="num">
{{realTimeData.evaporationRate || '--'}} mm
</view>
<view class="label">
蒸发量
</view>
</view>
</view>
</view>
</view>
<view v-if="COMPANY != 'longguang' && sprayDevManage" class="blockTitle">

View File

@ -57,10 +57,10 @@
? item.displayFieldName
: item.originalFieldName}}</view>
<picker :disabled="true" @click="$refs.issueTree._show()" class="picker">
<view class="uni-input uni-select cl" v-if="issueName==''">
<view class="uni-input uni-select cl" v-if="item.originalFieldName == '排查分类' ? !issueName : !form.problemDescription">
请选择 <image class="icon-down" src="/static/icon-down-black.png"></image>
</view>
<view class="uni-input uni-select" v-else>{{issueName}}
<view class="uni-input uni-select" v-else>{{item.originalFieldName == '排查分类' ? issueName : form.problemDescription}}
<image class="icon-down" src="/static/icon-down-black.png"></image>
</view>
</picker>
@ -70,7 +70,7 @@
? item.displayFieldName
: item.originalFieldName}}</view>
<picker class="picker" :disabled="true">
<view class="uni-input uni-select cl" v-if="issueName==''">
<view class="uni-input uni-select cl" v-if="!issueName">
请输入
</view>
<view class="uni-input uni-select" v-else>{{issueName}}
@ -1124,11 +1124,16 @@
if (val[0].parents.length == 0) {
this.form.dangerTypeId = val[0].id;
this.issueName = val[0].dangerName;
this.form.problemDescription = val[0].dangerName;
} else {
this.form.dangerTypeId = val[0].parents[0].id;
this.issueName = val[0].parents.map(item => item.dangerName).join('/') + '/' + val[0]
.dangerName;
this.form.dangerName = val[0].dangerName
if(this.checkedTab=='type2') {
this.issueName = val[0].parents.map(item => item.dangerName).join('/') + '/' + val[0].dangerName;
} else {
this.issueName = val[0].parents.map(item => item.dangerName).join('/');
}
//
this.form.problemDescription = val[0].dangerName;
}
const find = this.securityDangerFieldList.find(
(item) =>

View File

@ -57,10 +57,10 @@
? item.displayFieldName
: item.originalFieldName}}</view>
<picker :disabled="true" @click="$refs.issueTree._show()" class="picker">
<view class="uni-input uni-select cl" v-if="issueName==''">
<view class="uni-input uni-select cl" v-if="item.originalFieldName == '排查分类' ? !issueName : !form.problemDescription">
请选择 <image class="icon-down" src="/static/icon-down-black.png"></image>
</view>
<view class="uni-input uni-select" v-else>{{issueName}}
<view class="uni-input uni-select" v-else>{{item.originalFieldName == '排查分类' ? issueName : form.problemDescription}}
<image class="icon-down" src="/static/icon-down-black.png"></image>
</view>
</picker>
@ -70,7 +70,7 @@
? item.displayFieldName
: item.originalFieldName}}</view>
<picker class="picker" :disabled="true">
<view class="uni-input uni-select cl" v-if="issueName==''">
<view class="uni-input uni-select cl" v-if="!issueName">
请输入
</view>
<view class="uni-input uni-select" v-else>{{issueName}}
@ -645,7 +645,7 @@
};
that.checkPointName = that.form.regionName;
that.issueName = that.form.dangerItemContent;
that.form.dangerItemContent = that.form.problemDescription;
// that.form.dangerItemContent = that.form.problemDescription;
that.form.inspectTime = dateformat(new Date());
this.$nextTick(() => {
const resultList = this.getAllIds(this.checkPointList);
@ -1211,13 +1211,17 @@
if (val[0].parents.length == 0) {
this.form.dangerTypeId = val[0].id;
this.issueName = val[0].dangerName;
this.form.problemDescription = val[0].dangerName;
} else {
this.form.dangerTypeId = val[0].parents[0].id;
// this.issueName = val[0].parents[0].dangerName + '/' + val[0].parents[1].dangerName + '/' + val[0]
// .dangerName;
this.issueName = val[0].parents.map(item => item.dangerName).join('/') + '/' + val[0]
.dangerName;
this.form.dangerName = val[0].dangerName
if(this.checkedTab=='type2') {
this.issueName = val[0].parents.map(item => item.dangerName).join('/') + '/' + val[0].dangerName;
} else {
this.issueName = val[0].parents.map(item => item.dangerName).join('/');
}
this.form.problemDescription = val[0].dangerName;
}
const find = this.securityDangerList.find(
(item) =>

View File

@ -58,11 +58,11 @@
: item.originalFieldName}}</view>
<picker style="height: initial;min-height: 68rpx;" :disabled="true" @click="$refs.issueTree._show()"
class="picker">
<view class="uni-input uni-select cl" v-if="!issueName">
<view class="uni-input uni-select cl" v-if="!form.problemDescription">
请选择 <image class="icon-down" src="/static/icon-down-black.png"></image>
</view>
<view class="uni-input uni-select1" v-else>
<span style="width: 90%;">{{issueName}}</span>
<span style="width: 90%;">{{form.problemDescription}}</span>
<image class="icon-down" src="/static/icon-down-black.png"></image>
</view>
</picker>
@ -72,7 +72,7 @@
? item.displayFieldName
: item.originalFieldName}}</view>
<picker class="picker" style="height: initial;min-height: 68rpx;" :disabled="true">
<view class="uni-input uni-select cl" v-if="issueName==''">
<view class="uni-input uni-select cl" v-if="!issueName">
请输入
</view>
<view class="uni-input uni-select2" v-else>{{issueName}}
@ -652,7 +652,8 @@
};
that.checkPointName = that.form.regionName;
that.issueName = that.form.dangerItemContent;
that.form.dangerItemContent = that.form.problemDescription;
// that.form.dangerItemContent = that.form.dangerItemContent;
that.form.inspectTime = dateformat(new Date());
// this.$nextTick(() => {
// const resultList = this.getAllIds(this.checkPointList);
@ -1193,13 +1194,16 @@
if (val[0].parents.length == 0) {
this.form.dangerTypeId = val[0].id;
this.issueName = val[0].dangerName;
this.form.problemDescription = val[0].dangerName
} else {
this.form.dangerTypeId = val[0].parents[0].id;
// this.issueName = val[0].parents[0].dangerName + '/' + val[0].parents[1].dangerName + '/' + val[0]
// .dangerName;
this.issueName = val[0].parents.map(item => item.dangerName).join('/') + '/' + val[0]
.dangerName;
this.form.dangerName = val[0].dangerName
if(this.checkedTab=='type2') {
this.issueName = val[0].parents.map(item => item.dangerName).join('/') + '/' + val[0].dangerName;
} else {
this.issueName = val[0].parents.map(item => item.dangerName).join('/');
}
// + '/' + val[0].dangerName;
this.form.problemDescription = val[0].dangerName
}
const find = this.securityDangerFieldList.find(
(item) =>

View File

@ -1061,7 +1061,12 @@
>view:last-child {
flex: 1;
color: #4D4D4D;
word-break: break-all;
// word-break: break-all;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
// display: -webkit-box;
// -webkit-box-orient: vertical;
// -webkit-line-clamp: 1;