|
@@ -1,14 +1,25 @@
|
|
<template>
|
|
<template>
|
|
<div class="midPopUp" v-if="modelValue" @click.stop="handleClose">
|
|
<div class="midPopUp" v-if="modelValue" @click.stop="handleClose">
|
|
- <div class="container" @click.stop>
|
|
|
|
|
|
+ <div class="boxBody" @click.stop>
|
|
<div class="headerTittle">选择流转卡号</div>
|
|
<div class="headerTittle">选择流转卡号</div>
|
|
<div class="selectBox">
|
|
<div class="selectBox">
|
|
<el-select
|
|
<el-select
|
|
v-model="selectedProcess"
|
|
v-model="selectedProcess"
|
|
:filterable="true"
|
|
:filterable="true"
|
|
|
|
+ collapse-tags
|
|
|
|
+ :max-collapse-tags="5"
|
|
multiple
|
|
multiple
|
|
style="margin-bottom: 20px"
|
|
style="margin-bottom: 20px"
|
|
>
|
|
>
|
|
|
|
+ <template #header>
|
|
|
|
+ <el-checkbox
|
|
|
|
+ v-model="checkAll"
|
|
|
|
+ :indeterminate="indeterminate"
|
|
|
|
+ @change="handleCheckAll"
|
|
|
|
+ >
|
|
|
|
+ 全选
|
|
|
|
+ </el-checkbox>
|
|
|
|
+ </template>
|
|
<el-option
|
|
<el-option
|
|
v-for="item in processList"
|
|
v-for="item in processList"
|
|
:key="item"
|
|
:key="item"
|
|
@@ -41,6 +52,16 @@ const props = defineProps({
|
|
},
|
|
},
|
|
});
|
|
});
|
|
const store = useProcessStore();
|
|
const store = useProcessStore();
|
|
|
|
+const indeterminate = ref(false);
|
|
|
|
+const checkAll = ref(false);
|
|
|
|
+const handleCheckAll = (val) => {
|
|
|
|
+ indeterminate.value = false;
|
|
|
|
+ if (val) {
|
|
|
|
+ selectedProcess.value = processList.value.map((_) => _);
|
|
|
|
+ } else {
|
|
|
|
+ selectedProcess.value = [];
|
|
|
|
+ }
|
|
|
|
+};
|
|
const toGetProcessedList = async () => {
|
|
const toGetProcessedList = async () => {
|
|
getunProcessedList(store.scanInfo.id).then((res) => {
|
|
getunProcessedList(store.scanInfo.id).then((res) => {
|
|
processList.value = res.data ?? [];
|
|
processList.value = res.data ?? [];
|
|
@@ -69,8 +90,22 @@ watch(
|
|
.el-divider {
|
|
.el-divider {
|
|
margin-top: 0;
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
-.container {
|
|
|
|
- height: 200px;
|
|
|
|
|
|
+.boxBody {
|
|
|
|
+ width: 50vw;
|
|
|
|
+ min-height: 200px;
|
|
|
|
+ background-color: #f1f3f5;
|
|
|
|
+ border-radius: 16px;
|
|
|
|
+ padding: 10px;
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ .headerTittle {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 55px;
|
|
|
|
+ text-align: center;
|
|
|
|
+ line-height: 55px;
|
|
|
|
+ font-size: 38px;
|
|
|
|
+ font-weight: 500;
|
|
|
|
+ }
|
|
.selectBox {
|
|
.selectBox {
|
|
padding: 20px;
|
|
padding: 20px;
|
|
}
|
|
}
|