责任状

dev-2024年1月8日
zhaoyu 2024-01-11 11:40:03 +08:00
parent 1b237cca8a
commit ca21ef888d
1 changed files with 31 additions and 7 deletions

View File

@ -13,17 +13,11 @@
<view v-if="info.TYPE === '0'"> <view v-if="info.TYPE === '0'">
若违反上述承诺和未履行安全生产职责或发生责任事故的接受政府或公司事故调查组做出的处罚决定 若违反上述承诺和未履行安全生产职责或发生责任事故的接受政府或公司事故调查组做出的处罚决定
</view> </view>
<view v-if="info.TYPE === '0'">
承诺期限自{{ info.PROMISE_TERM_START }}{{ info.PROMISE_TERM_END }}
</view>
<view v-if="info.TYPE === '1'"> <view v-if="info.TYPE === '1'">
若未履行安全生产职责或发生生产安全事故的接受公司或政府事故调查组做出的处罚 若未履行安全生产职责或发生生产安全事故的接受公司或政府事故调查组做出的处罚
</view> </view>
<view v-if="info.TYPE === '1'">
责任期限自{{ info.PROMISE_TERM_START }}{{ info.PROMISE_TERM_END }}
</view>
</view> </view>
<view class="footer"> <view class="footer" v-if="info.TYPE === '0'">
<view v-if="info.TYPE === '0'" class="hairdresser">()</view> <view v-if="info.TYPE === '0'" class="hairdresser">()</view>
<view v-if="info.TYPE === '1'" class="hairdresser"> <view v-if="info.TYPE === '1'" class="hairdresser">
<view class="promiser">发状人{{ info.COVERPEOPLE }}</view> <view class="promiser">发状人{{ info.COVERPEOPLE }}</view>
@ -43,6 +37,31 @@
</view> </view>
</view> </view>
</view> </view>
<view class="footer" v-if="info.TYPE === '1'">
<view class="hairdresser" v-if="COVERPEOPLE[0].ISPROMISE_PEOPLE=='1'">
<view class="promiser">发状人
<u--image v-if="info.FILEPATH" :showLoading="true" :src="info.FILEPATH"
width="200upx" height="100px" mode="scaleToFill"></u--image>
<u-button type="primary" :text="info.FILEPATH ? '重签' : '手写签字'" size="mini" class="bth-mini" @click="signShow = true"></u-button>
</view>
<view class="time">
{{ COVERPEOPLE[0].SIGNTIME }}
</view>
</view>
<view class="respondent">
<view class="promiser">
<text>
{{ info.TYPE === '0' ? '主要负责人签字' : '受状人' }}
</text>
<u--image v-if="ORDER[0].FILEPATH" :showLoading="true" :src="$store.state.filePath +ORDER[0].FILEPATH"
width="200upx" height="100px" mode="scaleToFill"></u--image>
</view>
<view class="time">
{{ ORDER[0].SIGNTIME }}
</view>
</view>
</view>
<sign v-if="signShow" :signShow.sync="signShow" @confirm="signConfirm"></sign> <sign v-if="signShow" :signShow.sync="signShow" @confirm="signConfirm"></sign>
<u-button class="mt-10" type="primary" text="提 交" @click="$u.debounce(fnLogin, 1000,true)"></u-button> <u-button class="mt-10" type="primary" text="提 交" @click="$u.debounce(fnLogin, 1000,true)"></u-button>
</view> </view>
@ -59,6 +78,8 @@ export default {
data() { data() {
return { return {
info: {}, info: {},
ORDER:[],
COVERPEOPLE:[],
signShow:false, signShow:false,
} }
}, },
@ -75,6 +96,9 @@ export default {
let resData = await getPromiseInfo({ let resData = await getPromiseInfo({
USER_ID: this.userInfo.USER_ID, USER_ID: this.userInfo.USER_ID,
}) })
this.ORDER = resData.ORDER
this.COVERPEOPLE = resData.COVERPEOPLE
console.log(resData);
const DETAIL = resData.COLLATERAL.map(item => ({ value: item.COLLATERAL, id: item.PROMISEDETAIL_ID })) const DETAIL = resData.COLLATERAL.map(item => ({ value: item.COLLATERAL, id: item.PROMISEDETAIL_ID }))
this.info = { this.info = {
...resData.TEXT, ...resData.TEXT,