flx:提交安全/质量违章人员
This commit is contained in:
parent
99be65b2f7
commit
4b91694c9e
4
main.js
4
main.js
@ -38,13 +38,13 @@ if (process.env.NODE_ENV === 'development') {
|
||||
// 开发环境
|
||||
console.log('开发环境')
|
||||
// Vue.prototype.url_config = 'http://47.93.215.234:9809/' // 鞍钢正式地址(弃用)
|
||||
Vue.prototype.url_config = 'http://42.180.188.17:9809/' // 鞍钢正式地址
|
||||
// Vue.prototype.url_config = 'http://42.180.188.17:9809/' // 鞍钢正式地址
|
||||
// Vue.prototype.url_config = 'http://42.180.188.17:11211/' // 鞍钢测试地址
|
||||
// Vue.prototype.url_config = 'http://182.90.224.237:51234/' //雄哥内网穿透地址
|
||||
// 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:9111/' //郭圣雄本地
|
||||
Vue.prototype.url_config = 'http://192.168.34.221:9111/' //郭圣雄本地
|
||||
// Vue.prototype.url_config = 'http://182.90.224.237:51234/' //郭圣雄本地
|
||||
// Vue.prototype.url_config = 'http://192.168.34.155:19111/' //彭洁本地
|
||||
// Vue.prototype.work_url = 'http://47.93.215.234:19997' // 工作流线上地址(弃用)
|
||||
|
||||
@ -174,7 +174,7 @@
|
||||
<view class="table_content" v-show="item.isShow">
|
||||
<view class="message imgList" style="font-size: 14px;" v-if="item.type == 1 && item.violatorId">
|
||||
<span>违章人员:</span>
|
||||
<span>{{ personList.find(ele => ele.id == item.violatorId).workerName }}</span>
|
||||
<span>{{ personList.filter(ele => item.violatorId.includes(ele.id)).map(ele => ele.workerName).join('、') }}</span>
|
||||
</view>
|
||||
<view class="imgList" v-if="Array.isArray(item.fileUrl)">
|
||||
<ul>
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
<view class="uni-form-label">
|
||||
<text class="star">*</text>违章人员
|
||||
</view>
|
||||
<picker mode="selector" :range="personList" range-key="workerName" @change="handleChangeRegion"
|
||||
<!-- <picker mode="selector" :range="personList" range-key="workerName" @change="handleChangeRegion"
|
||||
filterable>
|
||||
<view class="picker">
|
||||
<view class="" style="color: #c0c4cc; font-size: 28rpx;" v-if="!violatorId">
|
||||
@ -54,7 +54,8 @@
|
||||
{{workerName}}
|
||||
</view>
|
||||
</view>
|
||||
</picker>
|
||||
</picker> -->
|
||||
<g-picker v-model="workerName" :columns="personList" :filter="{label: 'workerName', value: 'id'}" input-align="left" @confirm="handleChangeCharger"></g-picker>
|
||||
</view>
|
||||
<view class="uni-form-item">
|
||||
<view class="uni-form-label">
|
||||
@ -179,6 +180,10 @@
|
||||
this.workerName = findItem.workerName;
|
||||
console.info(this.enterpriseList, 'enlist')
|
||||
},
|
||||
handleChangeCharger(e,values,labels) {
|
||||
this.violatorId = values.join(',');
|
||||
this.workerName = labels.join('、');
|
||||
},
|
||||
imgUrl(val) {
|
||||
this.openImg = false
|
||||
this.imgUpload(val)
|
||||
|
||||
@ -173,7 +173,7 @@
|
||||
<view class="table_content" v-show="item.isShow">
|
||||
<view class="message imgList" style="font-size: 14px;" v-if="item.type == 1 && item.violatorId">
|
||||
<span>违章人员:</span>
|
||||
<span>{{ personList.find(ele => ele.id == item.violatorId).workerName }}</span>
|
||||
<span>{{ personList.filter(ele => item.violatorId.includes(ele.id)).map(ele => ele.workerName).join('、') }}</span>
|
||||
</view>
|
||||
<view class="imgList">
|
||||
<ul>
|
||||
|
||||
@ -43,7 +43,7 @@
|
||||
<view class="uni-form-label">
|
||||
<text class="star">*</text>违章人员
|
||||
</view>
|
||||
<picker mode="selector" :range="personList" range-key="workerName" @change="handleChangeRegion"
|
||||
<!-- <picker mode="selector" :range="personList" range-key="workerName" @change="handleChangeRegion"
|
||||
filterable>
|
||||
<view class="picker">
|
||||
<view class="" style="color: #c0c4cc; font-size: 28rpx;" v-if="!violatorId">
|
||||
@ -53,7 +53,8 @@
|
||||
{{workerName}}
|
||||
</view>
|
||||
</view>
|
||||
</picker>
|
||||
</picker> -->
|
||||
<g-picker v-model="workerName" :columns="personList" :filter="{label: 'workerName', value: 'id'}" input-align="left" @confirm="handleChangeCharger"></g-picker>
|
||||
</view>
|
||||
<view class="uni-form-item">
|
||||
<view class="uni-form-label">
|
||||
@ -179,6 +180,10 @@ import dateTimePiccker from '@/components/dateTimePicker/index.vue'
|
||||
this.workerName = findItem.workerName;
|
||||
console.info(this.enterpriseList, 'enlist')
|
||||
},
|
||||
handleChangeCharger(e,values,labels) {
|
||||
this.violatorId = values.join(',');
|
||||
this.workerName = labels.join('、');
|
||||
},
|
||||
imgUrl(val) {
|
||||
this.openImg = false
|
||||
this.imgUpload(val)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user