| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- <template>
- <view class="list">
- <view class="listItem">
- <view class="lable">
- 案件编号:
- </view>
- <view class="main">
- {{defalutVal.caseNum}}
- </view>
- </view>
- <view class="listItem" v-if="sysType == 1">
- <view class="lable">
- 申请人姓名:
- </view>
- <view class="main">
- {{defalutVal.applicantName}}
- </view>
- </view>
- <view class="listItem" v-if="sysType == 2">
- <view class="lable">
- 申请人姓名:
- </view>
- <view class="main">
- {{defalutVal.applicationName}}
- </view>
- </view>
- <view class="listItem" style="margin-top:22rpx">
- <view class="lable">
- 被申请人姓名:
- </view>
- <view class="main">
- {{defalutVal.respondentName}}
- </view>
- </view>
- <view class="listItem">
- <view class="lable">
- 案件状态:
- </view>
- <view class="main">
- {{defalutVal.caseStatusName}}
- </view>
- </view>
- <view class="btn" v-if="sysType == 2">
- <!-- <button class="btnItem" type="primary" size="mini" @tap="clickPay">申请人缴费</button>
- <button class="btnItem" type="primary" size="mini" @tap="caseDetail">选择调解员</button> -->
- <button class="btnItem" type="primary" size="mini" v-for="(item) in buttonList" :key="item.id"
- v-if="item.id == defalutVal.caseFlowId && checkPermi([item.buttonAuthFlag])">{{ 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>
- </template>
-
- <script>
- import {
- queryCaseFlowInfo
- } from '@/api/handlecase/index.js'
- export default {
- data() {
- return {
- buttonList: []
- }
- },
- props: {
- defalutVal: {
- type: Object,
- default: () => {}
- },
- sysType: {
- type: Number,
- default: () => {}
- }
- },
- methods: {
- // 案件详情以及操作
- caseDetail() {
- uni.navigateTo({
- url: `/pages/handlecase/component/uploadEvidence?id=${this.defalutVal.id}`
- })
- },
- clickPay() {
- uni.navigateTo({
- url: `/pages/handlecase/component/payList?id=${this.defalutVal.id}`
- })
- },
- /**查询按钮列表 */
- getButtonList() {
- queryCaseFlowInfo({
- pageNum: 1,
- pageSize: 100000
- }).then(res => {
- res.rows.forEach(item => {
- if (item.id != 11 && item.id != 17) {
- this.buttonList.push(item)
- }
- });
- })
- },
- },
- created() {
- this.getButtonList()
- }
- }
- </script>
-
- <style lang="scss" scoped>
- .list {
- padding: 15rpx;
- display: flex;
- flex-direction: column;
- background-color: #ffffff;
- border-radius: 30rpx;
- margin-top: 20rpx;
-
- .listItem {
- width: 100%;
- display: flex;
- height: 50rpx;
-
- .lable {
- width: 30%;
- }
-
- .main {
- width: 60%;
- }
-
- }
-
- .btn {
- margin-top: 20rpx;
- width: 100%;
- display: flex;
- justify-content: space-between;
- flex-wrap: wrap;
-
- .btnItem {
- height: 50rpx;
- background-color: #5395ff;
- border-radius: 10rpx;
- text-align: center;
- line-height: 50rpx;
- }
- }
- }
- </style>
|