Commit be175b2e authored by xinzhedeai's avatar xinzhedeai

检查 网格员可以审核 详情二维码按钮显隐

parent 6525cad6
This diff is collapsed.
......@@ -170,13 +170,13 @@
</div>
</div> -->
<div class="bottom_bar" v-if="flag=='0'">
<div class="bottom_bar" v-if="flag=='0' && userType=='shop'">
<div style="display: flex;justify-content: center;gap: 1rem;">
<van-button type="info" size="small" @click="add4DZG_XQ" style="width:2rem" >提交整改</van-button>
</div>
</div>
<div class="bottom_bar" v-if="flag=='2'">
<div class="bottom_bar" v-if="flag=='2' && userType=='wgy'">
<div style="display: flex;justify-content: center;gap: 1rem;">
<van-button type="danger" size="small" @click="add4DSH_XQ(0)" style="width:2rem" >拒绝</van-button>
<van-button type="info" size="small" @click="add4DSH_XQ(1)" style="width:2rem" >通过</van-button>
......
......@@ -50,6 +50,7 @@ window.onload = function() {
VUE = new Vue({
el: '#app',
data: {
userType: gemhoUtil.getCookie('userType'),
id: '', // 记录id || 隐患id
merId: '', // 商户id
pageName: '', // 页面名称(用于记录页面来源,用于操作后返回上一页)
......
This diff is collapsed.
This diff is collapsed.
var res = {
"msg": "操作成功",
"reviewRecord": "",
"rectificationDeadline": "",
"code": 200,
"data": [
{
"id": 1,
"name": "消防安全检查",
"gqCheckItemVoList": [
{
"id": 1,
"checkTypeId": 0,
"name": "灭火器是否完好有效",
"itemType": 1,
"itemAnswer": 2,
"gqCheckQuestionDtoList": [
{
"id": 1,
"checkItemId": 0,
"name": "未配置",
"type": 0,
"check": true,
"content": ""
},
{
"id": 2,
"checkItemId": 1,
"name": "压力失效",
"type": 1,
"check": false,
"content": ""
},
{
"id": 3,
"checkItemId": 1,
"name": "压力失效",
"type": 1,
"check": false,
"content": ""
},
{
"id": 8,
"checkItemId": 1,
"name": "配置类型错误",
"type": 1,
"check": false,
"content": ""
}
],
"hiddenImageUrlList": [
"192.168.2.37:8080/profile/hidden/8qeclb1joyut5zjsjg52tylbjb63lvc.jpg",
"192.168.2.37:8080/profile/hidden/00055.jpg"
],
"rectificationImageUrlList": [
"192.168.2.37:8080/profile/hidden/8qeclb1joyut5zjsjg52tylbjb63lvc.jpg",
"192.168.2.37:8080/profile/hidden/00055.jpg"
],
"checkPeople": "超级管理员",
"rectificationDate": null,
"description": "asd"
}
]
}
],
"reviewDate": "",
"rectificationStatusName": "待整改",
"checkPeopleName": "超级管理员",
"checkDate": "2025-03-26 00:00:00"
}
\ No newline at end of file
......@@ -48,7 +48,7 @@
<div class="qr-card">
<canvas id="mainCanvas" width="300" height="400"></canvas>
</div>
<button class="save-btn" onclick="saveCanvas()">保存二维码</button>
<button class="save-btn" onclick="saveCanvas()" v-if="canvasReady">保存二维码</button>
</div>
</body>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment