删除隐患确认人

pull/5/head
fangjiakai 2024-02-20 11:40:42 +08:00
parent 2c5a77582c
commit bfdb4ab1ec
1 changed files with 0 additions and 45 deletions

View File

@ -342,14 +342,6 @@
<!-- </view>--> <!-- </view>-->
<!-- </view>--> <!-- </view>-->
</view> </view>
<!-- <view class="title">隐患确认人</view>-->
<!-- <picker v-if="HIDDEN_STATUS === '-2'" @change="setConUser" :value="form.conUserIndex"-->
<!-- :range="confirmUserAllList" range-key="NAME">-->
<!-- <view class="picker">-->
<!-- {{form.conUserName?form.conUserName:'请选择'}}-->
<!-- </view>-->
<!-- </picker>-->
<!-- <text v-else class="text-semi">{{form.conUserName}}</text>-->
</view> </view>
</view> </view>
@ -428,7 +420,6 @@
},// },//
files: [], files: [],
hiddenVideo: [], hiddenVideo: [],
confirmUserAllList: [], //
videoSrc: '', videoSrc: '',
todayDate: '', todayDate: '',
modalShow: false, modalShow: false,
@ -449,7 +440,6 @@
this.getData(); this.getData();
// //
this.getDept() this.getDept()
this.getDict()
loginSession(); loginSession();
this.rectifyPlanCompletionStartTime = formatDate(tomorrow, 'yyyy-MM-dd'); this.rectifyPlanCompletionStartTime = formatDate(tomorrow, 'yyyy-MM-dd');
@ -571,12 +561,6 @@
this.videoSrc = e.currentTarget.dataset.src this.videoSrc = e.currentTarget.dataset.src
this.modalShow = true this.modalShow = true
}, },
setConUser(e) {
this.form.conUserIndex = e.detail.value;
this.form.CONFIRM_USER = this.confirmUserAllList[e.detail.value].USER_ID;
this.form.conUserName = this.confirmUserAllList[e.detail.value].NAME;
this.$forceUpdate();//
},
submit() { submit() {
var _this = this; var _this = this;
// //
@ -736,35 +720,6 @@
} }
}) })
}, },
//
getDict() {
var _this = this;
uni.request({
method: 'POST',
dataType: 'json',
header: {
'Content-type': 'application/x-www-form-urlencoded'
},
url: basePath + '/app/user/getHiddenConfirm',
data: {
corpinfoId: corpinfoId,
IS_HAZARDCONFIRMER: '1',
tm: new Date().getTime()
},
success: function (res) {
if ("success" == res.data.result) {
_this.confirmUserAllList = res.data.userList;
_this.$forceUpdate();//
} else {
uni.showToast({
title: res.data.message,
duration: 2000
});
}
}
})
},
goback() { goback() {
var pages = getCurrentPages(); // var pages = getCurrentPages(); //