按钮权限 #60

Merged
hanchaobo merged 1 commits from hcb into dev 2024-05-17 06:19:05 +00:00
9 changed files with 21 additions and 19 deletions
+13 -11
View File
@@ -21,9 +21,9 @@
申请人:
</view>
<uni-tooltip :content="defalutVal.applicationName">
<view class="textHidden">
{{defalutVal.applicationName}}
</view>
<view class="textHidden">
{{defalutVal.applicationName}}
</view>
</uni-tooltip>
</view>
<view class="listItem" style="margin-top:22rpx">
@@ -31,9 +31,9 @@
被申请人:
</view>
<uni-tooltip :content="defalutVal.respondentName">
<view class="textHidden">
{{defalutVal.respondentName}}
</view>
<view class="textHidden">
{{defalutVal.respondentName}}
</view>
</uni-tooltip>
</view>
<view class="listItem">
@@ -53,14 +53,15 @@
<button class="btnItem" type="primary" size="mini" @tap="caseDetail">选择调解员</button> -->
<button class="btnItem" type="primary" @tap="clickType(item.id)" size="mini" v-for="(item) in buttonList"
:key="item.id"
v-if="item.id == defalutVal.caseFlowId && checkPermi([item.buttonAuthFlag])&& (defalutVal.appOperatorFlag == 1 || defalutVal.resOperatorFlag == 1 || defalutVal.otherFlag == 1)">{{ item.nodeName }}</button>
v-if="item.id == defalutVal.caseFlowId && checkPermi([item.buttonAuthFlag])&& (defalutVal.appOperatorFlag == 1 || defalutVal.resOperatorFlag == 1 || defalutVal.otherFlag == 1 || defalutVal.agentFlag == 1 || defalutVal.mediatorFlag == 1)">{{ item.nodeName }}</button>
<!-- <button class="btnItem" type="primary" size="mini" @tap="confirmationEvidence">确认证据</button>
<button class="btnItem" type="primary" size="mini" @tap="isAssignrbitrators">是否指派仲裁员</button>
<button class="btnItem" type="primary" size="mini" @tap="isAssignrbitrators">是否指派仲裁员</button>
<button class="btnItem" type="primary" size="mini" @tap="chooseMethod">选择仲裁方式</button> -->
</view>
<view class="btn" v-if="sysType == 1">
<button v-if="defalutVal.caseStatus==4 && checkPermi(['caseManagement:list:examin'])" class="btnItem" type="primary" size="mini" @tap="caseCrossExamin">案件质证</button>
<button v-if="defalutVal.caseStatus==4 && checkPermi(['caseManagement:list:examin'])" class="btnItem"
type="primary" size="mini" @tap="caseCrossExamin">案件质证</button>
</view>
</view>
</template>
@@ -141,9 +142,9 @@
}
},
// 案件质证
caseCrossExamin(){
caseCrossExamin() {
uni.navigateTo({
url:`/pages/handlecase/component/uploadEvidence?id=${this.defalutVal.id}`
url: `/pages/handlecase/component/uploadEvidence?id=${this.defalutVal.id}`
})
},
// 案件详情以及操作
@@ -327,7 +328,8 @@
}
}
}
.textHidden{
.textHidden {
width: 300rpx;
text-overflow: ellipsis;
overflow: hidden;
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -19,7 +19,7 @@
"condition": false
},
"compileType": "miniprogram",
"libVersion": "3.1.1",
"libVersion": "3.4.3",
"appid": "wx91cb8459dca561b4",
"projectname": "智慧仲裁",
"condition": {},
+1 -1
View File
@@ -3,6 +3,6 @@
"projectname": "miniapp",
"setting": {
"compileHotReLoad": true,
"urlCheck": false
"urlCheck": true
}
}