一公司安全环保检查编辑和申辩处理按钮权限变更
parent
9ba58e3d97
commit
1f754a49e4
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue