KouJin 1 år sedan
förälder
incheckning
2d709e4898

+ 2 - 2
.env

@@ -8,7 +8,7 @@ VITE_PORT=8001
8 8
 VITE_OPEN=true
9 9
 
10 10
 # 租户开关
11
-VITE_APP_TENANT_ENABLE=true
11
+VITE_APP_TENANT_ENABLE=false
12 12
 
13 13
 # 验证码的开关
14 14
 VITE_APP_CAPTCHA_ENABLE=true
@@ -17,7 +17,7 @@ VITE_APP_CAPTCHA_ENABLE=true
17 17
 VITE_APP_DOCALERT_ENABLE=true
18 18
 
19 19
 # 百度统计
20
-VITE_APP_BAIDU_CODE = a1ff8825baa73c3a78eb96aa40325abc
20
+VITE_APP_BAIDU_CODE =
21 21
 
22 22
 # 默认账户密码
23 23
 VITE_APP_DEFAULT_LOGIN_TENANT = 芋道源码

+ 1 - 3
.env.dev

@@ -9,8 +9,6 @@ VITE_BASE_URL='http://121.36.17.6:8002'
9 9
 # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务
10 10
 VITE_UPLOAD_TYPE=server
11 11
 
12
-# 文件上传地址
13
-VITE_UPLOAD_URL='http://172.16.6.128:8001/admin-api/infra/file/upload-for-name'
14 12
 # 接口地址
15 13
 VITE_API_URL=/admin-api
16 14
 
@@ -30,7 +28,7 @@ VITE_BASE_PATH=/
30 28
 VITE_MALL_H5_DOMAIN='http://localhost:3000'
31 29
 
32 30
 # 验证码的开关
33
-VITE_APP_CAPTCHA_ENABLE=true
31
+VITE_APP_CAPTCHA_ENABLE=false
34 32
 
35 33
 # GoView域名
36 34
 VITE_GOVIEW_URL=''

+ 1 - 4
.env.local

@@ -9,9 +9,6 @@ VITE_BASE_URL='http://127.0.0.1:8011'
9 9
 # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务
10 10
 VITE_UPLOAD_TYPE=server
11 11
 
12
-# 文件上传地址
13
-VITE_UPLOAD_URL='http://172.16.6.128:8001/admin-api/infra/file/upload-for-name'
14
-
15 12
 # 接口地址
16 13
 VITE_API_URL=/admin-api
17 14
 
@@ -31,7 +28,7 @@ VITE_BASE_PATH=/
31 28
 VITE_MALL_H5_DOMAIN='http://localhost:3000'
32 29
 
33 30
 # 验证码的开关
34
-VITE_APP_CAPTCHA_ENABLE=true
31
+VITE_APP_CAPTCHA_ENABLE=false
35 32
 
36 33
 # GoView域名
37 34
 VITE_GOVIEW_URL='http://127.0.0.1:3000'

+ 0 - 3
.env.prod

@@ -9,9 +9,6 @@ VITE_BASE_URL='http://172.16.6.128:8001'
9 9
 # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务
10 10
 VITE_UPLOAD_TYPE=server
11 11
 
12
-# 文件上传地址
13
-VITE_UPLOAD_URL='http://172.16.6.128:8001/admin-api/infra/file/upload-for-name'
14
-
15 12
 # 接口地址
16 13
 VITE_API_URL=/admin-api
17 14
 

+ 12 - 3
src/api/DeliveryWarehouse/DetermineDeliveryWarehouse/index.ts

@@ -1,9 +1,18 @@
1 1
 import request from '@/config/axios'
