1.安全承诺书业务显示修改

pull/2/head^2
guoyuepeng 2024-04-12 15:34:51 +08:00
parent 2dd60b345f
commit 9e7e521220
2 changed files with 13 additions and 6 deletions

View File

@ -102,8 +102,8 @@ export const getkeyprojectcount = (params) => post("/app/keyprojectcheck/keyProj
export const getPromiseUnsigned = (params) => post("/app/corppromise/ISSIGN", params); // 获取是否有需要签字的承诺书 export const getPromiseUnsigned = (params) => post("/app/corppromise/ISSIGN", params); // 获取是否有需要签字的承诺书
export const getPromiseInfo = (params) => post("/app/corppromise/promise", params); // 获取需要签字的承诺书信息 export const getPromiseInfo = (params) => post("/app/corppromise/promise", params); // 获取需要签字的承诺书信息
export const setPromiseSign = (params) => upload("/app/corppromise/editpeople", params); // 承诺书提交签字 export const setPromiseSign = (params) => upload("/app/corppromise/editpeople", params); // 承诺书提交签字
export const getMyPromiseList = (params) => post("/app/corppromise/promiselist", params); // 获取我的承诺列表 export const getMyPromiseList = (params) => post("/app/corppromise/promiseV2list", params); // 获取我的承诺列表
export const getReceivePromiseList = (params) => post("/app/corppromise/receivePromiseList", params); // 获取接收承诺列表 export const getReceivePromiseList = (params) => post("/app/corppromise/receiveV2PromiseList", params); // 获取接收承诺列表
export const getPromiseView = (params) => post("/app/corppromise/goEdit", params); // 查看承诺书 export const getPromiseView = (params) => post("/app/corppromise/goEdit", params); // 查看承诺书
export const setPromiseIsRead = (params) => post("/app/corppromise/editIsRead", params); // 承诺书设置阅读状态 export const setPromiseIsRead = (params) => post("/app/corppromise/editIsRead", params); // 承诺书设置阅读状态
export const editHiddenIspunish = (params) => post("/app/keyprojectcheck/editHiddenIspunish", params); // 修改隐患信息 export const editHiddenIspunish = (params) => post("/app/keyprojectcheck/editHiddenIspunish", params); // 修改隐患信息

View File

@ -12,10 +12,17 @@
<view class="message_item arrow" @click="fnNavigator(item)"> <view class="message_item arrow" @click="fnNavigator(item)">
<view class="message_flex"> <view class="message_flex">
<view> <view>
<view class="fontstyle">被承诺人{{ item.coverpeople }}</view> <template v-if="item.corppromisType ==='1'"> <!-- 01 -->
<view class="fontstyle">承诺人{{ item.NAME }}</view> <view class="fontstyle">发状人{{ item.coverpeople }}</view>
<view class="fontstyle">受状人{{ item.NAME }}</view>
</template>
<template v-else>
<view class="fontstyle">被承诺人{{ item.coverpeople }}</view>
<view class="fontstyle">承诺人{{ item.NAME }}</view>
</template>
<view v-if="item.SIGNTIME != null" class="fontstyle"></view> <view v-if="item.SIGNTIME != null" class="fontstyle"></view>
<view v-else class="fontstyle">未签字</view> <view v-else class="fontstyle_red">未签字</view>
<view class="message_time">{{ item.SIGNTIME }}</view> <view class="message_time">{{ item.SIGNTIME }}</view>
</view> </view>
<view class="font0" v-if="TYPE === '2'">{{ item.ISREAD == '0' ? '' : '' }}</view> <view class="font0" v-if="TYPE === '2'">{{ item.ISREAD == '0' ? '' : '' }}</view>