1、放开定位功能

八项作业
liujun 2024-10-28 14:08:34 +08:00
parent 8703190849
commit dc1faeef29
9 changed files with 31 additions and 24 deletions

View File

@ -175,8 +175,8 @@ export default {
BOARD_INSTALL_TIME: '', BOARD_INSTALL_TIME: '',
WORK_END_DATE: '', WORK_END_DATE: '',
WORK_USER: '', WORK_USER: '',
WORK_LONGITUDE: '1', WORK_LONGITUDE: '',
WORK_LATITUDE: '2', WORK_LATITUDE: '',
MEDIUM: '', MEDIUM: '',
TEMPERATURE: '', TEMPERATURE: '',
PRESSURE: '', PRESSURE: '',

View File

@ -128,8 +128,8 @@ export default {
CORP_NAME: '', CORP_NAME: '',
WORK_START_DATE: '', WORK_START_DATE: '',
WORK_END_DATE: '', WORK_END_DATE: '',
WORK_LONGITUDE: '1', WORK_LONGITUDE: '',
WORK_LATITUDE: '2', WORK_LATITUDE: '',
WORK_PLACE: '', WORK_PLACE: '',
JOB_CONTENT: '', JOB_CONTENT: '',
WORK_CONTENT: '', WORK_CONTENT: '',

View File

@ -119,8 +119,8 @@ export default {
WORK_CONTENT: '', WORK_CONTENT: '',
WORK_START_DATE: '', WORK_START_DATE: '',
WORK_END_DATE: '', WORK_END_DATE: '',
WORK_LONGITUDE: '1', WORK_LONGITUDE: '',
WORK_LATITUDE: '2', WORK_LATITUDE: '',
WORK_USER: '', WORK_USER: '',
SPECIAL_WORK: '', SPECIAL_WORK: '',
RISK_IDENTIFICATION: '', RISK_IDENTIFICATION: '',

View File

@ -128,8 +128,8 @@ export default {
CORP_NAME: '', CORP_NAME: '',
WORK_START_DATE: '', WORK_START_DATE: '',
WORK_END_DATE: '', WORK_END_DATE: '',
WORK_LONGITUDE: '1', WORK_LONGITUDE: '',
WORK_LATITUDE: '2', WORK_LATITUDE: '',
OTHER_DEPT: '', OTHER_DEPT: '',
WORK_REASON: '', WORK_REASON: '',
WORK_CONTENT: '', WORK_CONTENT: '',

View File

@ -132,8 +132,8 @@ export default {
CORP_NAME: '', CORP_NAME: '',
WORK_START_DATE: '', WORK_START_DATE: '',
WORK_END_DATE: '', WORK_END_DATE: '',
WORK_LONGITUDE: '1', WORK_LONGITUDE: '',
WORK_LATITUDE: '2', WORK_LATITUDE: '',
WORK_PLACE: '', WORK_PLACE: '',
WORK_CONTENT: '', WORK_CONTENT: '',
WORK_USER: '', WORK_USER: '',

View File

@ -121,8 +121,8 @@ export default {
WORK_CONTENT: '', WORK_CONTENT: '',
WORK_START_DATE: '', WORK_START_DATE: '',
WORK_END_DATE: '', WORK_END_DATE: '',
WORK_LONGITUDE: '1', WORK_LONGITUDE: '',
WORK_LATITUDE: '2', WORK_LATITUDE: '',
SPECIAL_WORK: '', SPECIAL_WORK: '',
RISK_IDENTIFICATION: '', RISK_IDENTIFICATION: '',
}, },

View File

@ -136,8 +136,8 @@ export default {
WORK_CONTENT: '', WORK_CONTENT: '',
WORK_START_DATE: '', WORK_START_DATE: '',
WORK_END_DATE: '', WORK_END_DATE: '',
WORK_LONGITUDE: '1', WORK_LONGITUDE: '',
WORK_LATITUDE: '2', WORK_LATITUDE: '',
SPECIAL_WORK: '', SPECIAL_WORK: '',
RISK_IDENTIFICATION: '', RISK_IDENTIFICATION: '',
}, },

View File

@ -94,7 +94,7 @@ export default {
}, },
fnSelectDepartment(index) { fnSelectDepartment(index) {
uni.navigateTo({ uni.navigateTo({
url: "/pages/eight_assignments/select_department", url: `/pages/eight_assignments/select_department?CORP_ID=${this.form.CORP_ID}`,
events: { events: {
confirm: (event) => { confirm: (event) => {
this.hotWorkOperatorList[index].DEPARTMENT_NAME = event.DEPARTMENT_NAME; this.hotWorkOperatorList[index].DEPARTMENT_NAME = event.DEPARTMENT_NAME;
@ -140,6 +140,7 @@ export default {
form: {...this.form, hotWorkOperatorList: this.hotWorkOperatorList}, form: {...this.form, hotWorkOperatorList: this.hotWorkOperatorList},
formItems: this.formItems, formItems: this.formItems,
TYPE: "hotWork", TYPE: "hotWork",
CORP_ID: this.form.CORP_ID,
EW_RU_TASK_ID: this.taskId, EW_RU_TASK_ID: this.taskId,
}); });
}, },

View File

@ -16,16 +16,22 @@
</view> </view>
</view> </view>
<view class="home-apps"> <view class="home-apps">
<template v-for="(item,index) in baseList"> <view class="home-apps-item" @click="fnScan">
<view class="home-apps-item" :key="index" v-if="fnIsShow(index)" @click="fnNavigator(index)"> <view class="home-apps-item-img">
<view class="home-apps-item-img"> <image src="../../static/icon-apps/app_icons6.png" mode=""></image>
<image :src="item.img" mode=""></image>
</view>
<view class="text">
<text>{{ item.title }}</text>
</view>
</view> </view>
</template> <view class="text">
<text>扫码</text>
</view>
</view>
<view class="home-apps-item" v-for="(item,index) in baseList" :key="index" @click="fnNavigator(index)">
<view class="home-apps-item-img">
<image :src="item.img" mode=""></image>
</view>
<view class="text">
<text>{{ item.title }}</text>
</view>
</view>
</view> </view>
<u-modal :show="updateVersion.modalShow" title="温馨提示" :showConfirmButton="updateVersion.showConfirmButton" <u-modal :show="updateVersion.modalShow" title="温馨提示" :showConfirmButton="updateVersion.showConfirmButton"
:showCancelButton="updateVersion.showCancelButton" :confirmText="updateVersion.confirmText" :cancelText="updateVersion.cancelText" :showCancelButton="updateVersion.showCancelButton" :confirmText="updateVersion.confirmText" :cancelText="updateVersion.cancelText"