初始化

2023年12月27日V01.00.50
guoyuepeng 2023-11-08 09:17:38 +08:00
parent e92141c2b4
commit e7107158cf
7 changed files with 41 additions and 17 deletions

View File

@ -2,7 +2,7 @@
"name" : "秦港双控-监管端",
"appid" : "__UNI__DB65C6B",
"description" : "秦港双控-监管端",
"versionName" : "01.00.42",
"versionName" : "01.00.44",
"versionCode" : 42,
"transformPx" : false,
/* 5+App

View File

@ -114,6 +114,21 @@
</u-cell>
</u-cell-group>
</view>
<view class="card" v-if="form.SAFETY_NAME">
<view class="view-title">
<u--text text="安全负责人信息" bold></u--text>
</view>
<u-cell-group :border="false" class="mt-10">
<u-cell>
<view slot="title" class="title">姓名</view>
<view slot="value">{{ form.SAFETY_NAME }}</view>
</u-cell>
<u-cell>
<view slot="title" class="title">手机号码</view>
<view slot="value">{{ form.SAFETY_PHONE }}</view>
</u-cell>
</u-cell-group>
</view>
</template>
<template v-if="subsectionCurrent === 1">
<u-list v-if="list.length > 0">

View File

@ -40,11 +40,12 @@
</view>
<view class="flex-end mt-10 subtitle">
<u-button
v-if="item.ISPUNISH !== '2'
&& item.CREATOR == userInfo.USER_ID
|| tabsType === '2'
v-if="item.CREATOR == userInfo.USER_ID
&& tabsType === '1'
"
type="primary" :text="tabsType === '1' ? '验收' : '查看'" size="mini" class="bth-mini" @click="fnNavigatorDetail(item.HIDDEN_ID)"></u-button>
type="primary" text="验收" size="mini" class="bth-mini" @click="fnNavigatorDetail(item.HIDDEN_ID,'acceptance')"></u-button>
<u-button
type="primary" text="查看" size="mini" class="bth-mini ml-10" @click="fnNavigatorDetail(item.HIDDEN_ID,'view')"></u-button>
<!-- <u-button
v-if="item.ISPUNISH !== '2'
&& !item.KEYPROJECTPUNISH_ID
@ -186,12 +187,12 @@ export default {
this.list = []
this.getData()
},
fnNavigatorDetail(HIDDEN_ID){
fnNavigatorDetail(HIDDEN_ID,type){
uni.$u.route({
url: '/pages/key-project-management/hidden-management/view',
params: {
HIDDEN_ID,
type: this.tabsType === '1' ? 'acceptance' : 'view'
type: type
}
})
},

View File

@ -95,12 +95,12 @@
</u-row>
</view>
</u-cell>
<view class="card">
<view class="card" v-show="type === 'acceptance'||hiddenData.STATE==='4'">
<view class="view-title">
<u--text text="隐患验收"></u--text>
<u--text text="验收信息"></u--text>
</view>
</view>
<u-cell>
<u-cell v-if="type === 'acceptance'||hiddenData.STATE==='4'">
<view slot="title" class="title required">验收时间</view>
<view slot="value">
<text @click="type === 'view' ? null : timeShow = true">{{ CHECKTIME || '请选择' }}</text>
@ -110,7 +110,7 @@
@confirm="timeConfirm"></u-datetime-picker>
</view>
</u-cell>
<u-cell class="flex-none">
<u-cell class="flex-none" v-if="type === 'acceptance'||hiddenData.STATE==='4'">
<view slot="title" class="title required">验收图片</view>
<view slot="value" class="mt-10">
<u-upload
@ -235,6 +235,9 @@ export default {
this.form.CHECKTIME = resData.pd.CHECKTIME
this.form.ISPUNISH = resData.pd.ISPUNISH
this.punishForm = resData.pd.punishForm
if(this.punishForm){
this.punishForm.HANDLE_IMG = this.$store.state.filePath +this.punishForm.HANDLE_IMG;
}
},
previewVideo(videoUrl){
this.modalShow = true;

View File

@ -53,7 +53,7 @@
<view v-if="punishForm.ISPUNISH==1">
<u-cell>
<view slot="title" class="title required">
处罚原因
处罚原因:
</view>
<view slot="value">
<u--input v-model="punishForm.REASON" border="none" inputAlign="right"></u--input>
@ -61,9 +61,9 @@
</u-cell>
<u-cell>
<view slot="title" class="title required">
处罚金额()
处罚金额():
</view>
<view slot="value">
<view slot="value" style="flex: 1;">
<u--input v-model="punishForm.AMOUT" border="none" type="number" inputAlign="right"></u--input>
</view>
</u-cell>
@ -208,7 +208,7 @@ export default {
editHiddenIspunish({
...this.punishForm,
ISPUNISH:Ispunish,
PUNISH_PERSON:UserInfo.USER_ID
PUNISH_PERSON:this.userInfo.USER_ID
})
this.punishForm= {
HIDDEN_ID: '',

View File

@ -97,7 +97,7 @@
</u-cell>
<view class="card" v-show="hiddenData.STATE==='4'">
<view class="view-title">
<u--text text="隐患验收"></u--text>
<u--text text="验收信息"></u--text>
</view>
</view>
<u-cell v-show="hiddenData.STATE==='4'">
@ -221,6 +221,7 @@ export default {
resData.pd.zgImgs[j].url =
this.$store.state.filePath + resData.pd.zgImgs[j].FILEPATH;
}
console.log(this.$store.state.filePath);
for (let j = 0; j < resData.pd.ysImgs.length; j++) {
resData.pd.ysImgs[j].url =
this.$store.state.filePath + resData.pd.ysImgs[j].FILEPATH;
@ -230,6 +231,9 @@ export default {
this.form.CHECKTIME = resData.pd.CHECKTIME
this.form.ISPUNISH = resData.pd.ISPUNISH
this.punishForm = resData.pd.punishForm
if(this.punishForm){
this.punishForm.HANDLE_IMG = this.$store.state.filePath +this.punishForm.HANDLE_IMG;
}
},
previewVideo(videoUrl){
this.modalShow = true;

View File

@ -80,6 +80,7 @@ export default {
showCount: this.pageSize,
currentPage: this.currentPage,
UserId: this.userInfo.USER_ID,
STATE:'1'
});
this.list = [...this.list,...resData.varList];
this.totalPage = resData.page.totalPage;