Commit 5141a66c authored by 沈翠玲's avatar 沈翠玲

案件分派

parent 68884e5c
......@@ -48,7 +48,7 @@
</div>
<div style="margin-top: 10px; margin-bottom: 10px">
<el-radio-group v-model="radio" @change="changeRadio">
<el-radio :value="0">分派到调解中心</el-radio>
<el-radio :value="0" v-permission="'allcation_for_tenant'">分派到调解中心</el-radio>
<el-radio :value="1">分派到CPE</el-radio>
</el-radio-group>
</div>
......@@ -211,7 +211,9 @@
import { getTenantPage } from '@/api/tenant';
import { computed } from 'vue';
import { reactive, ref, nextTick } from 'vue';
import { useAuthStore } from '@/stores/modules/auth';
const emits = defineEmits(['success']);
const { authButtonListGet } = useAuthStore(); // 获取用户权限列表
const data = ref([]);
const mytransfer = ref();
......@@ -300,12 +302,17 @@
currentAllBtn.value = null;
getTree();
step.value = 0;
radio.value = 0;
const p = {}
if (!authButtonListGet.includes('allcation_for_tenant')) {
radio.value = 1;
} else {
radio.value = 0;
}
let p = {}
if (lonsArr.value && lonsArr.value.length) {
p['loanIds'] = lonsArr.value.map((v) => v.id);
} else {
p = { ...pageParams.value };
p = param;
}
radio.value === 0 && getStatisis(p);
SaveBol.value = false;
......
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