新增安全例会签字不好使
parent
e67e07c510
commit
3b0b016db1
|
@ -24,7 +24,6 @@
|
|||
<view class="title">
|
||||
<text>附件</text>
|
||||
</view>
|
||||
<view>
|
||||
<view class="cu-form-p">
|
||||
<scroll-view scroll-x class="bg-white nav" scroll-with-animation>
|
||||
<view class="cu-item" v-for="(item,index) in files" v-bind:key="index">
|
||||
|
@ -35,35 +34,53 @@
|
|||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="wui-form-list">
|
||||
<view class="cu-form-textarea" v-if="!forbidEdit" >
|
||||
<view class="cu-form-textarea" >
|
||||
<view class="cu-form-title text-hui">核实意见</view>
|
||||
<textarea maxlength="-1" v-model="FEED_BACK" placeholder="(必填)"></textarea>
|
||||
<textarea :disabled="forbidEdit" maxlength="-1" v-model="FEED_BACK" placeholder="(必填)"></textarea>
|
||||
</view>
|
||||
<view class="cu-form-group" style="border: none;" v-if="!forbidEdit">
|
||||
<view class="title">签字</view>
|
||||
<button class="cu-btn bg-green shadow" @tap="modalShow = true" data-target="Modal">手写签字</button>
|
||||
</view>
|
||||
<view class="cu-bar bg-white" v-show="signImgList && signImgList.length > 0">
|
||||
<view class="action">
|
||||
签字照片
|
||||
<view v-if="!forbidEdit">
|
||||
<view class="cu-form-group" style="border: none;" v-if="!forbidEdit">
|
||||
<view class="title">签字</view>
|
||||
<button class="cu-btn bg-green shadow" @tap="modalShow = true" data-target="Modal">手写签字</button>
|
||||
</view>
|
||||
</view>
|
||||
<view class="cu-form-group" v-show="signImgList && signImgList.length > 0">
|
||||
<view class="grid col-4 grid-square flex-sub">
|
||||
<view style="width: 60%;" class="bg-img" v-for="(item,index) in signImgList" :key="index" @tap="ViewImage" data-type="0" :data-url="signImgList[index].filePath">
|
||||
<image :src="signImgList[index].filePath" mode="aspectFill"></image>
|
||||
<view class="cu-tag bg-red" @tap.stop="delImg" data-type="0" :data-index="index">
|
||||
<text class='cuIcon-close'></text>
|
||||
<view class="cu-bar bg-white" v-show="signImgList && signImgList.length > 0">
|
||||
<view class="action">
|
||||
签字照片
|
||||
</view>
|
||||
</view>
|
||||
<view class="cu-form-group" v-show="signImgList && signImgList.length > 0">
|
||||
<view class="grid col-4 grid-square flex-sub">
|
||||
<view style="width: 60%;" class="bg-img" v-for="(item,index) in signImgList" :key="index" @tap="ViewImage" data-type="0" :data-url="signImgList[index].filePath">
|
||||
<image :src="signImgList[index].filePath" mode="aspectFill"></image>
|
||||
<view v-if="!forbidEdit" class="cu-tag bg-red" @tap.stop="delImg" data-type="0" :data-index="index">
|
||||
<text class='cuIcon-close'></text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="cu-modal" :class="{'show':modalShow}">
|
||||
<sign @confirm="subCanvas" @cancel="modalShow = false"></sign>
|
||||
</view>
|
||||
</view>
|
||||
<view class="cu-modal" :class="{'show':modalShow}">
|
||||
<sign @confirm="subCanvas" @cancel="modalShow = false"></sign>
|
||||
<view v-else>
|
||||
<view class="cu-form-textarea">
|
||||
<view class="title">
|
||||
<text>签字信息</text>
|
||||
</view>
|
||||
<view class="cu-form-p">
|
||||
<scroll-view scroll-x class="bg-white nav" scroll-with-animation>
|
||||
<view class="cu-item" v-for="(item,index) in filesSing" v-bind:key="index">
|
||||
<view class="imgs">
|
||||
<image :src="baseImgPath+item.FILEPATH" :data-index="index" @click="ViewShowImage(baseImgPath+item.FILEPATH)"
|
||||
mode=""></image>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="cu-bar btn-group" style="margin-top: 30upx;">
|
||||
|
@ -80,7 +97,7 @@
|
|||
corpinfoId,
|
||||
loginUser
|
||||
} from '@/common/tool.js';
|
||||
import sign from '@/components/sign/sign.vue';
|
||||
import sign from '@/components/writing-board/writing-board.vue';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
@ -94,6 +111,7 @@
|
|||
files: [],
|
||||
FEED_BACK: '',
|
||||
signImgList: [],
|
||||
filesSing: [],
|
||||
forbidEdit: false,
|
||||
modalShow: false,
|
||||
basePath: basePath,
|
||||
|
@ -259,8 +277,9 @@
|
|||
if ("success" == res.data.result) {
|
||||
uni.hideLoading();
|
||||
_this.pd = res.data.pd; //参数map
|
||||
_this.FEED_BACK = res.data.pd.FEED_BACK;
|
||||
_this.files = res.data.imgs;
|
||||
_this.signImgList = res.data.singImgs;
|
||||
_this.filesSing = res.data.singImgs;
|
||||
} else if ("exception" == data.result) {
|
||||
uni.showToast({
|
||||
title: '错误',
|
||||
|
|
|
@ -188,7 +188,7 @@
|
|||
<text>设备巡检</text>
|
||||
</view>
|
||||
</navigator>
|
||||
<navigator class="home-apps-item" hover-class="none" url="/pages/application/speEquip/index">
|
||||
<navigator class="home-apps-item" hover-class="none" url="/pages/application/safetymeeting/index">
|
||||
<view class="home-apps-item-img">
|
||||
<image src="../../static/icon-apps/safetymeeting.png" mode=""></image>
|
||||
</view>
|
||||
|
@ -196,7 +196,7 @@
|
|||
<text>安全例会</text>
|
||||
</view>
|
||||
</navigator>
|
||||
|
||||
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
|
Loading…
Reference in New Issue