一公司安全环保检查编辑和申辩处理按钮权限变更

limingyu-20240419-一公司危险作业更新
limingyu 2024-04-09 16:17:31 +08:00
parent 9ba58e3d97
commit 1f754a49e4
1 changed files with 4 additions and 3 deletions

View File

@ -54,9 +54,9 @@
<view class="dy-subtitle-flex" v-if="item.INSPECTION_STATUS=='0' || item.INSPECTION_STATUS=='-1' || item.INSPECTION_STATUS=='-2'"> <view class="dy-subtitle-flex" v-if="item.INSPECTION_STATUS=='0' || item.INSPECTION_STATUS=='-1' || item.INSPECTION_STATUS=='-2'">
<text></text> <text></text>
<text> <text>
<button v-if="item.INSPECTION_STATUS === '-1'" class="cu-btn bg-blue margin-tb-sm sm" @click="$noMultipleClicks(goToDetail,item.INSPECTION_ID)"></button> <button v-if="item.INSPECTION_STATUS === '-1' && item.INSPECTION_ORIGINATOR_ID == loginUserId" class="cu-btn bg-blue margin-tb-sm sm" @click="$noMultipleClicks(goToDetail,item.INSPECTION_ID)"></button>
<button style="margin-left: 10upx;" v-if="item.INSPECTION_STATUS === '-1'" class="cu-btn bg-blue margin-tb-sm sm" @click="$noMultipleClicks(goToShow,item.INSPECTION_ID)"></button> <button style="margin-left: 10upx;" v-if="item.INSPECTION_STATUS === '-1'" class="cu-btn bg-blue margin-tb-sm sm" @click="$noMultipleClicks(goToShow,item.INSPECTION_ID)"></button>
<button v-if="item.INSPECTION_STATUS === '-2'" class="cu-btn bg-blue margin-tb-sm sm" @click="$noMultipleClicks(goToplead,item.INSPECTION_ID)"></button> <button v-if="item.INSPECTION_STATUS === '-2' && item.INSPECTION_ORIGINATOR_ID == loginUserId" class="cu-btn bg-blue margin-tb-sm sm" @click="$noMultipleClicks(goToplead,item.INSPECTION_ID)"></button>
</text> </text>
</view> </view>
</view> </view>
@ -77,7 +77,7 @@
<script> <script>
import { import {
basePath,corpinfoId,loginSession,formatDate,loginUser basePath,corpinfoId,loginSession,formatDate,loginUser,loginUserId
} from '@/common/tool.js'; } from '@/common/tool.js';
import tkiTree from "@/components/select-tree/select-tree.vue" import tkiTree from "@/components/select-tree/select-tree.vue"
export default { export default {
@ -86,6 +86,7 @@
}, },
data() { data() {
return { return {
loginUserId,
showRight: false, showRight: false,
dataFlag:'noData', dataFlag:'noData',
sTop:0, sTop:0,