2
-
2
+interface QueryParams {
3
+  pageNo: number
4
+  pageSize: number
5
+  dwmc?: string // 企业名称
6
+  kqmc?: string // 库区名称
7
+  yhmc?: string // 银行名称
8
+  shengCode?: string | undefined // 省份编码
9
+  shiCode?: string | undefined // 市区编码
10
+  xianCode?: string | undefined // 县区编码
11
+}
3 12
 export const DetermineDeliveryWarehouseApi = {
4 13
   // 查询设备分页
5
-  getDetermineDeliveryWarehousePage: async (params: any) => {
6
-    return await request.get({ url: `/iot/device/page`, params })
14
+  getDetermineDeliveryWarehousePage: async (data: QueryParams) => {
15
+    return await request.post({ url: `/coding/deliverySpare/identify/page`, data })
7 16
   },
8 17
 
9 18
 

+ 19 - 0
src/api/DeliveryWarehouse/SelectDeliveryWarehouse/index.ts

@@ -0,0 +1,19 @@
1
+import request from '@/config/axios'
2
+interface QueryParams {
3
+  pageNo: number
4
+  pageSize: number
5
+  dwmc?: string // 企业名称
6
+  kqmc?: string // 库区名称
7
+  yhmc?: string // 银行名称
8
+  shengCode?: string | undefined // 省份编码
9
+  shiCode?: string | undefined // 市区编码
10
+  xianCode?: string | undefined // 县区编码
11
+}
12
+export const SelectDeliveryWarehouseApi = {
13
+  // 查询设备分页
14
+  getSelectDeliveryWarehousePage: async (data: QueryParams) => {
15
+    return await request.post({ url: `/coding/deliverySpare/select/page`, data })
16
+  },
17
+
18
+
19
+}

+ 17 - 0
src/enum/yxcfEnum.ts

@@ -0,0 +1,17 @@
1
+export const YxcfEnum = {
2
+  // 交收仓库选择空仓列表
3
+  JscxzEmptyWarehouse:0,
4
+  // 交收仓库选择仓库列表
5
+  JscxzWarehouse:1,
6
+  // 备选交收仓(个) 退回
7
+  BxjscBack : 2,
8
+  //认定交割库银行
9
+  RdjskBank : 3,
10
+  //认定交割库仓房
11
+  RdjskCfxx : 2,
12
+  //选定交割库银行
13
+  XdjskBank : 3,
14
+  //选定交割库仓房
15
+  XdjskCfxx : 4,
16
+
17
+}

+ 2 - 2
src/views/DeliveryWarehouse/DeliveryWarehouseList/index.vue

@@ -10,6 +10,7 @@ import DeliveryWarehouseSelectFrom
10 10
   from "@/views/DeliveryWarehouse/DeliveryWarehouseSelect/compontents/Form.vue";
11 11
 import download from "@/utils/download";
12 12
 import {ElMessageBox} from "element-plus";
13
+import {YxcfEnum} from "@/enum/yxcfEnum";
13 14
 defineOptions({name: 'DeliveryWarehouseList'})
14 15
 // 定义查询参数接口
15 16
 interface QueryParams {
@@ -325,7 +326,6 @@ onUnmounted(() => {
325 326
           导出
326 327
         </el-button>
327 328
         <el-button
328
-          v-hasPermi="['coding:dwxx:create']"
329 329
           plain
330 330
           type="primary"
331 331
           @click="openCreateForm('create')"
@@ -366,7 +366,7 @@ onUnmounted(() => {
366 366
       </el-table-column>
367 367
       <el-table-column align="center" label="备选交收仓(个)" min-width="280" prop="yxcfnum">
368 368
         <template #default="scope">
369
-          <div @click="openForm(scope.row,2)"> {{ scope.row.yxcfnum }}</div>
369
+          <div @click="openForm(scope.row,YxcfEnum.BxjscBack)"> {{ scope.row.yxcfnum }}</div>
370 370
         </template>
371 371
       </el-table-column>
372 372
       <el-table-column align="center" label="库区联系人" min-width="280" prop="kqfzr"/>

+ 1 - 1
src/views/DeliveryWarehouse/DeliveryWarehouseList/shengindex.vue

@@ -326,7 +326,7 @@ onUnmounted(() => {
326 326
           导出
327 327
         </el-button>
328 328
         <el-button
329
-          v-hasPermi="['coding:dwxx:create']"
329
+
330 330
           plain
331 331
           type="primary"
332 332
           @click="openCreateForm('create')"

+ 70 - 13
src/views/DeliveryWarehouse/DeliveryWarehouseSelect/compontents/Form.vue

@@ -27,6 +27,7 @@ import {useI18n} from 'vue-i18n'
27 27
 import {DeliveryWarehouseSelectApi} from '@/api/DeliveryWarehouse/DeliveryWarehouseSelect'
28 28
 import {DICT_TYPE} from '@/utils/dict'
29 29
 import {TableColumnData, TableRowSelection} from "@arco-design/web-vue";
30
+import {YxcfEnum} from "@/enum/yxcfEnum";
30 31
 
31 32
 // 接口定义
32 33
 interface QueryParams {
@@ -43,16 +44,16 @@ interface TableRow {
43 44
   sjcr: number // 设计仓容
44 45
 }
45 46
 
46
-interface ListItem {
47
-  sheng: string // 省份
48
-  shi: string // 市区
49
-  xian: string // 县区
50
-  dwmc: string // 企业名称
51
-  kqmc: string // 库区名称
52
-  sjcrNum: string // 实际仓容数量
53
-  cfnum: string // 仓房数量
54
-  yxcfnum: string // 已选仓房数量
55
-}
47
+// interface ListItem {
48
+//   sheng: string // 省份
49
+//   shi: string // 市区
50
+//   xian: string // 县区
51
+//   dwmc: string // 企业名称
52
+//   kqmc: string // 库区名称
53
+//   sjcrNum: string // 实际仓容数量
54
+//   cfnum: string // 仓房数量
55
+//   yxcfnum: string // 已选仓房数量
56
+// }
56 57
 
57 58
 // interface SubmitData extends ListItem{
58 59
 //   ids: (number | string)[]
@@ -102,6 +103,28 @@ const tableColumns = ref<TableColumnData[]>([
102 103
     dataIndex: 'sjcr'
103 104
   }
104 105
 ])
106
+const tableColumnsTemp: TableColumnData[] = [{
107
+  title: '库区名称',
108
+  dataIndex: 'kqmc'
109
+},
110
+  {
111
+    title: '仓廒名称',
112
+    dataIndex: 'camc'
113
+  },
114
+  {
115
+    title: '仓房类型',
116
+    dataIndex: 'cflx',
117
+    slotName: 'cflx'
118
+  },
119
+  {
120
+    title: '仓房状态',
121
+    dataIndex: 'cazt',
122
+    slotName: 'cazt'
123
+  },
124
+  {
125
+    title: '设计仓容(吨)',
126
+    dataIndex: 'sjcr'
127
+  }]
105 128
 // 表格选择
106 129
 const rowSelection = reactive<TableRowSelection>({
107 130
   type: 'checkbox',
@@ -119,7 +142,42 @@ const open = async (type: string, row?: any) => {
119 142
   formType.value = type;
120 143
   selectedKeys.value = []
121 144
   if (formType.value == 'look') {
122
-    rowSelection.value = {}
145
+    rowSelection.type = undefined
146
+  }
147
+
148
+  if (row.yxcf == YxcfEnum.RdjskBank) {
149
+    tableColumns.value = [...tableColumnsTemp,
150
+      {
151
+        title: '认定银行',
152
+        dataIndex: 'rdyhName',
153
+        slotName: 'rdyhName'
154
+      }
155
+      ]
156
+  } else if (row.yxcf == YxcfEnum.XdjskCfxx) {
157
+    tableColumns.value = [...tableColumnsTemp,
158
+      {
159
+        title: '认定银行',
160
+        dataIndex: 'rdyhName',
161
+        slotName: 'rdyhName'
162
+      },
163
+      {
164
+        title: '选定单位名称',
165
+        dataIndex: 'nickname',
166
+        slotName: 'nickname'
167
+      },
168
+      {
169
+        title: '选定人联系方式',
170
+        dataIndex: 'mobile',
171
+        slotName: 'mobile'
172
+      },
173
+      {
174
+        title: '储存状态',
175
+        dataIndex: 'mobile',
176
+        slotName: 'mobile'
177
+      }
178
+    ]
179
+  } else {
180
+    tableColumns.value = [...tableColumnsTemp]
123 181
   }
124 182
   resetForm()
125 183
   try {
@@ -180,8 +238,7 @@ const submitForm = async () => {
180 238
     }
181 239
     dialogVisible.value = false
182 240
     emit('success')
183
-  }
184
-  finally {
241
+  } finally {
185 242
     formLoading.value = false
186 243
   }
187 244
 }

+ 4 - 3
src/views/DeliveryWarehouse/DeliveryWarehouseSelect/index.vue

@@ -1,10 +1,11 @@
1 1
 <script lang="ts" setup>
2 2
 import {onMounted, onUnmounted, ref, watch} from 'vue'
3 3
 import DeptTree from './compontents/DeptTree.vue'
4
-import DeliveryWarehouseSelectFrom from './compontents/Form.vue'
4
+import DeliveryWarehouseSelectFrom from '@/views/DeliveryWarehouse/DeliveryWarehouseSelect/compontents/Form.vue'
5 5
 import CreateForm from './compontents/CreateForm.vue'
6 6
 import {DeliveryWarehouseSelectApi} from '@/api/DeliveryWarehouse/DeliveryWarehouseSelect'
7 7
 import {getIntDictOptions} from '@/utils/dict'
8
+import {YxcfEnum} from "@/enum/yxcfEnum";
8 9
 
9 10
 // 接口定义
10 11
 interface QueryParams {
@@ -329,12 +330,12 @@ onUnmounted(() => {
329 330
           <el-table-column align="center" label="仓容总量(吨)" prop="sjcrNum" min-width="180"/>
330 331
           <el-table-column align="center" label="仓房数量(个)" prop="cfnum" min-width="180">
331 332
             <template #default="scope">
332
-              <div class="w-full" @click="openForm(scope.row,0)">{{ scope.row.cfnum }}</div>
333
+              <div class="w-full" @click="openForm(scope.row,YxcfEnum.JscxzEmptyWarehouse)">{{ scope.row.cfnum }}</div>
333 334
             </template>
334 335
           </el-table-column>
335 336
           <el-table-column align="center" label="已选仓房" prop="yxcfnum" min-width="180">
336 337
             <template #default="scope">
337
-              <div class="w-full" @click="openForm(scope.row,1)">{{ scope.row.yxcfnum }}</div>
338
+              <div class="w-full" @click="openForm(scope.row,YxcfEnum.JscxzWarehouse)">{{ scope.row.yxcfnum }}</div>
338 339
             </template>
339 340
           </el-table-column>
340 341
         </el-table>

+ 32 - 25
src/views/DeliveryWarehouse/DetermineDeliveryWarehouse/index.vue

@@ -1,6 +1,8 @@
1 1
 <script lang="ts" setup>
2 2
 import {onMounted, ref, watch} from 'vue'
3 3
 import {AdministrativeDivisionApi} from '@/api/system/administrativeDivision'
4
+import {DetermineDeliveryWarehouseApi} from "@/api/DeliveryWarehouse/DetermineDeliveryWarehouse";
5
+import DeliveryWarehouseSelectFrom from '@/views/DeliveryWarehouse/DeliveryWarehouseSelect/compontents/Form.vue'
4 6
 
5 7
 // 接口定义
6 8
 interface QueryParams {
@@ -54,16 +56,17 @@ const xianList = ref<AreaOption[]>([])
54 56
 /**
55 57
  * 查询列表数据
56 58
  */
57
-const handleQuery = () => {
59
+const handleQuery = async () => {
58 60
   loading.value = true
59 61
   try {
60 62
     // TODO: 实现查询逻辑
61
-    setTimeout(() => {
62
-      loading.value = false
63
-    }, 1000)
63
+    const data = await DetermineDeliveryWarehouseApi.getDetermineDeliveryWarehousePage(queryParams.value);
64
+    list.value = data.list
65
+    total.value = data.total
64 66
   } catch (err) {
65
-    loading.value = false
66 67
     throw err
68
+  } finally {
69
+    loading.value = false
67 70
   }
68 71
 }
69 72
 
@@ -90,8 +93,8 @@ const getDivision = async (areaCode?: string) => {
90 93
 /**
91 94
  * 打开表单
92 95
  */
93
-const openForm = (type: string) => {
94
-  refForm.value?.open(type)
96
+const openForm = (type: string, row: any) => {
97
+  refForm.value?.open(type,row)
95 98
 }
96 99
 
97 100
 // 监听省份变化
@@ -118,6 +121,7 @@ watch(() => queryParams.value.shiCode, async (newValue) => {
118 121
 // 初始化加载
119 122
 onMounted(async () => {
120 123
   shengList.value = await getDivision()
124
+  await handleQuery()
121 125
 })
122 126
 </script>
123 127
 
@@ -201,7 +205,6 @@ onMounted(async () => {
201 205
         <el-button
202 206
           plain
203 207
           type="success"
204
-          @click="openForm('create')"
205 208
         >
206 209
           <Icon class="mr-5px" icon="ep:download"/>
207 210
           导出
@@ -214,22 +217,26 @@ onMounted(async () => {
214 217
             background: 'rgba(248,248,249,1)', color: 'rgb(79,79,79)', height: '45px'
215 218
         }"
216 219
     >
217
-      <el-table-column align="center" fixed="left" type="selection" min-width="60"/>
218
-      <el-table-column align="center" fixed="left" label="序号" type="index" min-width="60"/>
219
-      <el-table-column align="center" label="所属省份" prop="province" min-width="180"/>
220
-      <el-table-column align="center" label="所属市区" prop="urbanArea" min-width="180"/>
221
-      <el-table-column align="center" label="所属县区" prop="countyDistrict" min-width="180"/>
222
-      <el-table-column align="center" label="企业名称" prop="enterpriseName" min-width="280"/>
223
-      <el-table-column align="center" label="库区名称" prop="warehouseAreaName" min-width="280"/>
224
-      <el-table-column align="center" label="库区联系人" prop="warehouseAreaName" min-width="280"/>
225
-      <el-table-column align="center" label="联系电话" prop="warehouseAreaName" min-width="280"/>
226
-      <el-table-column
227
-        align="center" label="备选交割仓房数量(个)" prop="warehouseAreaName"
228
-        min-width="280"/>
229
-      <el-table-column
230
-        align="center" label="银行认定仓房数量(个)" prop="warehouseAreaName"
231
-        min-width="280"/>
232
-      <el-table-column align="center" label="认定银行" prop="warehouseAreaName" min-width="280"/>
220
+      <el-table-column align="center" fixed="left" min-width="60" type="selection"/>
221
+      <el-table-column align="center" fixed="left" label="序号" min-width="60" type="index"/>
222
+      <el-table-column align="center" label="所属省份" min-width="180" prop="sheng"/>
223
+      <el-table-column align="center" label="所属市区" min-width="180" prop="shi"/>
224
+      <el-table-column align="center" label="所属县区" min-width="180" prop="xian"/>
225
+      <el-table-column align="center" label="企业名称" min-width="280" prop="dwmc"/>
226
+      <el-table-column align="center" label="库区名称" min-width="280" prop="kqmc"/>
227
+      <el-table-column align="center" label="库区联系人" min-width="280" prop="kqfzr"/>
228
+      <el-table-column align="center" label="联系电话" min-width="280" prop="lxdh"/>
229
+      <el-table-column align="center" label="备选交割仓房数量(个)" min-width="280" prop="yxcfnum">
230
+        <template #default="scope">
231
+          <div @click="openForm('look', {...scope.row,yxcf:2})"> {{ scope.row.yxcfnum }}</div>
232
+        </template>
233
+      </el-table-column>
234
+      <el-table-column align="center" label="银行认定仓房数量(个)" min-width="280" prop="yhrdnum">
235
+        <template #default="scope">
236
+          <div @click="openForm('look', {...scope.row,yxcf:3})"> {{ scope.row.yhrdnum }}</div>
237
+        </template>
238
+      </el-table-column>
239
+      <el-table-column align="center" label="认定银行" min-width="280" prop="rdyhName"/>
233 240
     </el-table>
234 241
     <Pagination
235 242
       v-model:limit="queryParams.pageSize"
@@ -237,7 +244,7 @@ onMounted(async () => {
237 244
       :total="total"
238 245
       @pagination="handleQuery"
239 246
     />
240
-
247
+    <DeliveryWarehouseSelectFrom ref="refForm" @success="handleQuery"/>
241 248
   </ContentWrap>
242 249
 
243 250
 </template>

+ 255 - 0
src/views/DeliveryWarehouse/SelectDeliveryWarehouse/index.vue

@@ -0,0 +1,255 @@
1
+<script lang="ts" setup>
2
+import {onMounted, ref, watch} from 'vue'
3
+import {AdministrativeDivisionApi} from '@/api/system/administrativeDivision'
4
+import {SelectDeliveryWarehouseApi} from "@/api/DeliveryWarehouse/SelectDeliveryWarehouse";
5
+import DeliveryWarehouseSelectFrom from '@/views/DeliveryWarehouse/DeliveryWarehouseSelect/compontents/Form.vue'
6
+// 接口定义
7
+interface QueryParams {
8
+  pageNo: number
9
+  pageSize: number
10
+  dwmc?: string // 企业名称
11
+  kqmc?: string // 库区名称
12
+  yhmc?: string // 银行名称
13
+  shengCode?: string | undefined // 省份编码
14
+  shiCode?: string | undefined // 市区编码
15
+  xianCode?: string | undefined // 县区编码
16
+}
17
+
18
+interface TableItem {
19
+  province: string // 省份
20
+  urbanArea: string // 市区
21
+  countyDistrict: string // 县区
22
+  enterpriseName: string // 企业名称
23
+  warehouseAreaName: string // 库区名称
24
+  totalWarehouseCapacity: string // 总仓容
25
+  numberOfWarehouseCapacity: string // 仓容数量
26
+  selectedWarehouse: string // 已选仓库
27
+}
28
+
29
+interface AreaOption {
30
+  id: number | string
31
+  areaCode: number | string
32
+  areaName: string
33
+}
34
+
35
+// 查询参数
36
+const queryParams = ref<QueryParams>({
37
+  pageNo: 1,
38
+  pageSize: 10
39
+})
40
+
41
+// 组件状态
42
+const loading = ref(false)
43
+const queryFormRef = ref()
44
+const refForm = ref()
45
+
46
+// 表格数据
47
+const list = ref<TableItem[]>([])
48
+const total = ref(0)
49
+
50
+// 行政区划数据
51
+const shengList = ref<AreaOption[]>([])
52
+const shiList = ref<AreaOption[]>([])
53
+const xianList = ref<AreaOption[]>([])
54
+
55
+/**
56
+ * 查询列表数据
57
+ */
58
+const handleQuery = async () => {
59
+  loading.value = true
60
+  try {
61
+    // TODO: 实现查询逻辑
62
+    const data = await SelectDeliveryWarehouseApi.getSelectDeliveryWarehousePage(queryParams.value);
63
+    list.value = data.list
64
+    total.value = data.total
65
+  } catch (err) {
66
+    throw err
67
+  } finally {
68
+    loading.value = false
69
+  }
70
+}
71
+
72
+/**
73
+ * 重置查询条件
74
+ */
75
+const resetQuery = () => {
76
+  queryParams.value.pageNo = 1
77
+  queryFormRef.value?.resetFields()
78
+  handleQuery()
79
+}
80
+
81
+/**
82
+ * 获取行政区划数据
83
+ */
84
+const getDivision = async (areaCode?: string) => {
85
+  try {
86
+    return await AdministrativeDivisionApi.getList({areaCode})
87
+  } catch (err) {
88
+    throw err
89
+  }
90
+}
91
+
92
+/**
93
+ * 打开表单
94
+ */
95
+const openForm = (type: string,row:any) => {
96
+  console.log(1111)
97
+  refForm.value?.open(type, row)
98
+}
99
+
100
+// 监听省份变化
101
+watch(() => queryParams.value.shengCode, async (newValue) => {
102
+  queryParams.value.shiCode = ''
103
+  queryParams.value.xianCode = ''
104
+  if (newValue) {
105
+    shiList.value = await getDivision(newValue)
106
+  } else {
107
+    shiList.value = []
108
+  }
109
+})
110
+
111
+// 监听市区变化
112
+watch(() => queryParams.value.shiCode, async (newValue) => {
113
+  queryParams.value.xianCode = ''
114
+  if (newValue) {
115
+    xianList.value = await getDivision(newValue)
116
+  } else {
117
+    xianList.value = []
118
+  }
119
+})
120
+
121
+// 初始化加载
122
+onMounted(async () => {
123
+  shengList.value = await getDivision()
124
+  await handleQuery()
125
+})
126
+</script>
127
+
128
+<template>
129
+  <ContentWrap>
130
+    <el-form
131
+      ref="queryFormRef"
132
+      :inline="true"
133
+      :model="queryParams"
134
+      class="-mb-15px"
135
+      label-width="68px"
136
+    >
137
+      <el-form-item label="所属省份" prop="shengCode">
138
+        <el-select
139
+          v-model="queryParams.shengCode"
140
+          class="!w-240px"
141
+          clearable
142
+          placeholder="所属省份">
143
+          <el-option
144
+            v-for="item in shengList" :key="item.id" :label="item.areaName"
145
+            :value="item.areaCode"/>
146
+
147
+        </el-select>
148
+
149
+      </el-form-item>
150
+      <el-form-item label="所属市区" prop="shiCode">
151
+        <el-select
152
+          v-model="queryParams.shiCode"
153
+          class="!w-240px"
154
+          clearable
155
+          placeholder="所属省份">
156
+          <el-option
157
+            v-for="item in shiList" :key="item.id" :label="item.areaName"
158
+            :value="item.areaCode"/>
159
+
160
+        </el-select>
161
+      </el-form-item>
162
+      <el-form-item label="所属县区" prop="xianCode">
163
+        <el-select
164
+          v-model="queryParams.xianCode"
165
+          class="!w-240px"
166
+          clearable
167
+          placeholder="所属省份">
168
+          <el-option
169
+            v-for="item in xianList" :key="item.id" :label="item.areaName"
170
+            :value="item.areaCode"/>
171
+
172
+        </el-select>
173
+      </el-form-item>
174
+      <el-form-item label="企业名称" prop="dwmc">
175
+        <el-input
176
+          v-model="queryParams.dwmc"
177
+          class="!w-240px"
178
+        />
179
+      </el-form-item>
180
+      <el-form-item label="库区名称" prop="kqmc">
181
+        <el-input
182
+          v-model="queryParams.kqmc"
183
+          class="!w-240px"
184
+          clearable
185
+          placeholder="所属市区"
186
+        />
187
+      </el-form-item>
188
+      <el-form-item label="银行名称" prop="yhmc">
189
+        <el-input
190
+          v-model="queryParams.yhmc"
191
+          class="!w-240px"
192
+          clearable
193
+          placeholder="所属市区"
194
+        />
195
+      </el-form-item>
196
+      <el-form-item>
197
+        <el-button @click="handleQuery">
198
+          <Icon class="mr-5px" icon="ep:search"/>
199
+          查询
200
+        </el-button>
201
+        <el-button @click="resetQuery">
202
+          <Icon class="mr-5px" icon="ep:refresh"/>
203
+          重置
204
+        </el-button>
205
+        <el-button
206
+          plain
207
+          type="success"
208
+          @click="openForm('create')"
209
+        >
210
+          <Icon class="mr-5px" icon="ep:download"/>
211
+          导出
212
+        </el-button>
213
+      </el-form-item>
214
+    </el-form>
215
+    <el-divider/>
216
+    <el-table
217
+      v-loading="loading" :border="true" :data="list" :header-cell-style="{
218
+            background: 'rgba(248,248,249,1)', color: 'rgb(79,79,79)', height: '45px'
219
+        }"
220
+    >
221
+      <el-table-column align="center" fixed="left" min-width="60" type="selection"/>
222
+      <el-table-column align="center" fixed="left" label="序号" min-width="60" type="index"/>
223
+      <el-table-column align="center" label="所属省份" min-width="180" prop="sheng"/>
224
+      <el-table-column align="center" label="所属市区" min-width="180" prop="shi"/>
225
+      <el-table-column align="center" label="所属县区" min-width="180" prop="xian"/>
226
+      <el-table-column align="center" label="企业名称" min-width="280" prop="dwmc"/>
227
+      <el-table-column align="center" label="库区名称" min-width="280" prop="kqmc"/>
228
+      <el-table-column align="center" label="库区联系人" min-width="280" prop="kqfzr"/>
229
+      <el-table-column align="center" label="联系电话" min-width="280" prop="lxdh"/>
230
+      <el-table-column align="center" label="银行认定仓房数量(个)" min-width="280" prop="yhrdnum">
231
+        <template #default="scope">
232
+            <div @click="openForm('look', {...scope.row,yxcf:3})">{{scope.row.yhrdnum }}</div>
233
+        </template>
234
+      </el-table-column>
235
+      <el-table-column align="center" label="选定仓房数量(个)" min-width="280" prop="yxcfnum">
236
+        <template #default="scope">
237
+          <div @click="openForm('look', {...scope.row,yxcf:4})">{{scope.row.yxcfnum }}</div>
238
+        </template>
239
+      </el-table-column>
240
+      <el-table-column align="center" label="认定银行" min-width="280" prop="rdyhName"/>
241
+    </el-table>
242
+    <Pagination
243
+      v-model:limit="queryParams.pageSize"
244
+      v-model:page="queryParams.pageNo"
245
+      :total="total"
246
+      @pagination="handleQuery"
247
+    />
248
+    <DeliveryWarehouseSelectFrom ref="refForm" @success="handleQuery"/>
249
+  </ContentWrap>
250
+
251
+</template>
252
+
253
+<style lang="scss" scoped>
254
+
255
+</style>

+ 5 - 5
src/views/Login/Login.vue

@@ -350,12 +350,12 @@ $prefix-cls: #{$namespace}-login;
350 350
   top: 8%;
351 351
   left: 35%;
352 352
   transform: translate(-50%, -20%);
353
-  background: rgba(255, 255, 255, 0.1);
354
-  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
355
-  backdrop-filter: blur(10px);
356
-  -webkit-backdrop-filter: blur(10px);
353
+  //background: rgba(255, 255, 255, 0.1);
354
+  //box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
355
+  //backdrop-filter: blur(10px);
356
+  //-webkit-backdrop-filter: blur(10px);
357 357
   border-radius: 15px;
358
-  border: 1px solid rgba(255, 255, 255, 0.48);
358
+  //border: 1px solid rgba(255, 255, 255, 0.48);
359 359
 }
360 360
 
361 361
 .content .login-wrapper .left-img .glass .tips {