diff --git a/collect_information/.env.development b/collect_information/.env.development index 24cdd4f..6f38067 100644 --- a/collect_information/.env.development +++ b/collect_information/.env.development @@ -1,3 +1,7 @@ # 配置文档参考 https://taro-docs.jd.com/docs/next/env-mode-config TARO_APP_ID="wx0acd1c4fcf94bdd3" -TARO_APP_BASE_API="https://www.hnjinglian.cn:5678" +TARO_APP_BASE_API="http://172.10.10.93:8765" + +# minio +TARO_APP_MINIO_URL=http://118.253.177.137:9000 +TARO_APP_MINIO_BUCKET=police-security-dev diff --git a/collect_information/.env.production b/collect_information/.env.production index b582c8e..d614d69 100644 --- a/collect_information/.env.production +++ b/collect_information/.env.production @@ -1,2 +1,6 @@ # TARO_APP_ID="wx0acd1c4fcf94bdd3" TARO_APP_BASE_API="https://www.hnjinglian.cn:5678" + +# minio +TARO_APP_MINIO_URL=https://www.hnjinglian.cn:9002 +TARO_APP_MINIO_BUCKET=police-security diff --git a/collect_information/.env.test b/collect_information/.env.test deleted file mode 100644 index 0215b61..0000000 --- a/collect_information/.env.test +++ /dev/null @@ -1 +0,0 @@ -# TARO_APP_ID="测试环境下的小程序appid" \ No newline at end of file diff --git a/collect_information/src/assets/images/01.png b/collect_information/src/assets/images/01.png deleted file mode 100644 index b66fa47..0000000 Binary files a/collect_information/src/assets/images/01.png and /dev/null differ diff --git a/collect_information/src/assets/images/project.png b/collect_information/src/assets/images/project.png index 8de6ed4..9aef305 100644 Binary files a/collect_information/src/assets/images/project.png and b/collect_information/src/assets/images/project.png differ diff --git a/collect_information/src/assets/images/回单.jpg b/collect_information/src/assets/images/回单.jpg new file mode 100644 index 0000000..20479b9 Binary files /dev/null and b/collect_information/src/assets/images/回单.jpg differ diff --git a/collect_information/src/assets/images/工单.jpg b/collect_information/src/assets/images/工单.jpg new file mode 100644 index 0000000..da046c5 Binary files /dev/null and b/collect_information/src/assets/images/工单.jpg differ diff --git a/collect_information/src/assets/images/排名.jpg b/collect_information/src/assets/images/排名.jpg new file mode 100644 index 0000000..96e4510 Binary files /dev/null and b/collect_information/src/assets/images/排名.jpg differ diff --git a/collect_information/src/assets/images/法制宣传.jpg b/collect_information/src/assets/images/法制宣传.jpg new file mode 100644 index 0000000..21d0e0d Binary files /dev/null and b/collect_information/src/assets/images/法制宣传.jpg differ diff --git a/collect_information/src/assets/images/考核监督.jpg b/collect_information/src/assets/images/考核监督.jpg new file mode 100644 index 0000000..0f9f7cc Binary files /dev/null and b/collect_information/src/assets/images/考核监督.jpg differ diff --git a/collect_information/src/assets/images/警保风采.jpg b/collect_information/src/assets/images/警保风采.jpg new file mode 100644 index 0000000..8de01b4 Binary files /dev/null and b/collect_information/src/assets/images/警保风采.jpg differ diff --git a/collect_information/src/config/index.ts b/collect_information/src/config/index.ts index f9bd5c6..ba8500d 100644 --- a/collect_information/src/config/index.ts +++ b/collect_information/src/config/index.ts @@ -20,7 +20,7 @@ export const MINI_PROGRAM_USER_CONFIG: Record - + + 1123 + + + 单位数量 + {{numberStatistics.enterprisesUnitCount}} + + + 服务项目 + + {{numberStatistics.serviceProjectCount}} + + + + 有保安证人员 + {{numberStatistics.securityUserCount}} + + + 无保安证人员 + {{numberStatistics.noCardSecurityUserCount}} + + 请选择 - - - + + + - {{ item.name }} + {{item.name}} + + diff --git a/collect_information/src/pages/police/index/index.vue.bak b/collect_information/src/pages/police/index/index.vue.bak new file mode 100644 index 0000000..9c1ef37 --- /dev/null +++ b/collect_information/src/pages/police/index/index.vue.bak @@ -0,0 +1,57 @@ + + diff --git a/collect_information/src/pages/projectManager/index/index.scss b/collect_information/src/pages/projectManager/index/index.scss index b802829..5308805 100644 --- a/collect_information/src/pages/projectManager/index/index.scss +++ b/collect_information/src/pages/projectManager/index/index.scss @@ -1,48 +1,73 @@ +.nameTitle { + position: absolute; + top: 277rpx; + left: 55px; + height: 125rpx; + background-color: #fff; + width: 650rpx; + border-radius: 12rpx; + box-shadow: 0px 10px 10px -4px #e3e3e3; + display: flex; + justify-content: space-between; + align-items: center; + + .itemSchool { + border-right: solid 1.5rpx #dadada; + display: flex; + flex-direction: column; + align-items: center; + width: 25%; + font-size: 24px + } + + .itemSchool text:nth-child(1) { + margin-bottom: 10rpx; + color: #898a8a; + margin-left: -8px; + } +} .swiperDemoItem { color: #3886d0; display: flex; padding: 20px 0 0 50px; overflow: hidden; height: 70rpx; + margin-top: 70px; .swiperDemoIndex { width: 15px; height: 45px; background-image: linear-gradient(to bottom, #5d9cf9, #317ad9); - //background: rgb(); border-radius: 20px; margin-right: 15px; } } - -.subModule { - display: flex; - align-items: center; - flex-wrap: wrap; - margin-right: -3px; - margin-left: -1px; - - .subModuleItem { - width: 33%; - height: 180rpx; +.Module { + background-color: #fff; + overflow: hidden; + .subModule { display: flex; - flex-direction: column; align-items: center; - justify-content: center; - padding-bottom: 10rpx; - border: 1px solid #ccc; - border-left: 0; - margin-top: -1px; - - .subModuleIndex { - width: 65rpx; - height: 65rpx; - - image { - width: 100%; - height: 100%; + flex-wrap: wrap; + .subModuleItem { + width: 246rpx; + height: 140rpx; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding-bottom: 10rpx; + .subModuleIndex { + width: 45rpx; + height: 45rpx; + image { + width: 100%; + height: 100%; + } } } } + } + diff --git a/collect_information/src/pages/projectManager/index/index.vue b/collect_information/src/pages/projectManager/index/index.vue index d44d09a..fb842a5 100644 --- a/collect_information/src/pages/projectManager/index/index.vue +++ b/collect_information/src/pages/projectManager/index/index.vue @@ -4,51 +4,99 @@ + 1123 + + + 单位数量 + 51 + + + 服务项目 + + 13123 + + + + 有保安证人员 + 1000 + + + 无保安证人员 + 140 + + 请选择 - - - + + + - {{ item.name }} + {{item.name}} + + + + diff --git a/policeManagement/src/types/components/form/index.ts b/policeManagement/src/types/components/form/index.ts index 32da75d..36927b9 100644 --- a/policeManagement/src/types/components/form/index.ts +++ b/policeManagement/src/types/components/form/index.ts @@ -15,6 +15,7 @@ import { } from "ant-design-vue"; import { Ref, UnwrapRef, VNode } from "vue"; import { ComponentProps } from "vue-component-type-helpers"; +import AdministrativeDivisionTree from "@/components/tree/AdministrativeDivisionTree.vue"; type FormProMaxItemType = | 'custom' @@ -32,7 +33,8 @@ type FormProMaxItemType = | 'datePicker' | 'rangePicker' | 'timeRangePicker' - | 'timePicker'; + | 'timePicker' + | 'administrativeDivisionTree' interface FormProMaxItemCommonProps extends ComponentProps { label?: string, @@ -64,6 +66,7 @@ export type FormProMaxItemOptions = { | FormProMaxItemProps<'rangePicker', ComponentProps> | FormProMaxItemProps<'timeRangePicker', ComponentProps> | FormProMaxItemProps<'timePicker', ComponentProps> + | FormProMaxItemProps<'administrativeDivisionTree', ComponentProps> } export interface FormProMaxProps extends FormProps { diff --git a/policeManagement/src/views/query/publicUnit.vue b/policeManagement/src/views/query/publicUnit.vue index 6e28d56..73137b9 100644 --- a/policeManagement/src/views/query/publicUnit.vue +++ b/policeManagement/src/views/query/publicUnit.vue @@ -1,8 +1,7 @@