From 0a93cd6a96f28d5b24a92b96d59bc29903c53559 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Fri, 19 Mar 2021 14:22:59 +0800
Subject: [PATCH] 主动报警链接跳转
---
src/views/healthcode/healthcode.vue | 56 ++++++++++++++++++++++++++++++++++++++++++--------------
1 files changed, 42 insertions(+), 14 deletions(-)
diff --git a/src/views/healthcode/healthcode.vue b/src/views/healthcode/healthcode.vue
index 9803fcb..37b5996 100644
--- a/src/views/healthcode/healthcode.vue
+++ b/src/views/healthcode/healthcode.vue
@@ -103,37 +103,65 @@
]
},
{
- label: "行政区",
- searchSpan: 4,
- prop: "addvcd",
+ label: '省份',
+ prop: 'province',
search: true,
- type: "tree",
- dicUrl: "/api/blade-jfpts/district/district/selectd",
+ searchSpan: 3,
+ type: 'select',
props: {
- label: "addvnm",
- value: "addvcds"
- }
+ label: 'name',
+ value: 'code'
+ },
+ cascaderItem: ['city', 'district'],
+ dicUrl: '/api/blade-system/region/select',
+ span: 6,
+ },
+ {
+ label: '地市',
+ prop: 'city',
+ type: 'select',
+ searchSpan: 3,
+ search: true,
+ props: {
+ label: 'name',
+ value: 'code'
+ },
+ dicUrl: '/api/blade-system/region/select?code={{key}}',
+ span: 6,
+ },
+ {
+ label: '区县',
+ searchSpan: 3,
+ search: true,
+ prop: 'district',
+ type: 'select',
+ props: {
+ label: 'name',
+ value: 'code'
+ },
+ dicUrl: '/api/blade-system/region/select?code={{key}}',
+ span: 6,
},
{
label: "健康码颜色",
search: true,
- searchLabelWidth: 120,
+ searchLabelWidth:100,
prop: "type",
- searchSpan: 5,
- width:110,
+ searchSpan: 3,
+ width:210,
type: "select",
dicData: [
{
label: "绿色",
- value: 1
+ value: "1"
},
{
label: "黄色",
- value: 2
+ value: "2"
},
{
label: "红色",
- value: 3
+ value: "3"
}
],
}
--
Gitblit v1.9.3