修复bug
parent
c3cb02c9c4
commit
8a9707e924
|
@ -67,7 +67,7 @@
|
||||||
<text></text>
|
<text></text>
|
||||||
<text>
|
<text>
|
||||||
<button class="cu-btn bg-blue margin-tb-sm sm" @click="$noMultipleClicks(goToDetail,item.OUTSOURCED_ID)">查看</button>
|
<button class="cu-btn bg-blue margin-tb-sm sm" @click="$noMultipleClicks(goToDetail,item.OUTSOURCED_ID)">查看</button>
|
||||||
<button style="margin-left: 20upx;" class="cu-btn bg-blue margin-tb-sm sm" @click="$noMultipleClicks(goToVideo,item.OUTSOURCED_ID)">播放</button>
|
<!-- <button style="margin-left: 20upx;" class="cu-btn bg-blue margin-tb-sm sm" @click="$noMultipleClicks(goToVideo,item.OUTSOURCED_ID)">播放</button> -->
|
||||||
</text>
|
</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
|
@ -25,19 +25,10 @@
|
||||||
<view>{{form.INSPECTION_CATEGORY}}现场检查记录</view>
|
<view>{{form.INSPECTION_CATEGORY}}现场检查记录</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group">
|
<view class="cu-form-group">
|
||||||
<view class="title" style="height: auto;">
|
<view class="title">
|
||||||
<view>被检查单位:</view>
|
<view>被检查单位:</view>
|
||||||
</view>
|
</view>
|
||||||
<block v-if="!forbidEdit">
|
<view>{{ form.UNITS_NAME }}</view>
|
||||||
<view class="picker-tree-box">
|
|
||||||
<view class="picker-tree" @tap="showZgTree('tkiTree1', 1)">
|
|
||||||
{{ form.UNITS_NAME || '请选择' }}
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<tki-tree ref="tkiTree1" :selectParent=true :range="treeNode" rangeKey="UNITS_NAME"
|
|
||||||
@confirm="zgtreeConfirm($event,'inspectedSiteuserList')" @cancel="zgtreeCancel"></tki-tree>
|
|
||||||
</block>
|
|
||||||
<block v-else>{{ form.UNITS_NAME }}</block>
|
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group" v-if="form.UNITS_NAME">
|
<view class="cu-form-group" v-if="form.UNITS_NAME">
|
||||||
<view class="title">被检查单位现场负责人:</view>
|
<view class="title">被检查单位现场负责人:</view>
|
||||||
|
@ -1519,9 +1510,13 @@
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
if ("success" == res.data.result) {
|
if ("success" == res.data.result) {
|
||||||
_this.treeNode = res.data.varList;
|
_this.treeNode = res.data.varList;
|
||||||
_this.form.UNITS_NAME = _this.treeNode[0].UNITS_NAME
|
if(!_this.form.UNITS_NAME) {
|
||||||
_this.form.UNITS_ID = _this.treeNode[0].UNITS_ID
|
_this.form.UNITS_NAME = _this.treeNode[0].UNITS_NAME
|
||||||
_this.getUserList('inspectedSiteuserList', _this.treeNode[0].UNITS_ID)
|
}
|
||||||
|
if(!_this.form.UNITS_ID) {
|
||||||
|
_this.form.UNITS_ID = _this.treeNode[0].UNITS_ID
|
||||||
|
}
|
||||||
|
_this.getUserList('inspectedSiteuserList', _this.form.UNITS_ID)
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.data.message,
|
title: res.data.message,
|
||||||
|
@ -1577,7 +1572,8 @@
|
||||||
},
|
},
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
if ("success" == res.data.result) {
|
if ("success" == res.data.result) {
|
||||||
console.log(res.data.pd);
|
_this.form.UNITS_NAME = res.data.pd.UNITS_NAME
|
||||||
|
_this.form.UNITS_ID = res.data.pd.UNITS_ID
|
||||||
_this.form.PERSONNELMANAGEMENT_ID = res.data.pd.PERSONNELMANAGEMENT_ID;
|
_this.form.PERSONNELMANAGEMENT_ID = res.data.pd.PERSONNELMANAGEMENT_ID;
|
||||||
_this.form.PERSON_NAME = res.data.pd.NAME;
|
_this.form.PERSON_NAME = res.data.pd.NAME;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<view>
|
<view>
|
||||||
<cu-custom bgColor="bg-gradual-blueness" :isBack="true">
|
<cu-custom bgColor="bg-gradual-blueness" :isBack="true">
|
||||||
<block slot="backText">返回</block>
|
<block slot="backText">返回</block>
|
||||||
<block slot="content">安全环保检查指派确认人</block>
|
<block slot="content">安全环保检查指派</block>
|
||||||
</cu-custom>
|
</cu-custom>
|
||||||
<view class="form">
|
<view class="form">
|
||||||
<view class="wui-form-list">
|
<view class="wui-form-list">
|
||||||
|
@ -332,7 +332,7 @@
|
||||||
<view class="title">整改期限</view>
|
<view class="title">整改期限</view>
|
||||||
<picker mode="date" :value="form.RECTIFICATIONDEADLINE" :start="rectifyPlanCompletionStartTime"
|
<picker mode="date" :value="form.RECTIFICATIONDEADLINE" :start="rectifyPlanCompletionStartTime"
|
||||||
@change="changeDate">
|
@change="changeDate">
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
{{ form.RECTIFICATIONDEADLINE ? form.RECTIFICATIONDEADLINE : '请选择' }}
|
{{ form.RECTIFICATIONDEADLINE ? form.RECTIFICATIONDEADLINE : '请选择' }}
|
||||||
</view>
|
</view>
|
||||||
</picker>
|
</picker>
|
||||||
|
@ -398,6 +398,7 @@
|
||||||
HIDDEN_STATUS: '', // 检查ID
|
HIDDEN_STATUS: '', // 检查ID
|
||||||
principalList: [],
|
principalList: [],
|
||||||
form: {
|
form: {
|
||||||
|
RECTIFICATIONORNAME:'',
|
||||||
HIDDENDESCR: '', // 隐患描述
|
HIDDENDESCR: '', // 隐患描述
|
||||||
CREATORNAME: '', // 隐患责任人
|
CREATORNAME: '', // 隐患责任人
|
||||||
HIDDENLEVELNAME: '', // 隐患级别
|
HIDDENLEVELNAME: '', // 隐患级别
|
||||||
|
|
|
@ -464,7 +464,7 @@
|
||||||
if ("success" == res.data.result) {
|
if ("success" == res.data.result) {
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
_this.form = res.data.pd; //参数map
|
_this.form = res.data.pd; //参数map
|
||||||
_this.form.hiddenForm = res.data.hiddenList[0];
|
_this.form.hiddenForm = res.data.pd.hiddenList[0];
|
||||||
for (let i = 0; i < _this.form.inspectorList.length; i++) {
|
for (let i = 0; i < _this.form.inspectorList.length; i++) {
|
||||||
_this.inspectorList.push([])
|
_this.inspectorList.push([])
|
||||||
_this.getUserList('inspectorList', _this.form.inspectorList[i].INSPECTION_DEPARTMENT_ID, i)
|
_this.getUserList('inspectorList', _this.form.inspectorList[i].INSPECTION_DEPARTMENT_ID, i)
|
||||||
|
|
Loading…
Reference in New Issue