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