diff --git a/.env.development b/.env.development index f3d7c10c1..fa857bf28 100644 --- a/.env.development +++ b/.env.development @@ -1,6 +1,8 @@ NODE_ENV=development # VUE_APP_API_SERVER = http://epmet-dev.elinkservice.cn:41080/api VUE_APP_API_SERVER = http://192.168.1.140/api +# VUE_APP_API_SERVER = https://epmet-cloud.elinkservice.cn/api +# VUE_APP_API_SERVER = https://epdc-shibei.elinkservice.cn/api #家中开发连级的后端服务 # VUE_APP_API_SERVER = https://epmet-dev.elinkservice.cn:41080/api diff --git a/.env.production b/.env.production index 6592f042f..5b72f6d9d 100644 --- a/.env.production +++ b/.env.production @@ -1,4 +1,4 @@ NODE_ENV=production VUE_APP_API_SERVER = https://epmet-cloud.elinkservice.cn/api VUE_APP_NODE_ENV=prod -VUE_APP_PUBLIC_PATH=epmet-oper \ No newline at end of file +VUE_APP_PUBLIC_PATH=epmet-oper diff --git a/package.json b/package.json index fc76c39ca..3def21d39 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "et:list": "gulp themes" }, "dependencies": { - "@tinymce/tinymce-vue": "^4.0.4", + "@riophae/vue-treeselect": "^0.4.0", + "@tinymce/tinymce-vue": "^3.2.8", "axios": "^0.19.0", "babel-eslint": "^8.0.1", "babel-plugin-component": "^1.1.1", @@ -54,6 +55,7 @@ }, "devDependencies": { "@antv/f2": "^3.8.10-beta.1", + "@tinymce/tinymce-vue": "^3.2.8", "@vue/cli-plugin-babel": "^3.10.0", "@vue/cli-plugin-eslint": "^3.10.0", "@vue/cli-service": "^3.10.0", @@ -63,6 +65,7 @@ "natives": "^1.1.6", "ol": "^6.9.0", "script-loader": "^0.7.2", + "tinymce": "^5.8.2", "vue-template-compiler": "^2.6.11" }, "eslintConfig": { diff --git a/src/assets/img/caiji-bc.png b/src/assets/img/caiji-bc.png new file mode 100644 index 000000000..49d736834 Binary files /dev/null and b/src/assets/img/caiji-bc.png differ diff --git a/src/assets/img/icon-voice.png b/src/assets/img/icon-voice.png new file mode 100644 index 000000000..73e2416ef Binary files /dev/null and b/src/assets/img/icon-voice.png differ diff --git a/src/assets/img/logo.png b/src/assets/img/logo.png new file mode 100644 index 000000000..3c3aa0fb7 Binary files /dev/null and b/src/assets/img/logo.png differ diff --git a/src/assets/img/modules/wx-mini/index-set/fangyi-btn.png b/src/assets/img/modules/wx-mini/index-set/fangyi-btn.png new file mode 100644 index 000000000..86bbb20f3 Binary files /dev/null and b/src/assets/img/modules/wx-mini/index-set/fangyi-btn.png differ diff --git a/src/assets/img/plugins/close.png b/src/assets/img/plugins/close.png new file mode 100644 index 000000000..c0ad64a07 Binary files /dev/null and b/src/assets/img/plugins/close.png differ diff --git a/src/assets/img/plugins/danghui.png b/src/assets/img/plugins/danghui.png new file mode 100644 index 000000000..aa88a94a1 Binary files /dev/null and b/src/assets/img/plugins/danghui.png differ diff --git a/src/assets/img/plugins/dangqi.png b/src/assets/img/plugins/dangqi.png new file mode 100644 index 000000000..b3bdd208b Binary files /dev/null and b/src/assets/img/plugins/dangqi.png differ diff --git a/src/assets/img/plugins/dangwei-by.png b/src/assets/img/plugins/dangwei-by.png new file mode 100644 index 000000000..0a1a45287 Binary files /dev/null and b/src/assets/img/plugins/dangwei-by.png differ diff --git a/src/assets/img/plugins/dangyuanzhongxinhu.png b/src/assets/img/plugins/dangyuanzhongxinhu.png new file mode 100644 index 000000000..c63335284 Binary files /dev/null and b/src/assets/img/plugins/dangyuanzhongxinhu.png differ diff --git a/src/assets/img/plugins/dian.png b/src/assets/img/plugins/dian.png new file mode 100644 index 000000000..a86b46b80 Binary files /dev/null and b/src/assets/img/plugins/dian.png differ diff --git a/src/assets/img/plugins/faguang.png b/src/assets/img/plugins/faguang.png new file mode 100644 index 000000000..fda60c082 Binary files /dev/null and b/src/assets/img/plugins/faguang.png differ diff --git a/src/assets/img/plugins/jiantou-A.png b/src/assets/img/plugins/jiantou-A.png new file mode 100644 index 000000000..716d3046b Binary files /dev/null and b/src/assets/img/plugins/jiantou-A.png differ diff --git a/src/assets/img/plugins/jiantou-D.png b/src/assets/img/plugins/jiantou-D.png new file mode 100644 index 000000000..ce4e1c676 Binary files /dev/null and b/src/assets/img/plugins/jiantou-D.png differ diff --git a/src/assets/img/plugins/jiantou-X.png b/src/assets/img/plugins/jiantou-X.png new file mode 100644 index 000000000..75199e994 Binary files /dev/null and b/src/assets/img/plugins/jiantou-X.png differ diff --git a/src/assets/img/plugins/louyuanxiaozu.png b/src/assets/img/plugins/louyuanxiaozu.png new file mode 100644 index 000000000..9066182ad Binary files /dev/null and b/src/assets/img/plugins/louyuanxiaozu.png differ diff --git a/src/assets/img/plugins/shuoming-X.png b/src/assets/img/plugins/shuoming-X.png new file mode 100644 index 000000000..72aea366a Binary files /dev/null and b/src/assets/img/plugins/shuoming-X.png differ diff --git a/src/assets/img/plugins/tanchuang.png b/src/assets/img/plugins/tanchuang.png new file mode 100644 index 000000000..f6cfc8dc1 Binary files /dev/null and b/src/assets/img/plugins/tanchuang.png differ diff --git a/src/assets/img/plugins/xiaozu-by.png b/src/assets/img/plugins/xiaozu-by.png new file mode 100644 index 000000000..6da3bf207 Binary files /dev/null and b/src/assets/img/plugins/xiaozu-by.png differ diff --git a/src/assets/img/plugins/you.png b/src/assets/img/plugins/you.png new file mode 100644 index 000000000..b8f6004c6 Binary files /dev/null and b/src/assets/img/plugins/you.png differ diff --git a/src/assets/img/plugins/zhibu-by.png b/src/assets/img/plugins/zhibu-by.png new file mode 100644 index 000000000..b509e7878 Binary files /dev/null and b/src/assets/img/plugins/zhibu-by.png differ diff --git a/src/assets/img/plugins/zuo.png b/src/assets/img/plugins/zuo.png new file mode 100644 index 000000000..6eec5eb06 Binary files /dev/null and b/src/assets/img/plugins/zuo.png differ diff --git a/src/assets/img/project/select-staff/arrow-down.png b/src/assets/img/project/select-staff/arrow-down.png new file mode 100644 index 000000000..81ea3f7d2 Binary files /dev/null and b/src/assets/img/project/select-staff/arrow-down.png differ diff --git a/src/assets/img/project/select-staff/arrow-right.png b/src/assets/img/project/select-staff/arrow-right.png new file mode 100644 index 000000000..01bf885db Binary files /dev/null and b/src/assets/img/project/select-staff/arrow-right.png differ diff --git a/src/assets/img/project/select-staff/arrow2-right.png b/src/assets/img/project/select-staff/arrow2-right.png new file mode 100644 index 000000000..1f967cddc Binary files /dev/null and b/src/assets/img/project/select-staff/arrow2-right.png differ diff --git a/src/assets/img/project/select-staff/arrow3-left.png b/src/assets/img/project/select-staff/arrow3-left.png new file mode 100644 index 000000000..0eef456d8 Binary files /dev/null and b/src/assets/img/project/select-staff/arrow3-left.png differ diff --git a/src/assets/img/project/select-staff/arrow4-down.png b/src/assets/img/project/select-staff/arrow4-down.png new file mode 100644 index 000000000..104b1acf6 Binary files /dev/null and b/src/assets/img/project/select-staff/arrow4-down.png differ diff --git a/src/assets/img/project/select-staff/btn-add.png b/src/assets/img/project/select-staff/btn-add.png new file mode 100644 index 000000000..140885bed Binary files /dev/null and b/src/assets/img/project/select-staff/btn-add.png differ diff --git a/src/assets/img/project/select-staff/btn-more.png b/src/assets/img/project/select-staff/btn-more.png new file mode 100644 index 000000000..714c40792 Binary files /dev/null and b/src/assets/img/project/select-staff/btn-more.png differ diff --git a/src/assets/img/project/select-staff/checked.png b/src/assets/img/project/select-staff/checked.png new file mode 100644 index 000000000..a66646cbe Binary files /dev/null and b/src/assets/img/project/select-staff/checked.png differ diff --git a/src/assets/img/project/select-staff/close.png b/src/assets/img/project/select-staff/close.png new file mode 100644 index 000000000..a77645b34 Binary files /dev/null and b/src/assets/img/project/select-staff/close.png differ diff --git a/src/assets/img/project/select-staff/close2.png b/src/assets/img/project/select-staff/close2.png new file mode 100644 index 000000000..eebdfd7f0 Binary files /dev/null and b/src/assets/img/project/select-staff/close2.png differ diff --git a/src/assets/img/project/select-staff/edit.png b/src/assets/img/project/select-staff/edit.png new file mode 100644 index 000000000..d34b2eecf Binary files /dev/null and b/src/assets/img/project/select-staff/edit.png differ diff --git a/src/assets/img/project/select-staff/f5.png b/src/assets/img/project/select-staff/f5.png new file mode 100644 index 000000000..439b0f3ff Binary files /dev/null and b/src/assets/img/project/select-staff/f5.png differ diff --git a/src/assets/img/project/select-staff/house.png b/src/assets/img/project/select-staff/house.png new file mode 100644 index 000000000..17dab895a Binary files /dev/null and b/src/assets/img/project/select-staff/house.png differ diff --git a/src/assets/img/project/select-staff/nothing.png b/src/assets/img/project/select-staff/nothing.png new file mode 100644 index 000000000..f1407a7e7 Binary files /dev/null and b/src/assets/img/project/select-staff/nothing.png differ diff --git a/src/assets/img/project/select-staff/phone.png b/src/assets/img/project/select-staff/phone.png new file mode 100644 index 000000000..9b1072e5f Binary files /dev/null and b/src/assets/img/project/select-staff/phone.png differ diff --git a/src/assets/img/project/select-staff/pos.png b/src/assets/img/project/select-staff/pos.png new file mode 100644 index 000000000..578dcaa26 Binary files /dev/null and b/src/assets/img/project/select-staff/pos.png differ diff --git a/src/assets/img/project/select-staff/rhombus.png b/src/assets/img/project/select-staff/rhombus.png new file mode 100644 index 000000000..cfef37ff1 Binary files /dev/null and b/src/assets/img/project/select-staff/rhombus.png differ diff --git a/src/assets/img/project/select-staff/rotate.png b/src/assets/img/project/select-staff/rotate.png new file mode 100644 index 000000000..91bef26cb Binary files /dev/null and b/src/assets/img/project/select-staff/rotate.png differ diff --git a/src/assets/img/project/select-staff/select.png b/src/assets/img/project/select-staff/select.png new file mode 100644 index 000000000..67f00c529 Binary files /dev/null and b/src/assets/img/project/select-staff/select.png differ diff --git a/src/assets/img/project/select-staff/selected.png b/src/assets/img/project/select-staff/selected.png new file mode 100644 index 000000000..f19524322 Binary files /dev/null and b/src/assets/img/project/select-staff/selected.png differ diff --git a/src/assets/img/project/select-staff/selected2.png b/src/assets/img/project/select-staff/selected2.png new file mode 100644 index 000000000..ad3e0dd37 Binary files /dev/null and b/src/assets/img/project/select-staff/selected2.png differ diff --git a/src/assets/img/project/select-staff/sort1.png b/src/assets/img/project/select-staff/sort1.png new file mode 100644 index 000000000..c001250d7 Binary files /dev/null and b/src/assets/img/project/select-staff/sort1.png differ diff --git a/src/assets/img/project/select-staff/sort2.png b/src/assets/img/project/select-staff/sort2.png new file mode 100644 index 000000000..3e1b56d05 Binary files /dev/null and b/src/assets/img/project/select-staff/sort2.png differ diff --git a/src/assets/img/project/select-staff/sort3.png b/src/assets/img/project/select-staff/sort3.png new file mode 100644 index 000000000..de0f27099 Binary files /dev/null and b/src/assets/img/project/select-staff/sort3.png differ diff --git a/src/assets/img/project/select-staff/staff-default-avatar-boy.png b/src/assets/img/project/select-staff/staff-default-avatar-boy.png new file mode 100644 index 000000000..c7e813d37 Binary files /dev/null and b/src/assets/img/project/select-staff/staff-default-avatar-boy.png differ diff --git a/src/assets/img/project/select-staff/staff-default-avatar-girl.png b/src/assets/img/project/select-staff/staff-default-avatar-girl.png new file mode 100644 index 000000000..8b8f24264 Binary files /dev/null and b/src/assets/img/project/select-staff/staff-default-avatar-girl.png differ diff --git a/src/assets/img/project/select-staff/staff-default-avatar.png b/src/assets/img/project/select-staff/staff-default-avatar.png new file mode 100644 index 000000000..c7e813d37 Binary files /dev/null and b/src/assets/img/project/select-staff/staff-default-avatar.png differ diff --git a/src/assets/img/project/select-staff/user-add.png b/src/assets/img/project/select-staff/user-add.png new file mode 100644 index 000000000..6289b0b39 Binary files /dev/null and b/src/assets/img/project/select-staff/user-add.png differ diff --git a/src/assets/img/project/select-staff/xuncha.png b/src/assets/img/project/select-staff/xuncha.png new file mode 100644 index 000000000..e5f39de28 Binary files /dev/null and b/src/assets/img/project/select-staff/xuncha.png differ diff --git a/src/assets/img/satisfy-images/face1.png b/src/assets/img/satisfy-images/face1.png new file mode 100644 index 000000000..044aa15d9 Binary files /dev/null and b/src/assets/img/satisfy-images/face1.png differ diff --git a/src/assets/img/satisfy-images/face1_light.png b/src/assets/img/satisfy-images/face1_light.png new file mode 100644 index 000000000..51e427f4e Binary files /dev/null and b/src/assets/img/satisfy-images/face1_light.png differ diff --git a/src/assets/img/satisfy-images/face2.png b/src/assets/img/satisfy-images/face2.png new file mode 100644 index 000000000..0733ff1a2 Binary files /dev/null and b/src/assets/img/satisfy-images/face2.png differ diff --git a/src/assets/img/satisfy-images/face2_light.png b/src/assets/img/satisfy-images/face2_light.png new file mode 100644 index 000000000..071cf7a50 Binary files /dev/null and b/src/assets/img/satisfy-images/face2_light.png differ diff --git a/src/assets/img/satisfy-images/face3.png b/src/assets/img/satisfy-images/face3.png new file mode 100644 index 000000000..f85b027e6 Binary files /dev/null and b/src/assets/img/satisfy-images/face3.png differ diff --git a/src/assets/img/satisfy-images/face3_light.png b/src/assets/img/satisfy-images/face3_light.png new file mode 100644 index 000000000..ec20e184c Binary files /dev/null and b/src/assets/img/satisfy-images/face3_light.png differ diff --git a/src/assets/img/shuju/logo1.png b/src/assets/img/shuju/logo1.png new file mode 100644 index 000000000..1297692bc Binary files /dev/null and b/src/assets/img/shuju/logo1.png differ diff --git a/src/assets/img/shuju/measure/hong@2x.png b/src/assets/img/shuju/measure/hong@2x.png new file mode 100644 index 000000000..15a949688 Binary files /dev/null and b/src/assets/img/shuju/measure/hong@2x.png differ diff --git a/src/assets/img/shuju/measure/jijin.png b/src/assets/img/shuju/measure/jijin.png new file mode 100644 index 000000000..b051139cd Binary files /dev/null and b/src/assets/img/shuju/measure/jijin.png differ diff --git a/src/assets/img/shuju/measure/minban.png b/src/assets/img/shuju/measure/minban.png new file mode 100644 index 000000000..735fea832 Binary files /dev/null and b/src/assets/img/shuju/measure/minban.png differ diff --git a/src/assets/img/shuju/measure/other.png b/src/assets/img/shuju/measure/other.png new file mode 100644 index 000000000..d5791f0ee Binary files /dev/null and b/src/assets/img/shuju/measure/other.png differ diff --git a/src/assets/img/shuju/measure/zhuhu_orange.png b/src/assets/img/shuju/measure/zhuhu_orange.png new file mode 100644 index 000000000..0656dcc38 Binary files /dev/null and b/src/assets/img/shuju/measure/zhuhu_orange.png differ diff --git a/src/assets/img/shuju/measure/zhuhu_red.png b/src/assets/img/shuju/measure/zhuhu_red.png new file mode 100644 index 000000000..9fa8c1bd5 Binary files /dev/null and b/src/assets/img/shuju/measure/zhuhu_red.png differ diff --git a/src/assets/img/shuju/measure/zhuhu_yellow.png b/src/assets/img/shuju/measure/zhuhu_yellow.png new file mode 100644 index 000000000..00bc496ea Binary files /dev/null and b/src/assets/img/shuju/measure/zhuhu_yellow.png differ diff --git a/src/assets/scss/c/function.scss b/src/assets/scss/c/function.scss index 74b020975..09d9da0e3 100644 --- a/src/assets/scss/c/function.scss +++ b/src/assets/scss/c/function.scss @@ -57,13 +57,13 @@ transform: translate(-50%, -50%); } // 已知高度的容器在页面中水平垂直居中 -@mixin hub($w, $h) { +@mixin hub { position: absolute; - top: 50%; - left: 50%; - width: $w; - height: $h; - margin: -$h * 0.5 0 0 -$w * 0.5; + top: 0; + bottom: 0; + left: 0; + right: 0; + margin: auto; } // 未知高度容器在页面居中,父元素必须相对定位 @mixin hub2($sel, $w, $h) { @@ -273,3 +273,23 @@ position: absolute; padding: 0px; } + +@mixin scrollBar { + &::-webkit-scrollbar { + /*滚动条整体样式*/ + width: 8px; /*高宽分别对应横竖滚动条的尺寸*/ + height: 1px; + } + &::-webkit-scrollbar-thumb { + /*滚动条里面小方块*/ + border-radius: 8px; + box-shadow: inset 0 0 5px #aaa; + background: #aaa; + } + &::-webkit-scrollbar-track { + /*滚动条里面轨道*/ + box-shadow: inset 0 0 5px #aaa; + border-radius: 8px; + background: #eee; + } +} \ No newline at end of file diff --git a/src/assets/scss/common.scss b/src/assets/scss/common.scss index 7acb699ea..b64e02d22 100644 --- a/src/assets/scss/common.scss +++ b/src/assets/scss/common.scss @@ -813,3 +813,19 @@ img { background-color: #fe6252; border-color: #fe6252; } + +// 修改表格不换行的问题 +div.el-table div.cell { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + word-wrap: normal; +} + +input::-webkit-outer-spin-button, +input::-webkit-inner-spin-button { + -webkit-appearance: none; +} +input[type="number"] { + -moz-appearance: textfield; +} diff --git a/src/assets/scss/modules/management/epidemic.scss b/src/assets/scss/modules/management/epidemic.scss index 46189c058..f8ff057cd 100644 --- a/src/assets/scss/modules/management/epidemic.scss +++ b/src/assets/scss/modules/management/epidemic.scss @@ -37,12 +37,15 @@ .div_search { background: #ffffff; border-radius: 4px; - padding: 30px 20px 5px; + padding: 20px 20px 5px 5px; box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1); } .list_item_width_1 { - width: 170px; + width: 165px; + } + .list_item_width_2 { + width: 135px; } } @@ -102,7 +105,14 @@ } } .div-mult-table { + position: relative; padding: 0 20px; + + .div_selcount{ + position: absolute; + bottom:10px; + left:30px; + } } .div_dialog_table { diff --git a/src/assets/scss/modules/management/form-main.scss b/src/assets/scss/modules/management/form-main.scss new file mode 100644 index 000000000..6e0cfa6fa --- /dev/null +++ b/src/assets/scss/modules/management/form-main.scss @@ -0,0 +1,83 @@ + + +.div_form { + width: 100%; + margin-top:20px; + + .data-tag{ + margin-left:10px; + } + + .item_width_1{ + width: 480px; + } + .item_width_2{ + width: 220px; + } + + .list_item_width_1 { + width: 165px; + } + .list_item_width_2 { + width: 135px; + } +} + + +.div-mult-form { + margin-top: 20px; + + .div_person { + display: flex; + font-size: 14px; + padding-bottom: 20px; + + .person_title { + text-align: right; + flex: 0 0 100px; + + line-height: 36px; + padding: 0 12px 0 0; + } + + .tag_item { + margin-right: 10px; + margin-top: 10px; + } + .tag_tip { + margin-top: 10px; + color: #9c9c9c; + } + } +} + + + +.twoline { + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 2; + overflow: hidden; +} + +.div_btn { + margin-top: 20px; + text-align: center; +} + +.d-h3{ + margin-left:20px; +} + +.div_map { + margin-top:10px; + position: relative; +} +.div_searchmap { + z-index: 1000; + position: absolute; + top: 5px; + left: 5px; + display: flex; + justify-content: flex-start; +} \ No newline at end of file diff --git a/src/assets/scss/modules/management/list-main.scss b/src/assets/scss/modules/management/list-main.scss new file mode 100644 index 000000000..132b39be1 --- /dev/null +++ b/src/assets/scss/modules/management/list-main.scss @@ -0,0 +1,118 @@ + + +.div_main { + width: 100%; + .marginl-20{ + margin-left: 16px; + } + + .div_search { + background: #ffffff; + border-radius: 4px; + padding: 20px 20px 5px 15px; + box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1); + } + .data-tag{ + margin-left:10px; + } + + .item_width_1{ + width: 260px; + } + .item_width_2{ + width: 160px; + } + + .list_item_width_1 { + width: 165px; + } + .list_item_width_2 { + width: 135px; + } +} + +.div_table { + background: #ffffff; + box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1); + border-radius: 4px; + margin-top: 15px; + padding: 10px; + position: relative; + + .div_btn { + margin-top: 10px; + margin-left: 10px; + display: flex; + + .btn_upload { + margin-left: 10px; + display: flex; + } + } + .table { + margin-top: 20px; + + .img-voice{ + width:30px; + height:30px; + } + } + + .div_notice { + position: absolute; + left: 15px; + bottom: 0; + } +} + +.div-mult-form { + margin-top: 20px; + + .div_person { + display: flex; + font-size: 14px; + padding-bottom: 20px; + + .person_title { + text-align: right; + flex: 0 0 100px; + + line-height: 36px; + padding: 0 12px 0 0; + } + + .tag_item { + margin-right: 10px; + margin-top: 10px; + } + .tag_tip { + margin-top: 10px; + color: #9c9c9c; + } + } +} +.div-mult-table { + position: relative; + padding: 0 20px; + + .div_selcount{ + position: absolute; + bottom:10px; + left:30px; + } +} + +.div_dialog_table { + padding: 10px; + + .table { + margin-top: 20px; + } +} + +.twoline { + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 2; + overflow: hidden; +} diff --git a/src/assets/scss/modules/shequzhili/event-info.scss b/src/assets/scss/modules/shequzhili/event-info.scss new file mode 100644 index 000000000..ad8cad49b --- /dev/null +++ b/src/assets/scss/modules/shequzhili/event-info.scss @@ -0,0 +1,454 @@ +@import "../../c/config"; +@import "../../c/function"; + +.g-add{ + + + .g-add-page{ + display: flex; + .g-left { + box-sizing: border-box; + width:40%; + padding: 5px 10px; + } + .g-right { + box-sizing: border-box; + width: 60%; + padding: 5px 10px; + } + + .form{ + .cell-width-1{ + width: 250px + } + .avatar-uploader { + margin: 0 0 0 20px; + + // /deep/ .el-upload--picture-card{ + // width: 100px; + // height: 100px; + // } + // /deep/ .el-upload{ + // width: 100px; + // height: 100px; + // line-height: 100px; + // } + // /deep/ .el-upload-list--picture-card .el-upload-list__item{ + // width: 100px; + // height: 100px; + // line-height: 100px; + // } + // /deep/ .el-upload-list--picture-card .el-upload-list__item-thumbnail{ + // width: 100px; + // height: 100px; + // line-height: 100px; + // } + // /deep/ .avatar{ + // width: 100px; + // height: 100px; + // } + // /deep/ .el-upload-list__item-status-label { + // display: block; + // position: absolute; + // right: -15px; + // top: -6px; + // width: 40px; + // height: 24px; + // background: #13ce66; + // text-align: center; + // -webkit-transform: rotate(45deg); + // transform: rotate(45deg); + // -webkit-box-shadow: 0 0 1pc 1px rgba(0, 0, 0, 0.2); + // box-shadow: 0 0 1pc 1px rgba(0, 0, 0, 0.2); + // } + // /deep/ .el-upload-list__item-actions { + // position: absolute; + // width: 100%; + // height: 100%; + // left: 0; + // top: 0; + // cursor: default; + // text-align: center; + // color: #fff; + // opacity: 0; + // font-size: 20px; + // background-color: rgba(0, 0, 0, 0.5); + // -webkit-transition: opacity .3s; + // transition: opacity .3s; + // } + } + + + } + } +} + +.g-page { + display: flex; + width:100%; + .g-total{ + width:100%; + } + .g-left { + box-sizing: border-box; + width: 65%; + padding: 5px 10px; + } + .g-right { + box-sizing: border-box; + width: 35%; + padding: 5px 10px; + } +} + +.g-process-info{ + .cell-width-area{ + width: 450px + } +} +.div_map { + position: relative; +} +.div_searchmap { + z-index: 1000; + position: absolute; + top: 5px; + left: 5px; +} + +.div-btn{ + margin-top:50px; + display: flex; + justify-content: center; +} +.cell-width-1{ + width: 250px +} +.cell-width-long{ + width: 450px +} +.cell-width-2{ + width: 350px +} + +.cell-width-map { + width: 200px; +} +.item_width_3 { + margin-left: 10px; + width: 150px; +} + +.process-form{ + margin-top:20px; +} + +.m-card { + overflow-x: auto; +} + + + + +.m-btns { + display: flex; + justify-content: center; +} + + +.m-info { + padding-left: 30px; + font-size: 14px; + font-family: PingFang SC; + font-weight: 400; + color: #333; + line-height: 24px; + // width: 500px; + + .info-title { + margin-top: 30px; + font-size: 20px; + font-family: PingFang SC; + font-weight: bold; + color: #333; + line-height: 30px; + } + .info-content { + margin: 20px 0; + } + .info-pics { + display: flex; + margin: 20px 0; + img { + display: block; + width: 32%; + height: 90px; + margin-right: 9px; + object-fit: cover; + } + } + + .info-prop { + position: relative; + margin: 10px 0; + display: flex; + padding-left: 15px; + + .line{ + text-decoration:underline; + color: #3e8ef7; + } + .line:hover{ + cursor:pointer + } + .info-title-2 { + + flex: 0 0 100px; + font-size: 14px; + } + + > span, + > div { + display: block; + // max-width: 300px; + } + + &::before { + content: ""; + display: block; + position: absolute; + top: 9px; + left: 0; + width: 7px; + height: 7px; + background: #0c81fe; + border-radius: 3px; + margin-right: 10px; + } + } +} + +.m-case { + height: 600px; + padding: 20px 0 20px 0; + overflow-y: auto; +} + +.m-row { + // display: flex; + justify-content: space-between; + width:100%; +} + +.m-hint { + position: relative; + height: 300px; + + // 暂无数据 + img { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + margin: auto; + } +} + +.m-line { + min-width: 400px; + + .stat { + margin: 20px 0 10px; + display: flex; + .stat-item { + width: 33%; + text-align: center; + + div { + font-size: 17px; + font-family: Source Han Serif SC; + font-weight: 500; + color: rgba(#000, 0.5); + line-height: 24px; + &.z-weak { + font-size: 12px; + font-family: Source Han Serif SC; + font-weight: 500; + color: rgba(#000, 0.5); + line-height: 24px; + } + } + } + } +} + +.m-process { + margin-top: 30px; + margin-left: 15px; + // min-width: 400px; + + .process-title { + margin-bottom: 25px; + margin-left: -5px; + font-size: 16px; + font-family: PingFang SC; + font-weight: bold; + color: #333; + line-height: 18px; + } + + .list { + position: relative; + box-sizing: border-box; + margin-top: 30px/2; + margin-left: 50px/2; + padding: 0 0 0 30px/2; + width: 680px/2; + border-left: 3px solid #0c81fe; + padding-right: 10px; + + &::before { + content: ""; + position: absolute; + z-index: 1; + display: block; + top: -2px/2; + left: -2px/2; + width: 5px/2; + height: 20px/2; + background-color: #333; + } + + .item { + position: relative; + z-index: 2; + margin-bottom: 8px; + padding-bottom: 8px; + font-size: 16px; + font-family: PingFang SC; + font-weight: 400; + color: #333; + line-height: 24px; + padding-left: 20px; + padding-top: 1px; + + &::before { + content: ""; + display: block; + position: absolute; + top: -5px; + left: -11px; + width: 18px; + height: 18px; + background: #0c81fe; + border: 4px solid lighten(#0c81fe, 15); + border-radius: 100%; + } + + &.z-on { + &::before { + background: #e08400; + border-color: lighten(#e08400, 15); + } + } + + &:last-child { + margin-bottom: 0; + padding-bottom: 0; + border-bottom: none; + } + + .item-row { + margin-top: -10px; + margin-bottom: 10px; + display: flex; + } + + .name { + position: relative; + padding: 0 10px; + font-size: 12px; + font-family: PingFang SC; + font-weight: 500; + color: #fff; + line-height: 22px; + height: 22px; + border-radius: 10px 0 10px 0; + background-color: #0c81fe; + // background-color: #e08400; + } + + .date { + margin-left: 10px; + font-size: 12px; + font-family: PingFang SC; + font-weight: 500; + color: #7ca1d2; + line-height: 25px; + } + + .detail { + @include cs; + font-size: 14px; + line-height: 20px; + margin-bottom: 5px; + display: flex; + + .detail-field { + flex:0 0 100px; + + text-align: justify; + text-align-last: justify; + } + .detail-value { + // width: 78%; + .detail-link { + display: inline; + } + } + } + + .attachement-list { + padding-left: 80px; + a { + display: block; + cursor: pointer; + color: #4df0ff; + font-size: 14px; + + i { + color: #333; + } + } + } + } + } +} + +.m-top { + display: flex; +} + +.m-chart { + min-height: 200px; +} + +.div-satisfy{ + padding:10px 0 0; + display:flex ; + justify-content: flex-start; + text-align: center; + >div{ + margin-left:50px; + } + img{ + width:80px; + height:80px; + } + + .tip-satisfy{ + text-align: center; + margin-top:10px + } +} diff --git a/src/assets/scss/modules/shequzhili/project-info.scss b/src/assets/scss/modules/shequzhili/project-info.scss new file mode 100644 index 000000000..f3245f13d --- /dev/null +++ b/src/assets/scss/modules/shequzhili/project-info.scss @@ -0,0 +1,359 @@ +@import "../../c/config"; +@import "../../c/function"; + +.g-page { + display: flex; + .g-left { + box-sizing: border-box; + width: 65%; + padding: 5px 10px; + } + .g-right { + box-sizing: border-box; + width: 35%; + padding: 5px 10px; + } +} + +.m-card { + overflow: auto; + @include scrollBar; +} + +.m-fm { + .avatar-uploader { + margin: 0 0 0 20px; + + ::v-deep .el-upload { + cursor: pointer; + position: relative; + overflow: hidden; + } + img { + object-fit: cover; + } + .el-upload:hover { + border-color: #409eff; + } + .avatar { + width: 36px; + height: 36px; + display: block; + } + .avatar-uploader-icon { + border: 1px dashed #d9d9d9; + border-radius: 6px; + font-size: 28px; + color: #8c939d; + width: 36px; + height: 36px; + line-height: 36px; + text-align: center; + } + } +} + +.m-btns { + display: flex; + justify-content: center; +} + +.m-info { + padding-left: 10px; + font-size: 14px; + font-family: PingFang SC; + font-weight: 400; + color: #333; + line-height: 24px; + // width: 500px; + + .info-title { + margin-top: 30px; + font-size: 20px; + font-family: PingFang SC; + font-weight: bold; + color: #333; + line-height: 30px; + } + .info-content { + margin: 20px 0; + } + .info-pics { + display: flex; + margin: 20px 0; + min-width: 200px; + padding-left: 15px; + + img { + display: block; + width: 32%; + height: 90px; + margin-right: 9px; + object-fit: cover; + cursor: pointer; + } + } + + .info-prop { + position: relative; + margin: 10px 0; + display: flex; + padding-left: 15px; + .info-title-2 { + flex: 0 0 100px; + font-size: 14px; + } + + > span, + > div { + display: block; + // max-width: 300px; + } + + &::before { + content: ""; + display: block; + position: absolute; + top: 9px; + left: 0; + width: 7px; + height: 7px; + background: #0c81fe; + border-radius: 3px; + margin-right: 10px; + } + } +} + +.m-case { + height: 600px; + padding: 20px 0 20px 0; + overflow-y: auto; +} + +.m-row { + display: flex; + justify-content: space-between; +} + +.m-hint { + position: relative; + height: 300px; + + // 暂无数据 + img { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + margin: auto; + } +} + +.m-line { + min-width: 400px; + + .stat { + margin: 20px 0 10px; + display: flex; + .stat-item { + width: 33%; + text-align: center; + + div { + font-size: 17px; + font-family: Source Han Serif SC; + font-weight: 500; + color: rgba(#000, 0.5); + line-height: 24px; + &.z-weak { + font-size: 12px; + font-family: Source Han Serif SC; + font-weight: 500; + color: rgba(#000, 0.5); + line-height: 24px; + } + } + } + } +} + +.m-tb { + padding-left: 62px; + padding-right: 40px; +} + +.m-pagination { + box-sizing: border-box; + margin-top: 20px; + width: 100%; + height: 40px; + display: flex; + justify-content: flex-end; + + /deep/ .el-pagination.is-background .el-pager li:not(.disabled).active { + background: #0266d1; + color: #000d3f; + } + + /deep/ .el-pagination .el-pager li { + background: #002e74; + } + + /deep/ .el-pagination .btn-prev { + background: #002e74; + } + + /deep/ .el-pagination .btn-next { + background: #002e74; + } +} + +.m-process { + margin-top: 30px; + margin-left: 15px; + // min-width: 400px; + + .process-title { + margin-bottom: 25px; + margin-left: -5px; + font-size: 16px; + font-family: PingFang SC; + font-weight: bold; + color: #333; + line-height: 18px; + } + + .list { + position: relative; + box-sizing: border-box; + // width: 680px*0.5; + border-left: 3px solid #0c81fe; + + &::before { + content: ""; + position: absolute; + z-index: 1; + display: block; + top: -2px * 0.5; + left: -2px * 0.5; + width: 5px * 0.5; + height: 20px * 0.5; + background-color: #333; + } + + .item { + position: relative; + z-index: 2; + margin-bottom: 8px; + padding-bottom: 8px; + font-size: 16px; + font-family: PingFang SC; + font-weight: 400; + color: #333; + line-height: 24px; + padding-left: 20px; + padding-top: 1px; + + &::before { + content: ""; + display: block; + position: absolute; + top: -5px; + left: -11px; + width: 18px; + height: 18px; + background: #0c81fe; + border: 4px solid lighten(#0c81fe, 15); + border-radius: 100%; + } + + &.z-on { + &::before { + background: #e08400; + border-color: lighten(#e08400, 15); + } + } + + &:last-child { + margin-bottom: 0; + padding-bottom: 0; + border-bottom: none; + } + + .item-row { + margin-top: -10px; + margin-bottom: 10px; + display: flex; + } + + .name { + position: relative; + padding: 0 10px; + font-size: 12px; + font-family: PingFang SC; + font-weight: 500; + color: #fff; + line-height: 22px; + height: 22px; + border-radius: 10px 0 10px 0; + background-color: #0c81fe; + // background-color: #e08400; + } + + .date { + margin-left: 10px; + font-size: 12px; + font-family: PingFang SC; + font-weight: 500; + color: #7ca1d2; + line-height: 25px; + } + + .detail { + @include cs; + font-size: 14px; + line-height: 20px; + margin-bottom: 5px; + display: flex; + + .detail-field { + // width: 80px; + flex: 0 0 80px; + text-align: justify; + text-align-last: justify; + } + .detail-value { + // width: 78%; + .detail-link { + display: inline; + } + } + } + + .attachement-list { + padding-left: 80px; + a { + display: block; + cursor: pointer; + // color: darken(#4df0ff, 30); + color: #999; + font-size: 14px; + + i { + color: #333; + } + } + } + } + } +} + +.m-top { + display: flex; +} + +.m-chart { + min-height: 200px; +} diff --git a/src/assets/scss/modules/visual/basicInfoMain copy.scss b/src/assets/scss/modules/visual/basicInfoMain copy.scss deleted file mode 100644 index 938856f42..000000000 --- a/src/assets/scss/modules/visual/basicInfoMain copy.scss +++ /dev/null @@ -1,499 +0,0 @@ -.div_top { - margin-left: 10px; - height: 35px; - .router_line { - width: 212px; - height: 1px; - border: 1px solid #ffffff; - opacity: 0.09; - /* opacity: 0.09; */ - } - .div_router { - margin-top: 5px; - font-size: 16px; - - .router_parents { - color: #a0c3d9; - - .arrow { - padding: 0 5px; - } - } - .router_parents:hover { - cursor: pointer; - } - - .router_child { - color: #ffffff; - } - } -} - -.div_content { - display: flex; - - .div_map { - box-sizing: border-box; - width: 100%; - // padding: 10px 5px 13px; - // margin-top: 8px; - height: calc(88vh - 15px); - color: #fff; - // background: url('../../../img/modules/visual/warning-box.png') no-repeat - // center; - // background-size: 100% 100%; - } - - .div_data { - flex: 0 0 562px; - margin-left: 12px; - - .div_search { - width: 100%; - height: 56px; - text-align: center; - background-color: #011168; - border-radius: 4px 0 0 4px; - border: none; - box-shadow: 0 0 10px inset #1a5afd; - font-size: 18px; - font-family: PingFang SC; - font-weight: 400; - color: #ffffff; - opacity: 0.7; - display: flex; - justify-content: space-between; - .div_search_left { - display: flex; - justify-content: flex-start; - .icon { - display: flex; - align-items: center; - margin-left: 29px; - - > img { - width: 24px; - height: 24px; - } - } - - > span { - line-height: 56px; - margin-left: 10px; - } - } - - .btn { - text-align: center; - flex: 0 0 113px; - height: 56px; - background: linear-gradient(90deg, #1a5afd, #26c4ff); - font-size: 20px; - font-family: PingFang SC; - font-weight: 400; - color: #ffffff; - line-height: 56px; - border-radius: 0 4px 4px 0; - } - } - - .div_search:hover { - cursor: pointer; - } - - .div_info { - box-sizing: border-box; - width: 100%; - margin-top: 21px; - height: calc(88vh - 87px); - color: #fff; - background: url('../../../img/modules/visual/warning-box.png') no-repeat - center; - background-size: 100% 100%; - // padding: 45px 21px 35px 24px; - - .info_loading { - margin-top: 50px; - } - .info_tip { - padding: 31px 0 0 19px; - display: flex; - > img { - height: 34px; - width: 46px; - } - - .tip_title { - line-height: 34px; - margin-left: 7px; - font-size: 22px; - font-family: PingFang SC; - font-weight: 800; - color: #ffffff; - } - } - - .info_list { - margin-top: 9px; - - .item { - .item_line { - margin-top: 13px; - margin-left: 24px; - width: 517px; - height: 0px; - border: 1px dotted #1797ff31; - border-width: 0.5px; - } - .last_line { - border: 1px dotted #1797ff00; - } - .list_item { - display: flex; - padding: 18px 59px 0; - justify-content: space-between; - - .list_item_col { - flex: 0 0 240px; - display: flex; - - > img { - height: 76px; - width: 76px; - } - - .item_content { - margin-left: 10px; - height: 76px; - display: flex; - flex-direction: column; - justify-content: center; - - .item_label { - font-size: 18px; - font-family: PingFang SC; - font-weight: 400; - color: #ffffff; - } - .item_count { - margin-top: 10px; - font-size: 28px; - font-family: PingFang SC; - font-weight: bold; - color: #00fffc; - } - } - } - } - - ::v-deep .el-popper { - padding: 0px; - } - // - } - } - } - - .div_info { - /deep/ .el-scrollbar__wrap { - overflow-x: hidden !important; - } - } - } -} - -.div_community_info { - box-sizing: border-box; - flex: 0 0 calc(100vw - 620px); - // width: calc(100vw - 560px); - - height: calc(88vh - 10px); - color: #fff; - background: url('../../../img/modules/visual/warning-box.png') no-repeat - center; - background-size: 100% 100%; - - .div_select { - margin-top: 28px; - margin-left: 24px; - display: flex; - .customer_select { - display: flex; - justify-content: flex-start; - - > span { - width: auto; - font-size: 22px; - font-family: PingFang SC; - font-weight: 800; - color: #ffffff; - line-height: 34px; - } - } - > img { - height: 34px; - width: 46px; - } - - .tip_title { - line-height: 34px; - margin-left: 12px; - font-size: 22px; - font-family: PingFang SC; - font-weight: 800; - color: #ffffff; - } - } - - .div_room_bar { - box-sizing: border-box; - - margin-top: 9px; - height: calc(88vh - 120px); - } - - .div_room { - // height: calc(88vh - 40px); - // margin-top: 9px; - display: flex; - flex-wrap: wrap; - justify-content: flex-start; - margin: 0 21px 0 21px; - - .item:hover { - cursor: pointer; - } - .item_sel { - box-shadow: 0 0 10px inset #1a5afd; - } - .item { - background-color: #011168; - margin-top: 12px; - width: 244px; - height: 190px; - border: 1px solid #037ddc; - border-radius: 8px; - text-align: center; - margin-left: 11px; - position: relative; - - // &:first-child { - // margin-left: 0; - // } - - .housename { - margin-top: 70px; - font-size: 24px; - font-family: PingFang SC; - font-weight: 500; - color: #ffffff; - // line-height: 180px; - } - - .icon_party { - position: absolute; - top: 13px; - left: 18px; - } - - .icon_category { - position: absolute; - bottom: 14px; - left: 9px; - // margin-left: 7px; - - > img { - margin-left: 5px; - width: 21px; - height: 20px; - } - } - .div_user:hover { - cursor: pointer; - } - - .div_user { - position: absolute; - bottom: 10px; - right: 11px; - width: 88px; - height: 30px; - background: #073082; - border-radius: 15px; - - > img { - width: 10px; - height: 6px; - margin-left: 4px; - } - - > span { - font-size: 14px; - font-family: PingFang SC; - font-weight: 400; - color: #ffffff; - line-height: 30px; - } - } - } - } - - .div_room::after { - content: ''; - flex: 1; - } -} - -.user_list { - position: relative; - z-index: 10; - - background: #020340; - border: 1px solid #0a359b; - border-radius: 4px; - box-shadow: 0 0 10px inset #1a5afd; - - .user_item { - padding: 13px 8px 0 14px; - font-size: 16px; - font-family: PingFang SC; - font-weight: 400; - color: #ffffff; - - .user_item_content { - display: flex; - // justify-content: space-between; - align-items: center; - - .name { - max-width: 80%; - text-align: left; - } - - > img { - margin-left: auto; - - margin-top: 4px; - width: 8px; - height: 12px; - } - } - - .item_line { - margin-top: 9px; - width: 70px; - height: 0px; - border: 1px dotted #1797ff31; - border-width: 0.5px; - } - .last_line { - border: 1px dotted #1797ff00; - } - } -} -.div_agency_tran { - transition: width 2s ease-out, opacity 1s ease-in, visibility 1s ease-in; - width: 0; - height: 470px; - z-index: 1000; - position: absolute; - top: 50px; - right: 600px; - box-sizing: border-box; - display: flex; - justify-content: center; - align-items: center; - - .div_agency_list { - width: 320px; - height: 470px; - color: #fff; - background: url('../../../img/modules/visual/box-2.png') no-repeat center; - background-size: 100% 100%; - padding: 45px 20px 35px 20px; - - .agency_main { - height: 100%; - position: relative; - } - - .agency_main { - /deep/ .el-scrollbar__wrap { - overflow-x: hidden !important; - } - } - - .no-data-img { - text-align: center; - margin-top: 50px; - margin-left: 15px; - } - .agency_list { - .agency_item { - // height: 60px; - padding: 15px 0; - font-size: 17px; - font-family: PingFang SC; - font-weight: 400; - color: #ffffff; - // line-height: 50px; - padding-left: 12px; - display: flex; - flex-direction: row; - align-items: center; - // padding-top: 15px; - - .agency_item_name { - // line-height: 20px; - } - } - - .agency_item_on { - background: #08216c; - border-radius: 2px; - } - - .agency_item:hover { - cursor: pointer; - background-color: #011168; - border-radius: 4px 0 0 4px; - border: none; - box-shadow: 0 0 10px inset #1a5afd; - border-radius: 2px; - } - } - } - - .arrow_tip { - margin-right: -2px; - > img { - width: 21px; - height: 176px; - } - } - .arrow_tip:hover { - cursor: pointer; - } -} - -.div_agency_tran-fade-in { - width: 341px; - opacity: 1; - visibility: 1; -} -.div_agency_tran-fade-out { - visibility: 0; - opacity: 1; - width: 0; - right: 575px; -} -// .div_agency_list-fade-in { -// width: 341px; -// opacity: 1; -// visibility: 1; -// } -// .div_agency_list-fade-out { -// visibility: 0; -// opacity: 0; -// width: 0; -// } diff --git a/src/assets/scss/modules/visual/basicInfoMain.scss b/src/assets/scss/modules/visual/basicInfoMain.scss index 8d0f82176..819f2df36 100644 --- a/src/assets/scss/modules/visual/basicInfoMain.scss +++ b/src/assets/scss/modules/visual/basicInfoMain.scss @@ -1,3 +1,6 @@ +@import "../../c/config"; +@import "../../c/function"; +@import "./c/common"; .div_top { margin-left: 10px; height: 35px; @@ -293,21 +296,40 @@ .icon_party { position: absolute; - top: 13px; - left: 18px; + top: 10px; + left: 12px; + } + .icon_roomstate { + position: absolute; + top: 16px; + right: 16px; + font-size: 14px; + font-family: PingFang SC; + font-weight: 500; + color: #ffffff; } .icon_category { position: absolute; bottom: 14px; left: 9px; + display: flex; + justify-content: flex-start; // margin-left: 7px; - > img { - margin-left: 5px; - width: 21px; - height: 20px; + .div_icon_item{ + .icon_img{ + margin-left: 5px; + width: 21px; + height: 20px; + } + .icon_name{ + text-align: center; + display: flex; + justify-content: center; + } } + } .div_user:hover { cursor: pointer; @@ -355,11 +377,12 @@ box-shadow: 0 0 10px inset #1a5afd; .user_item { - padding: 13px 8px 0 14px; - font-size: 16px; + padding: 9px 8px 0 12px; + font-size: 14px; font-family: PingFang SC; font-weight: 400; color: #ffffff; + line-height: 10px; .user_item_content { display: flex; @@ -488,3 +511,74 @@ cursor: pointer; } } + +.m-room-pop { + @include shield; + background-color: rgba(#000, 0.9); + overflow-y: auto; + + .wrap { + position: relative; + margin: 120px auto; + width: 680px; + + .title { + padding: 10px; + font-size: 22px; + font-family: PingFang SC; + font-weight: 800; + color: #ffffff; + display: flex; + align-items: center; + + img { + display: block; + margin-right: 5px; + } + span { + display: block; + } + } + + .btn-close { + position: absolute; + top: -15px; + right: -15px; + cursor: pointer; + } + + .list { + // display: flex; + // flex-wrap: wrap; + padding: 5px 60px 5px 30px; + + .item { + position: relative; + box-sizing: border-box; + padding: 0 15px; + width: 100%; + color: #fff; + font-size: 18px; + font-family: PingFang SC; + font-weight: 400; + color: #ffffff; + line-height: 24px; + margin: 15px 0; + + &::before { + position: absolute; + left: 0; + top: 9px; + content: ""; + display: block; + width: 7px; + height: 7px; + background: #0c81fe; + border-radius: 3px; + } + } + } + + + } +} diff --git a/src/assets/scss/modules/visual/communityManage.scss b/src/assets/scss/modules/visual/communityManage.scss index 9137229db..a7a7499a1 100644 --- a/src/assets/scss/modules/visual/communityManage.scss +++ b/src/assets/scss/modules/visual/communityManage.scss @@ -18,7 +18,7 @@ } } -.div_table { +.div_table_item { margin-top: 20px; position: relative; } @@ -49,7 +49,7 @@ .div_btn { display: flex; - margin-top: 20px; + margin-top: 10px; .btn_upload { margin-left: 10px; diff --git a/src/assets/scss/modules/visual/duoyuanfenxi.scss b/src/assets/scss/modules/visual/duoyuanfenxi.scss new file mode 100644 index 000000000..12032815a --- /dev/null +++ b/src/assets/scss/modules/visual/duoyuanfenxi.scss @@ -0,0 +1,184 @@ +@import '../../c/config'; +@import '../../c/function'; +@import './c/common'; + + +.g-cpt-resi { + display: flex; + flex-direction: row; + height: calc(100vh - 180px); + + .g-l { + flex-shrink: 0; + width: 700px; + height: calc(100vh - 230px); + + .l_top { + height: 385px; + display: flex; + align-items: center; + + + } + .l_bottom { + height: calc(100vh - 230px - 385px); + margin-top: 40px; + } + } + + .g-r { + text-align: center; + margin: 20px 10px 20px; + width: calc(100vw - 700px); + height: calc(100vh - 180px - 20px); + } +} + +.l_bottom { + .bottom_label { + position: relative; + padding-left: 40px; + font-size: 16px; + font-weight: 500; + color: #fff; + } + .bottom_label::after { + content: ''; + position: absolute; + top: 50%; + left: 20px; + width: 12px; + height: 12px; + box-sizing: border-box; + margin-top: -6px; + background: #2865fa; + border-radius: 50%; + } + > span { + font-size: 18px; + font-family: PingFang SC; + font-weight: 800; + color: #ffffff; + } + .echart-line { + margin-top: 10px; + height: 100%; + } + .echart-grid-pie { + height: 320px; + margin-left: 30px; + text-align: center; + position: relative; + width: 500px; + box-sizing: border-box; + } + .m-tb { + position: relative; + height: 100%; + .tb { + height: calc(100% - 40px); + overflow-y: auto; + @include scrollBar; + /deep/ .table-status { + height: 220px; + } + } + .m-pagination { + box-sizing: border-box; + position: absolute; + right: 5px; + bottom: 5px; + width: 100%; + height: 40px; + display: flex; + justify-content: flex-end; + + /deep/ .el-pagination.is-background .el-pager li:not(.disabled).active { + background: #0266d1; + color: #000d3f; + } + + /deep/ .el-pagination .el-pager li { + background: #002e74; + } + + /deep/ .el-pagination .btn-prev { + background: #002e74; + } + + /deep/ .el-pagination .btn-next { + background: #002e74; + } + } + } +} + + +.g-r { +} + +.echart-wr { + margin-left: 30px; + // margin-top: 100px; + text-align: center; + position: relative; + width: 600px; + height: 385px; + + box-sizing: border-box; +} + +.g-pie { + position: relative; + display: flex; + + .pie-legend { + margin-left: 30px; + + display: flex; + flex-direction: column; + justify-content: center; + + .legend_item { + .item_name { + margin-left: 5px; + font-size: 10px; + font-family: PingFang SC; + font-weight: 500; + color: #eff0f1; + } + > img { + margin-top: -10px; + width: 80px; + height: 10px; + } + .item_num { + .item_count { + font-size: 17px; + font-family: PingFang SC; + font-weight: 500; + color: #ffffff; + } + + .item_percent { + margin-left: 12px; + font-size: 8px; + font-family: PingFang SC; + font-weight: 300; + color: #ffffff; + line-height: 18px; + } + } + } + + .item_last { + margin-top: 20px; + } + } +} + +.table-status { + position: relative; + width: 240px; + margin: auto; +} diff --git a/src/assets/scss/modules/visual/houseStatic.scss b/src/assets/scss/modules/visual/houseStatic.scss new file mode 100644 index 000000000..fb6f31ae6 --- /dev/null +++ b/src/assets/scss/modules/visual/houseStatic.scss @@ -0,0 +1,352 @@ +.warning-box{ + padding: 0 21px 20px 24px +} +.no-data{ + margin-top:50px; + display:flex; + justify-content: center; +} +.card-title { + + display: flex; + align-items: center; + cursor: pointer; + .title-icon { + display: block; + width: 46px; + height: 34px; + box-sizing: border-box; + margin-right: 6px; + } + ::v-deep .el-dropdown { + font-size: 18px; + color: #fff; + font-weight: 800; + } + .title-time { + display: flex; + align-items: center; + box-sizing: border-box; + margin-left: 30px; + font-size: 14px; + color: #fff; + .title-time-label { + margin-right: 10px; + } + ::v-deep .el-date-editor--month { + width: 100px; + .el-input__inner { + width: 100px; + height: 24px; + box-sizing: border-box; + padding: 0; + font-size: 14px; + color: #fff; + line-height: 24px; + text-align: center; + background: #06186d; + border: 1px solid #1a64cc; + border-radius: 2px; + } + .el-input__prefix { + display: none; + } + .el-input__suffix { + right: 0; + .el-input__icon { + line-height: 24px; + } + } + } + } + .title-label { + font-size: 20px; + font-weight: 800; + ::v-deep .el-input { + width: 180px; + .el-input__inner { + font-size: 18px; + // font-weight: 800; + color: #fff; + background: #06186d; + border: 1px solid #1a64cc; + } + .el-icon-arrow-down::before { + content: "\e790"; + } + } + } +} +.card-left-title { + margin-top: 20px; + position: relative; + padding-left: 40px; + font-size: 16px; + font-weight: 500; + color: #fff; +} +.card-left-title::after { + content: ""; + position: absolute; + top: 5%; + left: 20px; + width: 12px; + height: 12px; + box-sizing: border-box; + + background: #2865fa; + border-radius: 50%; +} +.card-echart { + min-height: 500px; + display: flex; + margin-top: 10px; + height: 100%; + .card-left { + position: relative; + flex-grow:0; + flex-shrink:0; + width:50%; + + height: 100%; + .div-chart{ + display: flex; + width: 100%; + .echart-wr{ + flex-shrink: 0; + height: 420px; + width: 70%; + } + .div-tip{ + flex-shrink: 0; + width: 30%; + display: flex; + flex-direction: column; + justify-content: center; + margin-left:20px; + margin-top: -23px; + + display: flex; + justify-content: center; + + .legend_item { + margin-top: 30px; + .item_name { + margin-left: 5px; + font-size: 10px; + font-family: PingFang SC; + font-weight: 500; + color: #eff0f1; + } + + > img { + margin-top: -10px; + width: 80px; + height: 10px; + } + + } + + } + + .div-tip2{ + flex-shrink: 0; + width: 30%; + display: flex; + flex-direction: column; + justify-content: center; + margin-left:20px; + margin-top: -23px; + + display: flex; + justify-content: center; + .cz-tip{ + display: flex; + justify-content: flex-start; + margin-top: 30px; + + + .cz-tip-dot { + margin-top:1px; + width: 18px; + height: 8px; + background: #3dda83; + border-radius: 4px; + } + + >span{ + margin-left:10px; + font-size: 10px; + } + } + + .ld-tip{ + display: flex; + justify-content: flex-start; + margin-top: 30px; + + .ld-tip-dot{ + margin-top:1px; + width: 18px; + height: 8px; + background: #e43c26; + border-radius: 4px; + } + >span{ + margin-left:10px; + font-size: 10px; + } + } + + + + } + } + + .pie-table{ + margin-top:0px; + display: flex; + justify-content: center; + align-items:center; + + + } + + .loading-status{ + width: 100%; + display: flex; + justify-content: center; + margin-top: 200px; + + + } + } + +} + +.card-table{ + margin:37px 70px 0; + + .table_item{ + padding:31px 60px 36px 30px; + + .item_name{ + + font-size: 18px; + font-family: PingFang SC; + font-weight: bold; + color: #FFFFFF; + + >img{ + width:25px; + height:14px; + padding-right: 10px; + } + } + + .item_name:hover{ + cursor: pointer; + } + + .item_data{ + margin-top:31px; + display: flex; + justify-content: space-between; + } + + .item_left{ + align-items: center; + display: flex; + justify-content: space-around; + flex-grow:0; + flex-shrink:0; + + } + .item_right{ + align-items: center; + display: flex; + justify-content: space-around; + flex-grow:0; + flex-shrink:0; + // margin-left:250px; + } + + } + .table_item:hover{ + background: url('../../../img/modules/visual/hover-bac.png') no-repeat + center; + background-size: 100% 100%; + } + + .item_dark{ + background: #082586; + opacity: 0.85; + } +} + +.pie-table-total{ + margin-left:40px; + .pie-table-total-count{ + min-width: 98px; + text-align: center; + font-size: 40px; + font-family: PingFang SC; + font-weight: bold; + color: #FFFFFF; + } + + .zz{ + font-size: 35px; + font-family: PingFang SC; + font-weight: bold; + color: #3dda83; + } + + .cz{ + font-size: 35px; + font-family: PingFang SC; + font-weight: bold; + color: #e43c26; + } + + .xz{ + font-size: 35px; + font-family: PingFang SC; + font-weight: bold; + color: #fac126; + } + + .colorwhite{ + font-size: 35px; + font-family: PingFang SC; + font-weight: bold; + color: #ffffff; + } + + .pie-table-title{ + margin-top:7px; + text-align: center; + font-size:10px; + font-family: PingFang SC; + font-weight: 400; + color: #FFFFFF; + min-width:62px; + } + + .table-table-title{ + margin-top:2px; + } +} + +.pie-table-line{ + margin-left:40px; + height:30px; + width:1px; + background-color: #1797FF; + opacity: 0.5; +} + +.table-table-line{ + +} + diff --git a/src/assets/scss/modules/visual/incident-info.scss b/src/assets/scss/modules/visual/incident-info.scss index 1ca5a43ac..ed3aacad8 100644 --- a/src/assets/scss/modules/visual/incident-info.scss +++ b/src/assets/scss/modules/visual/incident-info.scss @@ -103,17 +103,7 @@ .info-content { margin: 20px 0; } - .info-pics { - display: flex; - margin: 20px 0; - img { - display: block; - width: 32%; - height: 90px; - margin-right: 9px; - object-fit: cover; - } - } + .info-prop { position: relative; @@ -144,6 +134,18 @@ border-radius: 3px; margin-right: 10px; } + + .info-pics { + display: flex; + margin: 20px 0; + img { + display: block; + width: 32%; + height: 90px; + margin-right: 9px; + object-fit: cover; + } + } } } diff --git a/src/assets/scss/modules/visual/people.scss b/src/assets/scss/modules/visual/people.scss index 01c04348c..f9379e7f8 100644 --- a/src/assets/scss/modules/visual/people.scss +++ b/src/assets/scss/modules/visual/people.scss @@ -1,6 +1,6 @@ -@import '../../c/config'; -@import '../../c/function'; -@import './c/common'; +@import "../../c/config"; +@import "../../c/function"; +@import "./c/common"; .g-cpt { display: flex; @@ -184,7 +184,7 @@ .wrap { position: relative; margin: 120px auto; - width: 1000px; + width: 1180px; .title { padding: 10px; @@ -227,13 +227,13 @@ font-weight: 400; color: #ffffff; line-height: 24px; - margin: 20px 0; + margin: 15px 0; &::before { position: absolute; left: 0; top: 9px; - content: ''; + content: ""; display: block; width: 7px; height: 7px; @@ -263,20 +263,21 @@ } .tab { + @include toe; margin: 0 5px; - min-width: 76px; - padding: 0 5px; - height: 30px; + min-width: 80px; + padding: 0 8px; + height: 36px; background: rgba(255, 255, 255, 0); border: 1px solid #1257c9; box-shadow: 0 0 10px 0 inset #1257c9; border-radius: 2px; text-align: center; - font-size: 14px; + font-size: 17px; font-family: PingFang SC; font-weight: 400; color: #ffffff; - line-height: 30px; + line-height: 36px; cursor: pointer; transition: all ease 0.5s; &.z-on { @@ -548,7 +549,7 @@ &:hover { &::before { - content: ''; + content: ""; position: absolute; display: block; left: 0; @@ -560,7 +561,7 @@ } &::after { - content: ''; + content: ""; position: absolute; display: block; left: 15px; diff --git a/src/assets/scss/modules/visual/personCategory.scss b/src/assets/scss/modules/visual/personCategory.scss index 4c578bcdd..a756b8c18 100644 --- a/src/assets/scss/modules/visual/personCategory.scss +++ b/src/assets/scss/modules/visual/personCategory.scss @@ -8,7 +8,14 @@ color: #fff; // background: url("../../../img/modules/visual/warning-box.png") no-repeat center; background-size: 100% 100%; - padding: 45px 21px 35px 24px; + padding: 15px 21px 15px 24px; + + + + /deep/ .el-scrollbar__wrap { + margin-right:-17px !important + } + &-top { display: flex; @@ -152,7 +159,7 @@ &-bottom { box-sizing: border-box; width: 100%; - height: calc(100% - 300px); + // height: calc(100vh - 535px); min-height: 300px; margin-top: 60px; } diff --git a/src/assets/scss/modules/visual/processAnalyze.scss b/src/assets/scss/modules/visual/processAnalyze.scss index 098753e09..ba44dbfaa 100644 --- a/src/assets/scss/modules/visual/processAnalyze.scss +++ b/src/assets/scss/modules/visual/processAnalyze.scss @@ -2,63 +2,6 @@ @import '../../c/function'; @import './c/common'; -.title { - padding: 10px; - font-size: 22px; - font-family: PingFang SC; - font-weight: 800; - color: #ffffff; - display: flex; - align-items: center; - position: relative; - - img { - display: block; - margin-right: 5px; - } - span { - display: block; - } - - .second-title { - display: flex; - align-items: center; - - .second-select { - margin: 0 10px 0 40px; - - ::v-deep .el-input { - width: 140px; - height: 36px; - .el-input__inner { - height: 100%; - padding: 0 10px; - color: #fff; - line-height: 36px; - background: #06186d; - border: 1px solid #1a64cc; - } - .el-icon-arrow-up:before { - content: '\e78f'; - } - } - ::v-deep .el-date-editor { - .el-input__prefix { - left: unset; - right: 5px; - } - } - } - .cascader { - ::v-deep .el-input { - width: 220px; - } - } - .second-select:last-child { - margin-left: 0; - } - } -} .g-cpt-resi { display: flex; diff --git a/src/assets/scss/modules/visual/resibuzz.scss b/src/assets/scss/modules/visual/resibuzz.scss index 8ea3f5ee9..6d43913ed 100644 --- a/src/assets/scss/modules/visual/resibuzz.scss +++ b/src/assets/scss/modules/visual/resibuzz.scss @@ -2,65 +2,7 @@ @import '../../c/function'; @import './c/common'; -.title { - padding: 10px; - font-size: 22px; - font-family: PingFang SC; - font-weight: 800; - color: #ffffff; - display: flex; - align-items: center; - position: relative; - - img { - display: block; - margin-right: 5px; - } - span { - display: block; - } - - .second-select { - margin: 0 10px 0 40px; - - ::v-deep .el-input { - width: 140px; - height: 36px; - .el-input__inner { - height: 100%; - padding: 0 10px; - color: #fff; - line-height: 36px; - background: #06186d; - border: 1px solid #1a64cc; - } - .el-icon-arrow-up:before { - content: '\e78f'; - } - } - ::v-deep .el-date-editor { - .el-input__prefix { - left: unset; - right: 5px; - } - } - } - .cascader { - ::v-deep .el-input { - width: 220px; - } - } - .status-select { - margin-left: 10px; - // position: absolute; - // top: 20px; - // right: 10px; - } - .second-select:last-child { - margin-left: 0; - } -} .g-cpt-resi { display: flex; diff --git a/src/assets/scss/modules/visual/searchPerson.scss b/src/assets/scss/modules/visual/searchPerson.scss index 08be1a3c5..6be528e10 100644 --- a/src/assets/scss/modules/visual/searchPerson.scss +++ b/src/assets/scss/modules/visual/searchPerson.scss @@ -1,5 +1,10 @@ +.div_people_search{ + min-height:100%; + box-sizing: border-box; +} + .div_search_list { - margin: 54px auto; + margin: 44px auto; text-align: center; width: 750px; height: 53px; @@ -38,13 +43,13 @@ } .list_box { - margin: 96px auto 0; + margin: 76px auto 0; box-sizing: border-box; - // width: 70%; - width: 1021px; + width: 80%; + // width: 1421px; // height: calc(88vh - 200px); - height: 349px; + height: 485px; color: #fff; background: url('../../../img/modules/visual/warning-box.png') no-repeat center; @@ -73,8 +78,7 @@ .warning-table { margin: 21px 24px auto 24px; box-sizing: border-box; - - height: 100%; + // height: 100%; .table { width: 100%; @@ -124,6 +128,15 @@ background-size: 100% 100%; } } + + &-status{ + margin-top:20px; + + .no-data{ + display: flex; + justify-content: center; + } + } } } @@ -139,14 +152,17 @@ width: calc(100% / 10); } .td2 { - width: calc(100% / 5); + width: calc(100% / 6); } .td3 { width: calc(100% / 4); } .pagination { box-sizing: border-box; - margin-top: 20px; + padding-right:180px; + padding-bottom: 20px; + + margin-top: 40px; width: 100%; height: 40px; display: flex; diff --git a/src/assets/scss/modules/visual/search_1.scss b/src/assets/scss/modules/visual/search_1.scss new file mode 100644 index 000000000..55aaef76f --- /dev/null +++ b/src/assets/scss/modules/visual/search_1.scss @@ -0,0 +1,156 @@ +@import '../../c/config'; +@import '../../c/function'; +@import './c/common'; + +.title { + padding: 10px; + font-size: 22px; + font-family: PingFang SC; + font-weight: 800; + color: #ffffff; + display: flex; + align-items: center; + position: relative; + >img { + display: block; + margin-right: 5px; + } + >span { + display: block; + } + + .search{ + display: block; + display: flex; + align-items: center; + margin-left:40px; + + .second-select { + + margin: 0 10px 0 10px; + + ::v-deep .el-input { + width: 180px; + height: 36px; + .el-input__inner { + height: 100%; + padding: 0 10px; + color: #fff; + line-height: 36px; + background: #06186d; + border: 1px solid #1a64cc; + } + + .el-icon-arrow-up:before { + content: '\e78f'; + } + // .el-select__caret:before { + // content: '\E790' + // } + } + + + + + } + + } + + .range-data { + ::v-deep .el-date-editor { + width: 360px; + position: relative; + background: #06186d; + border: 1px solid #1a64cc; + .el-range-input { + color: #fff; + background: #06186d; + margin-left: 10px; + } + .el-range-separator { + color: #fff; + } + .el-range__icon { + position: absolute; + right: 5px; + // float: right; + } + .el-input__prefix { + left: unset; + right: 5px; + } + } + } + .range-data2 { + ::v-deep .el-date-editor { + width: 360px; + position: relative; + + .el-range-input { + color: #fff; + background: #06186d; + margin-left: 10px; + } + .el-range-separator { + color: #fff; + } + .el-range__icon { + position: absolute; + right: 5px; + // float: right; + } + .el-input__prefix { + left: unset; + right: 5px; + } + } + } + + .one-date{ + ::v-deep .el-date-editor { + .el-input__prefix { + left: unset; + right: 5px; + } + } + } + + + + .second-title { + display: block; + display: flex; + align-items: center; + margin-left + + .second-title-label { + position: relative; + padding-left: 40px; + font-size: 16px; + font-weight: 500; + color: #fff; + } + .second-title-label::after { + content: ''; + position: absolute; + top: 50%; + left: 20px; + width: 12px; + height: 12px; + box-sizing: border-box; + margin-top: -6px; + background: #2865fa; + border-radius: 50%; + } + + } + .cascader { + ::v-deep .el-input { + width: 220px; + } + } + + +} + + diff --git a/src/assets/scss/modules/visual/shijianchulifenxi.scss b/src/assets/scss/modules/visual/shijianchulifenxi.scss new file mode 100644 index 000000000..bd9655728 --- /dev/null +++ b/src/assets/scss/modules/visual/shijianchulifenxi.scss @@ -0,0 +1,173 @@ +@import '../../c/config'; +@import '../../c/function'; +@import './c/common'; + + +.g-cpt-resi { + display: flex; + flex-direction: row; + height: calc(100vh - 180px); + + .g-l { + flex-shrink: 0; + width: 700px; + height: calc(100vh - 230px); + + .l_top { + height: 355px; + display: flex; + align-items: center; + + + } + .l_bottom { + height: calc(100vh - 200px - 355px); + margin-top: 20px; + } + } + + .g-r { + text-align: center; + margin: 20px 10px 20px; + width: calc(100vw - 700px); + height: calc(100vh - 180px - 20px); + } +} + +.l_bottom { + .bottom_label { + position: relative; + padding-left: 40px; + font-size: 16px; + font-weight: 500; + color: #fff; + } + .bottom_label::after { + content: ''; + position: absolute; + top: 50%; + left: 20px; + width: 12px; + height: 12px; + box-sizing: border-box; + margin-top: -6px; + background: #2865fa; + border-radius: 50%; + } + > span { + font-size: 18px; + font-family: PingFang SC; + font-weight: 800; + color: #ffffff; + } + .echart-line { + margin-top: 10px; + height: 100%; + } +} + + +.g-r { + .m-tb { + position: relative; + height: 100%; + .tb { + height: calc(100vh - 170px - 50px - 50px); + overflow-y: auto; + @include scrollBar; + } + .m-pagination { + box-sizing: border-box; + position: absolute; + right: 5px; + bottom: 5px; + width: 100%; + height: 40px; + display: flex; + justify-content: flex-end; + + /deep/ .el-pagination.is-background .el-pager li:not(.disabled).active { + background: #0266d1; + color: #000d3f; + } + + /deep/ .el-pagination .el-pager li { + background: #002e74; + } + + /deep/ .el-pagination .btn-prev { + background: #002e74; + } + + /deep/ .el-pagination .btn-next { + background: #002e74; + } + } + } +} + +.echart-wr { + margin-left: 30px; + // margin-top: 100px; + text-align: center; + position: relative; + width: 500px; + height: 355px; + + box-sizing: border-box; +} + +.g-pie { + position: relative; + display: flex; + + .pie-legend { + margin-left: 30px; + + display: flex; + flex-direction: column; + justify-content: center; + + .legend_item { + .item_name { + margin-left: 5px; + font-size: 10px; + font-family: PingFang SC; + font-weight: 500; + color: #eff0f1; + } + > img { + margin-top: -10px; + width: 80px; + height: 10px; + } + .item_num { + .item_count { + font-size: 17px; + font-family: PingFang SC; + font-weight: 500; + color: #ffffff; + } + + .item_percent { + margin-left: 12px; + font-size: 8px; + font-family: PingFang SC; + font-weight: 300; + color: #ffffff; + line-height: 18px; + } + } + } + + .item_last { + margin-top: 20px; + } + } +} + +.table-status { + position: relative; + width: 600px; + margin: auto; +} diff --git a/src/assets/scss/modules/visual/shijianfenleifenxi.scss b/src/assets/scss/modules/visual/shijianfenleifenxi.scss new file mode 100644 index 000000000..c4f19da31 --- /dev/null +++ b/src/assets/scss/modules/visual/shijianfenleifenxi.scss @@ -0,0 +1,181 @@ +@import '../../c/config'; +@import '../../c/function'; +@import './c/common'; + + +.g-cpt-resi { + display: flex; + flex-direction: row; + height: calc(100vh - 180px); + + .g-l { + flex-shrink: 0; + width: 700px; + height: calc(100vh - 230px); + + .l_top { + height: 385px; + display: flex; + align-items: center; + + + } + .l_bottom { + height: calc(100vh - 230px - 385px); + margin-top: 20px; + } + } + + .g-r { + text-align: center; + margin: 20px 10px 20px; + width: calc(100vw - 700px); + height: calc(100vh - 180px - 20px); + } +} + +.l_bottom { + .bottom_label { + position: relative; + padding-left: 40px; + font-size: 16px; + font-weight: 500; + color: #fff; + } + .bottom_label::after { + content: ''; + position: absolute; + top: 50%; + left: 20px; + width: 12px; + height: 12px; + box-sizing: border-box; + margin-top: -6px; + background: #2865fa; + border-radius: 50%; + } + > span { + font-size: 18px; + font-family: PingFang SC; + font-weight: 800; + color: #ffffff; + } + .echart-line { + margin-top: 10px; + height: 100%; + } + .echart-grid-pie { + height: 320px; + margin-left: 30px; + text-align: center; + position: relative; + width: 500px; + box-sizing: border-box; + } +} + + +.g-r { + .m-tb { + position: relative; + height: 100%; + .tb { + height: calc(100vh - 170px - 50px - 50px); + overflow-y: auto; + @include scrollBar; + } + .m-pagination { + box-sizing: border-box; + position: absolute; + right: 5px; + bottom: 5px; + width: 100%; + height: 40px; + display: flex; + justify-content: flex-end; + + /deep/ .el-pagination.is-background .el-pager li:not(.disabled).active { + background: #0266d1; + color: #000d3f; + } + + /deep/ .el-pagination .el-pager li { + background: #002e74; + } + + /deep/ .el-pagination .btn-prev { + background: #002e74; + } + + /deep/ .el-pagination .btn-next { + background: #002e74; + } + } + } +} + +.echart-wr { + margin-left: 30px; + // margin-top: 100px; + text-align: center; + position: relative; + width: 500px; + height: 385px; + + box-sizing: border-box; +} + +.g-pie { + position: relative; + display: flex; + + .pie-legend { + margin-left: 30px; + + display: flex; + flex-direction: column; + justify-content: center; + + .legend_item { + .item_name { + margin-left: 5px; + font-size: 10px; + font-family: PingFang SC; + font-weight: 500; + color: #eff0f1; + } + > img { + margin-top: -10px; + width: 80px; + height: 10px; + } + .item_num { + .item_count { + font-size: 17px; + font-family: PingFang SC; + font-weight: 500; + color: #ffffff; + } + + .item_percent { + margin-left: 12px; + font-size: 8px; + font-family: PingFang SC; + font-weight: 300; + color: #ffffff; + line-height: 18px; + } + } + } + + .item_last { + margin-top: 20px; + } + } +} + +.table-status { + position: relative; + width: 600px; + margin: auto; +} diff --git a/src/assets/scss/modules/visual/typeAnalyze.scss b/src/assets/scss/modules/visual/typeAnalyze.scss index 9e29b79e1..0d1accf74 100644 --- a/src/assets/scss/modules/visual/typeAnalyze.scss +++ b/src/assets/scss/modules/visual/typeAnalyze.scss @@ -2,64 +2,6 @@ @import '../../c/function'; @import './c/common'; -.title { - padding: 10px; - font-size: 22px; - font-family: PingFang SC; - font-weight: 800; - color: #ffffff; - display: flex; - align-items: center; - position: relative; - - img { - display: block; - margin-right: 5px; - } - span { - display: block; - } - - .second-select { - margin: 0 10px 0 40px; - - ::v-deep .el-input { - width: 140px; - height: 36px; - .el-input__inner { - height: 100%; - padding: 0 10px; - color: #fff; - line-height: 36px; - background: #06186d; - border: 1px solid #1a64cc; - } - .el-icon-arrow-up:before { - content: '\e78f'; - } - } - ::v-deep .el-date-editor { - .el-input__prefix { - left: unset; - right: 5px; - } - } - } - - .cascader { - ::v-deep .el-input { - width: 220px; - } - } - .status-select { - position: absolute; - top: 20px; - right: 10px; - } - .second-select:last-child { - margin-left: 0; - } -} .g-cpt-resi { display: flex; diff --git a/src/assets/scss/modules/visual/warning-people-list.scss b/src/assets/scss/modules/visual/warning-people-list.scss new file mode 100644 index 000000000..a6b960ece --- /dev/null +++ b/src/assets/scss/modules/visual/warning-people-list.scss @@ -0,0 +1,71 @@ +@import "../../c/config"; +@import "../../c/function"; +@import "./c/common"; + +.m-pop { + @include shield; + background-color: rgba(#000, 0.9); + overflow-y: auto; + + .wrap { + position: relative; + margin: 120px auto; + width: 1180px; + + .title { + padding: 10px; + font-size: 22px; + font-family: PingFang SC; + font-weight: 800; + color: #ffffff; + display: flex; + align-items: center; + + img { + display: block; + margin-right: 5px; + } + span { + display: block; + } + } + + .btn-close { + position: absolute; + top: -15px; + right: -15px; + cursor: pointer; + } + + .content { + margin-top: 20px; + min-height: 500px; + } + } +} + +.m-pagination { + box-sizing: border-box; + margin-top: 20px; + width: 100%; + height: 40px; + display: flex; + justify-content: flex-end; + + /deep/ .el-pagination.is-background .el-pager li:not(.disabled).active { + background: #0266d1; + color: #000d3f; + } + + /deep/ .el-pagination .el-pager li { + background: #002e74; + } + + /deep/ .el-pagination .btn-prev { + background: #002e74; + } + + /deep/ .el-pagination .btn-next { + background: #002e74; + } +} diff --git a/src/assets/scss/modules/visual/warning.scss b/src/assets/scss/modules/visual/warning.scss index 36260a7f7..265c38895 100644 --- a/src/assets/scss/modules/visual/warning.scss +++ b/src/assets/scss/modules/visual/warning.scss @@ -87,7 +87,7 @@ content: ""; width: 8px; height: 8px; - background: #f0f3f7; + background: #fef200; border-radius: 50%; position: absolute; left: 12px; @@ -95,6 +95,12 @@ transform: translate(0, -50%); } + &:nth-of-type(2) { + &::after { + background: #e70014; + } + } + div:nth-child(1) { font-size: 16px; font-family: PingFang SC; diff --git a/src/assets/scss/modules/warning.scss b/src/assets/scss/modules/warning.scss index 2c6b9fa2c..f28535b94 100644 --- a/src/assets/scss/modules/warning.scss +++ b/src/assets/scss/modules/warning.scss @@ -85,7 +85,7 @@ content: ""; width: 8px; height: 8px; - background: #2194fe; + background: #fef200; border-radius: 50%; position: absolute; left: 12px; @@ -93,6 +93,12 @@ transform: translate(0, -50%); } + &:nth-of-type(2) { + &::after { + background: #e70014; + } + } + div:nth-child(1) { font-size: 16px; font-family: PingFang SC; diff --git a/src/assets/scss/modules/wx-mini/index-set.scss b/src/assets/scss/modules/wx-mini/index-set.scss index f073c57e8..9a1c9d829 100644 --- a/src/assets/scss/modules/wx-mini/index-set.scss +++ b/src/assets/scss/modules/wx-mini/index-set.scss @@ -108,7 +108,7 @@ } .mw-phone { - margin: 50px auto; + margin: 50px auto; min-height: 540px; // box-shadow: 0 0 0 8px rgba(#000, 0.1); .d-cpt-operate { @@ -129,8 +129,8 @@ position: relative; margin: 0 auto; width: 375px; - height: 700px; - overflow: auto; + height: 700px; + overflow: auto; background-color: #ffffff; // background-color: #f7f6f9; box-shadow: 0 5px 15px 1px rgba(0, 0, 0, 0.2); @@ -195,6 +195,17 @@ // border-radius: 50px 0 0 50px; // background-color: #ffffff; } + .mw-phone-fixed2 { + // @include bs1; + position: absolute; + z-index: 1000; + top: 220px; + right: 0; + width: 141px * 0.5; + height: 164px * 0.5; + // border-radius: 50px 0 0 50px; + // background-color: #ffffff; + } .mw-phone-top { position: relative; height: 40px; @@ -242,7 +253,7 @@ border: 1px solid #bb5; background-color: #ffffff; text-align: center; - z-index: 1000; + z-index: 1000; &.z-small { height: 71px; } @@ -301,7 +312,20 @@ } } } - + + .mw-cpt-fangyi { + position: relative; + + .d-cpt-wrap { + width: 141px * 0.5; + height: 164px * 0.5; + img { + width: 141px * 0.5; + height: 164px * 0.5; + } + } + } + .mw-cpt-cnt_menus { position: relative; margin-top: 10px; @@ -340,80 +364,75 @@ color: rgba(51, 51, 51, 1); } } - } } - } + } - // 更多功能2 - .mw-cpt-cnt_function2 { + // 更多功能2 + .mw-cpt-cnt_function2 { position: relative; margin-top: 10px; .d-cpt-wrap { - border-radius: 10px; + border-radius: 10px; // overflow-x: scroll; overflow: hidden; - margin: 0 13px; - padding:0 0 13px 0; - background-color: white; - - .link { - width: 100%; - position: relative; - - .link-item{ - display: inline; - position: relative; - - > img { - width:45%; - // width: 308px; - margin: 8px; - // height: 160px; - border-radius: 10px; - } - span { - position: absolute; - top: -10px; - left: 20px; - color: #fff; - font-size: 15px; - font-family: PingFang SC; - font-weight: bold; - color: #ffffff; - } - } - - - } - - .dots { - position: absolute; - bottom: 10px; - left: 0; - right: 0; - width: 100%; - display: flex; - justify-content: center; - - .dot { - margin: 0 5px; - width: 20px; - height: 4px; - border-radius: 6px; - background-color: #ddd; - transition: all ease $ad1; - - &.z-on { - background-color: $c1; - } - } - } - - } - } + margin: 0 13px; + padding: 0 0 13px 0; + background-color: white; + .link { + width: 100%; + position: relative; + + .link-item { + display: inline; + position: relative; + + > img { + width: 45%; + // width: 308px; + margin: 8px; + // height: 160px; + border-radius: 10px; + } + span { + position: absolute; + top: -10px; + left: 20px; + color: #fff; + font-size: 15px; + font-family: PingFang SC; + font-weight: bold; + color: #ffffff; + } + } + } + + .dots { + position: absolute; + bottom: 10px; + left: 0; + right: 0; + width: 100%; + display: flex; + justify-content: center; + + .dot { + margin: 0 5px; + width: 20px; + height: 4px; + border-radius: 6px; + background-color: #ddd; + transition: all ease $ad1; + + &.z-on { + background-color: $c1; + } + } + } + } + } } } } @@ -473,28 +492,28 @@ .d-operate { padding: 20px 0; text-align: right; - } + } } } .d-set-banners { - display: flex; - justify-content: space-between; - align-items: center; - margin-top: 10px; - .upload-demos { - display: block; - width: 20px; - height: 20px; - color: #ccc; - text-align: center; - line-height: 18px; - border: 1px dashed #ccc; - overflow: hidden; - border-radius: 50%; - -webkit-border-radius: 50%; - -moz-border-radius: 50%; - -ms-border-radius: 50%; - -o-border-radius: 50%; -} + display: flex; + justify-content: space-between; + align-items: center; + margin-top: 10px; + .upload-demos { + display: block; + width: 20px; + height: 20px; + color: #ccc; + text-align: center; + line-height: 18px; + border: 1px dashed #ccc; + overflow: hidden; + border-radius: 50%; + -webkit-border-radius: 50%; + -moz-border-radius: 50%; + -ms-border-radius: 50%; + -o-border-radius: 50%; + } } diff --git a/src/assets/scss/pages/caiji.scss b/src/assets/scss/pages/caiji.scss index 8dafd6eb4..f886d62c5 100644 --- a/src/assets/scss/pages/caiji.scss +++ b/src/assets/scss/pages/caiji.scss @@ -1,4 +1,5 @@ .bg-caiji { + background-color: rgba(189, 214, 255, 0.89); height: 100%; width: 100vw; @@ -50,15 +51,73 @@ } .bg-caiji-success { + background: url("../../assets/img/caiji-bc.png") no-repeat; + background-size: 100% 100%; height: 100vh; width: 100vw; - text-align: center; + .title { - background-color: rgba(189, 214, 255, 0.89); - padding: 20px; + // background-color: rgba(189, 214, 255, 0.89); + padding-top:30px; + font-size: 18px; + font-family: PingFang SC; + font-weight: 800; + color: #333333; + display: flex; + height:25px; + align-items: center; + justify-content: center; + + >img{ + width:27px; + height:25px; + } + .title_name{ + margin-left:5px; + margin-top:5px; + } + } + + .div_tip{ text-align: center; - font-size: 20px; + margin-top:35px; + font-size: 18px; + font-family: PingFang SC; + font-weight: 800; + color: #2E78E2; + line-height: 26px; + } + + .div_content{ + + margin:20px 10px 30px 10px; + padding:20px 16px; + background: #FFFFFF; + border-radius: 10px; + font-size: 16px; + font-family: Source Han Serif SC; + font-weight: 400; + color: #333333; + + text-align: left; + + .content_long{ + display: flex; + justify-content: left; + align-items: flex-start; + + .content_title{ + min-width: 85px; + // flex:0 0 85px; + flex-shrink: 0; + text-align: right; + } + } + + .marginT10{ + margin-top:10px; + } } .main { diff --git a/src/assets/scss/pages/loginWork.scss b/src/assets/scss/pages/loginWork.scss index ad12fc67b..534cccba9 100644 --- a/src/assets/scss/pages/loginWork.scss +++ b/src/assets/scss/pages/loginWork.scss @@ -166,29 +166,30 @@ } } -.div_row { - height: 50px; - text-align: center; - line-height: 50px; - - /* width: 100px; */ - /* background-color: rgb(241, 241, 241); */ +.m-pop { + height: auto; + + .div_row { + height: 50px; + text-align: center; + line-height: 50px; - &:hover { - color: rgb(2, 119, 173); - font-weight: bold; - text-decoration: underline; - } + &:hover { + color: rgb(2, 119, 173); + font-weight: bold; + text-decoration: underline; + } - .i_icon { - width: 15px; - height: 15px; - margin-right: 10px; - float: left; - } - .span_name { - font-size: 18px; - cursor: pointer; - /* color: rgb(37, 156, 235); */ + .i_icon { + width: 15px; + height: 15px; + margin-right: 10px; + float: left; + } + .span_name { + font-size: 18px; + cursor: pointer; + /* color: rgb(37, 156, 235); */ + } } } diff --git a/src/assets/scss/people-info.scss b/src/assets/scss/people-info.scss index 24428cddc..f54b2e248 100644 --- a/src/assets/scss/people-info.scss +++ b/src/assets/scss/people-info.scss @@ -10,14 +10,14 @@ position: relative; margin: 5vh auto; height: 90vh; - width: 1040px; + width: 1180px; background-color: #fff; .wrap2 { box-sizing: border-box; padding: 20px; height: 90vh; - width: 1040px; + width: 1180px; overflow-y: auto; overflow-x: hidden; } @@ -64,7 +64,7 @@ font-weight: 400; color: #333; line-height: 24px; - margin: 20px 0; + margin: 15px 0; &::before { position: absolute; @@ -94,26 +94,31 @@ padding-left: 20px; .tab-btn { + margin: 0 5px; width: 30px; text-align: center; cursor: pointer; + padding: 10px 0; + border-radius: 3px; + background-color: rgba(#000, 0.3); } .tab { + @include toe; margin: 0 5px; - min-width: 76px; - padding: 0 5px; - height: 30px; + min-width: 80px; + padding: 0 8px; + height: 36px; background: #fff; border: 1px solid #eee; box-shadow: 0 0 10px 0 inset #ddd; border-radius: 2px; text-align: center; - font-size: 14px; + font-size: 17px; font-family: PingFang SC; font-weight: 400; color: #333; - line-height: 30px; + line-height: 36px; cursor: pointer; transition: all ease 0.1s; &.z-on { diff --git a/src/components/table-tree-column/index.vue b/src/components/table-tree-column/index.vue new file mode 100644 index 000000000..7185635ef --- /dev/null +++ b/src/components/table-tree-column/index.vue @@ -0,0 +1,75 @@ + + + diff --git a/src/components/wx-index/cpt-item.vue b/src/components/wx-index/cpt-item.vue index aceec5ceb..536b2b749 100644 --- a/src/components/wx-index/cpt-item.vue +++ b/src/components/wx-index/cpt-item.vue @@ -22,6 +22,19 @@ + +
+
+ + +
+
+ 8000 && res.data.code < 10000) { - Message.error(res.data.msg); + // Message.error(res.data.msg); } if (res.code == 10005 || res.code == 10006 || res.code == 10007) { // 10005 token为空 10006登陆超时 10007别处登录 diff --git a/src/main.js b/src/main.js index 296c9448f..90e2269f2 100644 --- a/src/main.js +++ b/src/main.js @@ -70,6 +70,22 @@ Vue.use(Element, { i18n: (key, value) => i18n.t(key, value), }); +// 弹窗底部滚动问题 弹窗需配合v-if使用 +Vue.directive('fixed', { + inserted() { + let scrollTop = document.body.scrollTop || document.documentElement.scrollTop + document.body.style.cssText += 'position:fixed;width:100%;top:-' + scrollTop + 'px;' + }, + unbind () { + let body = document.body + body.style.position = '' + let top = body.style.top + document.body.scrollTop = document.documentElement.scrollTop = -parseInt(top) + body.style.top = '' + } +}) + + // 挂载全局 Vue.prototype.$http = http; // Vue.prototype.$getDictLabel = getDictLabel diff --git a/src/mixins/view-module.js b/src/mixins/view-module.js index f881711c7..dcfabd2ed 100644 --- a/src/mixins/view-module.js +++ b/src/mixins/view-module.js @@ -44,16 +44,16 @@ export default { query () { this.dataListLoading = true this.$http.get( - this.mixinViewModuleOptions.getDataListURL, - { - params: { - order: this.order, - orderField: this.orderField, - page: this.mixinViewModuleOptions.getDataListIsPage ? this.page : null, - limit: this.mixinViewModuleOptions.getDataListIsPage ? this.limit : null, - ...this.dataForm + this.mixinViewModuleOptions.getDataListURL, + { + params: { + order: this.order, + orderField: this.orderField, + page: this.mixinViewModuleOptions.getDataListIsPage ? this.page : null, + limit: this.mixinViewModuleOptions.getDataListIsPage ? this.limit : null, + ...this.dataForm + } } - } ).then(({ data: res }) => { this.dataListLoading = false if (res.code !== 0) { @@ -63,6 +63,11 @@ export default { } this.dataList = this.mixinViewModuleOptions.getDataListIsPage ? res.data.list : res.data this.total = this.mixinViewModuleOptions.getDataListIsPage ? res.data.total : 0 + this.dataList.forEach(item => { + if (item.gender) { + item.gender = item.gender == '0' ? '女' : item.gender == '1' ? '男' : item.gender + } + }) }).catch(() => { this.dataListLoading = false }) @@ -146,6 +151,18 @@ export default { ...this.dataForm }) window.location.href = `${window.SITE_CONFIG['apiURL']}${this.mixinViewModuleOptions.exportURL}?${params}` + }, + // 时间段控件取值变化事件-清空一个其他都清空 + changeTime (dateValue) { + var startTimeIsNull = this.dataForm.startTime === '' || this.dataForm.startTime === 'null' || this.dataForm.startTime === null + var endTimeIsNull = this.dataForm.endTime === '' || this.dataForm.endTime === 'null' || this.dataForm.endTime === null + if (dateValue === null || dateValue === '' || dateValue === 'null') { + this.dataForm.startTime = '' + this.dataForm.endTime = '' + } else if (startTimeIsNull || endTimeIsNull) { + this.dataForm.startTime = dateValue + this.dataForm.endTime = dateValue + } } } } diff --git a/src/mixins/view-post.js b/src/mixins/view-post.js new file mode 100644 index 000000000..ba5b51bec --- /dev/null +++ b/src/mixins/view-post.js @@ -0,0 +1,167 @@ +import Cookies from 'js-cookie' +import qs from 'qs' +export default { + data () { + /* eslint-disable */ + return { + // 设置属性 + mixinViewModuleOptions: { + createdIsNeed: true, // 此页面是否在创建时,调用查询数据列表接口? + activatedIsNeed: false, // 此页面是否在激活(进入)时,调用查询数据列表接口? + getDataListURL: '', // 数据列表接口,API地址 + getDataListIsPage: false, // 数据列表接口,是否需要分页? + deleteURL: '', // 删除接口,API地址 + deleteIsBatch: false, // 删除接口,是否需要批量? + deleteIsBatchKey: 'id', // 删除接口,批量状态下由那个key进行标记操作?比如:pid,uid... + exportURL: '' // 导出接口,API地址 + }, + // 默认属性 + dataForm: {}, // 查询条件 + dataList: [], // 数据列表 + order: '', // 排序,asc/desc + orderField: '', // 排序,字段 + page: 1, // 当前页码 + limit: 10, // 每页数 + total: 0, // 总条数 + dataListLoading: false, // 数据列表,loading状态 + dataListSelections: [], // 数据列表,多选项 + addOrUpdateVisible: false // 新增/更新,弹窗visible状态 + } + /* eslint-enable */ + }, + created () { + if (this.mixinViewModuleOptions.createdIsNeed) { + this.query() + } + }, + activated () { + if (this.mixinViewModuleOptions.activatedIsNeed) { + this.query() + } + }, + methods: { + // 获取数据列表 + query () { + this.dataListLoading = true + const params = { + order: this.order, + orderField: this.orderField, + page: this.mixinViewModuleOptions.getDataListIsPage ? this.page : null, + limit: this.mixinViewModuleOptions.getDataListIsPage ? this.limit : null, + ...this.dataForm + } + this.$http.post( + this.mixinViewModuleOptions.getDataListURL, + params + ).then(({ data: res }) => { + this.dataListLoading = false + if (res.code !== 0) { + this.dataList = [] + this.total = 0 + return this.$message.error(res.msg) + } + this.dataList = this.mixinViewModuleOptions.getDataListIsPage ? res.data.list : res.data + this.total = this.mixinViewModuleOptions.getDataListIsPage ? res.data.total : 0 + this.dataList.forEach(item => { + if (item.gender) { + item.gender = item.gender == '0' ? '女' : item.gender == '1' ? '男' : item.gender + } + }) + }).catch(() => { + this.dataListLoading = false + }) + }, + // 多选 + dataListSelectionChangeHandle (val) { + this.dataListSelections = val + }, + // 排序 + dataListSortChangeHandle (data) { + if (!data.order || !data.prop) { + this.order = '' + this.orderField = '' + return false + } + this.order = data.order.replace(/ending$/, '') + this.orderField = data.prop.replace(/([A-Z])/g, '_$1').toLowerCase() + this.query() + }, + // 分页, 每页条数 + pageSizeChangeHandle (val) { + this.page = 1 + this.limit = val + this.query() + }, + // 分页, 当前页 + pageCurrentChangeHandle (val) { + this.page = val + this.query() + }, + getDataList: function () { + this.page = 1 + this.query() + }, + // 新增 / 修改 + addOrUpdateHandle (id) { + this.addOrUpdateVisible = true + this.$nextTick(() => { + this.$refs.addOrUpdate.dataForm.id = id + this.$refs.addOrUpdate.init() + }) + }, + // 删除 + deleteHandle (id) { + if (this.mixinViewModuleOptions.deleteIsBatch && !id && this.dataListSelections.length <= 0) { + return this.$message({ + message: this.$t('prompt.deleteBatch'), + type: 'warning', + duration: 500 + }) + } + this.$confirm(this.$t('prompt.info', { 'handle': this.$t('delete') }), this.$t('prompt.title'), { + confirmButtonText: this.$t('confirm'), + cancelButtonText: this.$t('cancel'), + type: 'warning' + }).then(() => { + this.$http.delete( + `${this.mixinViewModuleOptions.deleteURL}${this.mixinViewModuleOptions.deleteIsBatch ? '' : '/' + id}`, + this.mixinViewModuleOptions.deleteIsBatch ? { + 'data': id ? [id] : this.dataListSelections.map(item => item[this.mixinViewModuleOptions.deleteIsBatchKey]) + } : {} + ).then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg) + } + this.$message({ + message: this.$t('prompt.success'), + type: 'success', + duration: 500, + onClose: () => { + this.query() + } + }) + }).catch(() => {}) + }).catch(() => {}) + }, + // 导出 + exportHandle () { + var params = qs.stringify({ + 'token': localStorage.getItem('token'), + ...this.dataForm + }) + window.location.href = `${window.SITE_CONFIG['apiURL']}${this.mixinViewModuleOptions.exportURL}?${params}` + }, + // 时间段控件取值变化事件-清空一个其他都清空 + changeTime (dateValue) { + var startTimeIsNull = this.dataForm.startTime === '' || this.dataForm.startTime === 'null' || this.dataForm.startTime === null + var endTimeIsNull = this.dataForm.endTime === '' || this.dataForm.endTime === 'null' || this.dataForm.endTime === null + if (dateValue === null || dateValue === '' || dateValue === 'null') { + this.dataForm.startTime = '' + this.dataForm.endTime = '' + } else if (startTimeIsNull || endTimeIsNull) { + this.dataForm.startTime = dateValue + this.dataForm.endTime = dateValue + } + } + } +} diff --git a/src/router/index.js b/src/router/index.js index e77263d4b..ad6160919 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -109,15 +109,6 @@ export const moduleShujuRoutes = { title: "主入口布局", }, children: [ - { - path: "/home2", - component: () => import("@/views/modules/home"), - name: "home2", - meta: { - title: "主页2", - isTab: true, - }, - }, { path: "/main-shuju/visual-basicinfo-people/:uid", props: true, @@ -125,7 +116,17 @@ export const moduleShujuRoutes = { name: "visual-basicinfo-people", meta: { title: "个人详情", - isTab: true, + isTab: false, + }, + }, + { + path: "/main-shuju/visual-basicinfo-people-list", + props: true, + component: () => import("@/views/modules/visual/basicinfo/peopleList"), + name: "visual-basicinfo-people-list", + meta: { + title: "人员列表", + isTab: false, }, }, ], @@ -192,36 +193,20 @@ router.beforeEach((to, from, next) => { const customerId = localStorage.getItem("customerId"); console.log("customerId:", customerId); - // http - // .get("/gov/access/menu/nav") - // .then(({ data: res }) => { - // if (res.code !== 0) { - // // Vue.prototype.$message.error(res.msg) - // return next({ - // name: "login", - // }); - // } - - // next({ - // ...to, - // replace: true, - // }); - // }) - // .catch(() => { - // next({ - // name: "login", - // }); - // }); window.SITE_CONFIG["menuShujuList"] = [ + // { + // url: "/visual/plugin/power/organization", + // name: "动力主轴", + // id: "5feawfwaefwa577", + // }, { - icon: "icon-setting", id: "22213213", name: "基础信息", // url: "visual/basicinfo/basicInfoMain", children: [ { url: "/visual/basicinfo/basicInfoMain", - name: "基础信息", + name: "人房信息统计", id: "5feawfwaefwa5", }, { @@ -229,6 +214,11 @@ router.beforeEach((to, from, next) => { name: "人员类别分析", id: "5fwaefwaefawef5", }, + { + url: "/visual/basicinfo/houseStatic/houseStatic", + name: "人房概览统计", + id: "5fwaefwaefawef6", + }, ], }, { @@ -249,6 +239,11 @@ router.beforeEach((to, from, next) => { name: "社区党建", // url: "visual/basicinfo/basicInfoMain", children: [ + { + url: "/visual/communityParty/gridParty", + name: "网格党建平面图", + id: "5feawfwaefwa579", + }, { url: "/visual/communityParty/party", name: "党员信息统计", @@ -256,7 +251,7 @@ router.beforeEach((to, from, next) => { }, { url: "/visual/communityParty/community", - name: "区域化党建", + name: "联建单位分析", id: "5fwaefwaefawef588", }, { @@ -290,29 +285,43 @@ router.beforeEach((to, from, next) => { name: "社区治理", children: [ { - url: "visual/communityGovern/processAnalyze", - name: "事件处置分析", - id: "processAnalyze", + url: "visual/communityGovern/shijianchuli/shijianchulifenxi", + name: "事件处理分析", + id: "shijianchulifenxi", }, + // { + // url: "visual/communityGovern/processAnalyze", + // name: "事件处置分析", + // id: "processAnalyze", + // }, { - url: "/visual/communityGovern/typeAnalyze", + url: "/visual/communityGovern/shijianfenlei/shijianfenleifenxi", name: "事件分类分析", - id: "typeAnalyze", - }, - { - url: "/visual/communityGovern/resibuzz", - name: "居民热议分析", - id: "resibuzz", + id: "shijianfenleifenxi", }, { - url: "/visual/communityGovern/distributionAnalyze", - name: "事件分布分析", - id: "distributionAnalyze", + url: "/visual/communityGovern/duoyuanfuwu/duoyuanfuwufenxi", + name: "多元服务分析", + id: "duoyuanfuwufenxi", }, + // { + // url: "/visual/communityGovern/typeAnalyze", + // name: "事件分类分析", + // id: "typeAnalyze", + // }, + // { + // url: "/visual/communityGovern/resibuzz", + // name: "居民热议分析", + // id: "resibuzz", + // }, + // { + // url: "/visual/communityGovern/distributionAnalyze", + // name: "事件分布分析", + // id: "distributionAnalyze", + // }, ], }, - - + { icon: "icon-setting", id: "2221321fefefaewfa123", @@ -320,6 +329,13 @@ router.beforeEach((to, from, next) => { url: "visual/heart/index", children: [], }, + { + icon: "icon-setting", + id: "2221321fefefaewfa122223", + name: "疫情防控", + url: "", + children: [], + }, { icon: "icon-setting", id: "44rq22222q2222", @@ -333,26 +349,25 @@ router.beforeEach((to, from, next) => { id: "5feawfwa111111efwa57", }, /*{ - // url: "http://www.baidu.com", - url: "/visual/ai/renliu", - name: "人流数据", - id: "5fwaefwae222112fawef58", - }, - { - url: "/visual/ai/cheliu", - name: "车流数据", - id: "erawerwecsxefwaw", - }, - { - url: "/visual/ai/shebei", - name: "设备数据", - id: "zfzffewaf", - }, - { - url: "/visual/ai/gongdan", - name: "工单数据", - id: "fewafwafewaefddd", - },*/ + url: "/visual/ai/renliu", + name: "人流数据", + id: "5fwaefwae222112fawef58", + }, + { + url: "/visual/ai/cheliu", + name: "车流数据", + id: "erawerwecsxefwaw", + }, + { + url: "/visual/ai/shebei", + name: "设备数据", + id: "zfzffewaf", + }, + { + url: "/visual/ai/gongdan", + name: "工单数据", + id: "fewafwafewaefddd", + },*/ { // url: "/visual/ai/yujing", url: "https://test-rxs-job.elinkservice.cn/haiqin-ai/aisecurity.html#/data-analysis", @@ -362,7 +377,33 @@ router.beforeEach((to, from, next) => { ], }, ]; - fnAddDynamicMenuRoutes2(window.SITE_CONFIG["menuShujuList"]); + // fnAddDynamicMenuRoutes2(window.SITE_CONFIG["menuShujuList"]); + + http + .get("/gov/access/menu/nav?tableName=data_menu") + .then(({ data: res }) => { + if (res.code == 10005 || res.code == 10006 || res.code == 10007) { + // 10005 token为空 10006登陆超时 10007别处登录 + console.log("登录失效"); + Vue.prototype.$message.error(res.msg); + return next({ + name: "login", + }); + } + + window.SITE_CONFIG["menuShujuList"] = res.data; + fnAddDynamicMenuRoutes2(window.SITE_CONFIG["menuShujuList"]); + + next({ + ...to, + replace: true, + }); + }) + .catch(() => { + next({ + name: "login", + }); + }); http .get("/gov/access/menu/nav") diff --git a/src/utils/deepClone.js b/src/utils/deepClone.js new file mode 100644 index 000000000..eaae97618 --- /dev/null +++ b/src/utils/deepClone.js @@ -0,0 +1,10 @@ +/** + * 深度克隆 + */ +export default function(arg) { + if (typeof arg == 'object' || typeof arg == 'array') { + return JSON.parse(JSON.stringify(arg)); + } else { + return arg; + } +} diff --git a/src/utils/index.js b/src/utils/index.js index fe742c9ac..c2232ac77 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -115,3 +115,33 @@ export function dateFormats(fmt, date) { } return fmt } +// 根据身份证计算出生日期,性别,年龄 +export function computedCard(idCard) { + let sex = null; + let birth = null; + let myDate = new Date(); + let month = myDate.getMonth() + 1; + let day = myDate.getDate(); + let age = 0; + + if(idCard.length===18){ + age = myDate.getFullYear() - idCard.substring(6, 10) - 1; + sex = idCard.substring(16,17); + birth = idCard.substring(6,10)+"-"+idCard.substring(10,12)+"-"+idCard.substring(12,14); + if (idCard.substring(10, 12) < month || idCard.substring(10, 12) === month && idCard.substring(12, 14) <= day) age++; + + } + if(idCard.length===15){ + age = myDate.getFullYear() - idCard.substring(6, 8) - 1901; + sex = idCard.substring(13,14); + birth = "19"+idCard.substring(6,8)+"-"+idCard.substring(8,10)+"-"+idCard.substring(10,12); + if (idCard.substring(8, 10) < month || idCard.substring(8, 10) === month && idCard.substring(10, 12) <= day) age++; + } + + if(sex%2 === 0) + sex = '0'; // 性别代码 1代表男,0代表女,暂时不涉及其他类型性别 + else + sex = '1'; + return {age , sex, birth} +} + diff --git a/src/utils/request.js b/src/utils/request.js index c03d1ae4a..7de9ad4cb 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -21,7 +21,7 @@ http.interceptors.request.use(config => { // 默认参数 var defaults = {} // 防止缓存,GET请求默认带_t参数 - if (config.method === 'get') { + if (config.method == 'get') { config.params = { ...config.params, ...{ '_t': new Date().getTime() } diff --git a/src/utils/treeSelect.js b/src/utils/treeSelect.js new file mode 100644 index 000000000..4ff8cfd0c --- /dev/null +++ b/src/utils/treeSelect.js @@ -0,0 +1,50 @@ +/** + * 构造树型结构数据 + * @param {*} data 数据源 + * @param {*} id id字段 默认 'id' + * @param {*} parentId 父节点字段 默认 'parentId' + * @param {*} children 孩子节点字段 默认 'children' + */ + export function handleTree(data, id, parentId, children) { + let config = { + id: id || 'id', + parentId: parentId || 'parentId', + childrenList: children || 'children' + }; + + var childrenListMap = {}; + var nodeIds = {}; + var tree = []; + + for (let d of data) { + let parentId = d[config.parentId]; + if (childrenListMap[parentId] == null) { + childrenListMap[parentId] = []; + } + nodeIds[d[config.id]] = d; + childrenListMap[parentId].push(d); + } + + for (let d of data) { + let parentId = d[config.parentId]; + if (nodeIds[parentId] == null) { + tree.push(d); + } + } + + for (let t of tree) { + adaptToChildrenList(t); + } + + function adaptToChildrenList(o) { + if (childrenListMap[o[config.id]] !== null) { + o[config.childrenList] = childrenListMap[o[config.id]]; + } + if (o[config.childrenList]) { + for (let c of o[config.childrenList]) { + adaptToChildrenList(c); + } + } + } + return tree; +} diff --git a/src/views/components/blackSearch.vue b/src/views/components/blackSearch.vue new file mode 100644 index 000000000..6cc4a41a7 --- /dev/null +++ b/src/views/components/blackSearch.vue @@ -0,0 +1,649 @@ + + + + + diff --git a/src/views/components/checkBox.vue b/src/views/components/checkBox.vue new file mode 100644 index 000000000..41bc5cfae --- /dev/null +++ b/src/views/components/checkBox.vue @@ -0,0 +1,87 @@ + + + + + \ No newline at end of file diff --git a/src/views/components/dateShow.vue b/src/views/components/dateShow.vue new file mode 100644 index 000000000..81739e351 --- /dev/null +++ b/src/views/components/dateShow.vue @@ -0,0 +1,48 @@ + + + diff --git a/src/views/components/deathSearch.vue b/src/views/components/deathSearch.vue new file mode 100644 index 000000000..1c46b7e93 --- /dev/null +++ b/src/views/components/deathSearch.vue @@ -0,0 +1,649 @@ + + + + + diff --git a/src/views/components/dragItem.vue b/src/views/components/dragItem.vue new file mode 100644 index 000000000..c9268ac94 --- /dev/null +++ b/src/views/components/dragItem.vue @@ -0,0 +1,94 @@ + + + + + \ No newline at end of file diff --git a/src/views/components/editResi.vue b/src/views/components/editResi.vue index d7afc877c..bcacbaf09 100644 --- a/src/views/components/editResi.vue +++ b/src/views/components/editResi.vue @@ -33,7 +33,7 @@ - +
@@ -75,6 +75,7 @@ --> - +
@@ -234,7 +235,6 @@ v-else-if="n.itemType === 'cascader'" v-model.trim="form[n.columnName]" :options="n.options" - :props="{ checkStrictly: true }" :disabled="disabled" clearable size="small" @@ -363,11 +363,11 @@ export default { if (item.required) { if (item.validType === 'mobile') { rules[item.columnName] = [ - { validator: checkMObile, trigger: 'blur' } + { required: true, validator: checkMObile, trigger: 'blur' } ] } else if (item.validType === 'id_card') { rules[item.columnName] = [ - { validator: checkIdCard, trigger: 'blur' } + { required: true, validator: checkIdCard, trigger: 'blur' } ] } else { rules[item.columnName] = [ @@ -501,7 +501,7 @@ export default { }, created () { this.initForm() - // console.log('formInfo---ggg', this.form) + console.log('formInfo---gggreg', this.rulesForm) if (this.supportAdd) { this.addList = [...this.mutiList] // console.log('addList----111', this.addList) @@ -611,6 +611,14 @@ export default { this.form.HOME_ID = '' this.getHouseList() }, + // 为了实现根据房屋类型改版是否租户的需求 + handleChangeH(val){ + let item = this.optionsH.find(item => item.value === val); + if(item && item.type == '1'){ + this.form.IS_TENANT = '1' + console.log('item-----', item) + } else this.form.IS_TENANT = '0' + }, handlerMuscForm () { let arr = [] this.addList.forEach(item => { @@ -803,7 +811,7 @@ export default { } } .resi-cell-value .resi-cell-input { - max-width: 180px; + width: 190px; } @@ -841,7 +849,7 @@ export default { } } .resi-cell-select { - width: 180px; + width: 190px; box-sizing: border-box; margin-right: 10px; &-middle { diff --git a/src/views/components/rangeInput.vue b/src/views/components/rangeInput.vue new file mode 100644 index 000000000..cfe5a44b5 --- /dev/null +++ b/src/views/components/rangeInput.vue @@ -0,0 +1,126 @@ + + + + + \ No newline at end of file diff --git a/src/views/components/resiChangeRecord.vue b/src/views/components/resiChangeRecord.vue index 58722bdb1..a13585a82 100644 --- a/src/views/components/resiChangeRecord.vue +++ b/src/views/components/resiChangeRecord.vue @@ -20,40 +20,55 @@ label="变更类型" width="80"> + + + + - - - - + + + + show-overflow-tooltip + min-width="120"> - +
+
+
+ + + + {{ gridName }} + + + + {{ dataForm.name }} + + + + + + + + + + + {{'迁往'+rootAgency.organizationName+'内其他区域'}} + 其他 + + + + +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ + + + +
+ + + + + + 享受福利 + +
+ +
+ +
+ 取消 + 提交 +
+
+ + + + diff --git a/src/views/components/resiForm.vue b/src/views/components/resiForm.vue index 506c2265c..7246d608c 100644 --- a/src/views/components/resiForm.vue +++ b/src/views/components/resiForm.vue @@ -32,7 +32,7 @@ - +
@@ -74,6 +74,7 @@ - + - +
@@ -158,6 +118,7 @@ size="small" clearable placeholder="请输入内容" + @blur="handleValidBlur(n)" > @@ -267,6 +231,7 @@ - \ No newline at end of file diff --git a/src/views/components/selectStaff.vue b/src/views/components/selectStaff.vue new file mode 100644 index 000000000..c7478383b --- /dev/null +++ b/src/views/components/selectStaff.vue @@ -0,0 +1,1364 @@ + + + + diff --git a/src/views/components/tinymce/index.vue b/src/views/components/tinymce/index.vue index 73c48e26a..19e710b9a 100644 --- a/src/views/components/tinymce/index.vue +++ b/src/views/components/tinymce/index.vue @@ -1,154 +1,157 @@ /* eslint-disable */ + + + diff --git a/src/views/modules/plugins/change/resichange.vue b/src/views/modules/plugins/change/resichange.vue new file mode 100644 index 000000000..0fca5015a --- /dev/null +++ b/src/views/modules/plugins/change/resichange.vue @@ -0,0 +1,1356 @@ + + + + + + + diff --git a/src/views/modules/plugins/change/resideath.vue b/src/views/modules/plugins/change/resideath.vue new file mode 100644 index 000000000..cf791d50b --- /dev/null +++ b/src/views/modules/plugins/change/resideath.vue @@ -0,0 +1,1368 @@ + + + + + + + diff --git a/src/views/modules/plugins/change/resiwelfare.vue b/src/views/modules/plugins/change/resiwelfare.vue new file mode 100644 index 000000000..213494223 --- /dev/null +++ b/src/views/modules/plugins/change/resiwelfare.vue @@ -0,0 +1,1350 @@ + + + + + + + diff --git a/src/views/modules/plugins/power/kernelhousehold.vue b/src/views/modules/plugins/power/kernelhousehold.vue new file mode 100644 index 000000000..a694fd47f --- /dev/null +++ b/src/views/modules/plugins/power/kernelhousehold.vue @@ -0,0 +1,242 @@ + + + + + + + diff --git a/src/views/modules/plugins/power/kernelhouseholdAddMember.vue b/src/views/modules/plugins/power/kernelhouseholdAddMember.vue new file mode 100644 index 000000000..5bf7d64dd --- /dev/null +++ b/src/views/modules/plugins/power/kernelhouseholdAddMember.vue @@ -0,0 +1,136 @@ + + + + + + + + diff --git a/src/views/modules/plugins/power/kernelhouseholdForm.vue b/src/views/modules/plugins/power/kernelhouseholdForm.vue new file mode 100644 index 000000000..917a0ea6c --- /dev/null +++ b/src/views/modules/plugins/power/kernelhouseholdForm.vue @@ -0,0 +1,182 @@ + + + + + + + + diff --git a/src/views/modules/plugins/power/kernelhouseholdTable.vue b/src/views/modules/plugins/power/kernelhouseholdTable.vue new file mode 100644 index 000000000..97a45c1f3 --- /dev/null +++ b/src/views/modules/plugins/power/kernelhouseholdTable.vue @@ -0,0 +1,273 @@ + + + + + + + diff --git a/src/views/modules/plugins/power/poweraxis-add-or-update.vue b/src/views/modules/plugins/power/poweraxis-add-or-update.vue new file mode 100644 index 000000000..ac35c2cb8 --- /dev/null +++ b/src/views/modules/plugins/power/poweraxis-add-or-update.vue @@ -0,0 +1,496 @@ + + + + + \ No newline at end of file diff --git a/src/views/modules/plugins/power/poweraxis.vue b/src/views/modules/plugins/power/poweraxis.vue new file mode 100644 index 000000000..649f2bb74 --- /dev/null +++ b/src/views/modules/plugins/power/poweraxis.vue @@ -0,0 +1,349 @@ + + + + + \ No newline at end of file diff --git a/src/views/modules/plugins/power/poweraxisForm.vue b/src/views/modules/plugins/power/poweraxisForm.vue new file mode 100644 index 000000000..9b2b2941e --- /dev/null +++ b/src/views/modules/plugins/power/poweraxisForm.vue @@ -0,0 +1,472 @@ + + + + + + + diff --git a/src/views/modules/plugins/power/poweraxis_add_leader.vue b/src/views/modules/plugins/power/poweraxis_add_leader.vue new file mode 100644 index 000000000..b49fe926f --- /dev/null +++ b/src/views/modules/plugins/power/poweraxis_add_leader.vue @@ -0,0 +1,365 @@ + + + + + diff --git a/src/views/modules/plugins/power/poweraxistag-add-or-update.vue b/src/views/modules/plugins/power/poweraxistag-add-or-update.vue new file mode 100644 index 000000000..cf029a4ee --- /dev/null +++ b/src/views/modules/plugins/power/poweraxistag-add-or-update.vue @@ -0,0 +1,127 @@ + + + diff --git a/src/views/modules/plugins/power/poweraxistag.vue b/src/views/modules/plugins/power/poweraxistag.vue new file mode 100644 index 000000000..70f08291d --- /dev/null +++ b/src/views/modules/plugins/power/poweraxistag.vue @@ -0,0 +1,82 @@ + + + diff --git a/src/views/modules/plugins/power/servicestation.vue b/src/views/modules/plugins/power/servicestation.vue new file mode 100644 index 000000000..eb68fc23d --- /dev/null +++ b/src/views/modules/plugins/power/servicestation.vue @@ -0,0 +1,242 @@ + + + + + + + diff --git a/src/views/modules/plugins/power/servicestationForm.vue b/src/views/modules/plugins/power/servicestationForm.vue new file mode 100644 index 000000000..9075e983d --- /dev/null +++ b/src/views/modules/plugins/power/servicestationForm.vue @@ -0,0 +1,303 @@ + + + + + + + diff --git a/src/views/modules/plugins/power/servicestationTable.vue b/src/views/modules/plugins/power/servicestationTable.vue new file mode 100644 index 000000000..26f5c4216 --- /dev/null +++ b/src/views/modules/plugins/power/servicestationTable.vue @@ -0,0 +1,240 @@ + + + + + + + diff --git a/src/views/modules/plugins/rent/rentblacklist-add-or-update.vue b/src/views/modules/plugins/rent/rentblacklist-add-or-update.vue new file mode 100644 index 000000000..cd2f51986 --- /dev/null +++ b/src/views/modules/plugins/rent/rentblacklist-add-or-update.vue @@ -0,0 +1,196 @@ + + + + + diff --git a/src/views/modules/plugins/rent/rentblacklist.vue b/src/views/modules/plugins/rent/rentblacklist.vue new file mode 100644 index 000000000..6b8f9402a --- /dev/null +++ b/src/views/modules/plugins/rent/rentblacklist.vue @@ -0,0 +1,263 @@ + + + + + diff --git a/src/views/modules/plugins/rent/rentcontractfile-add-or-update.vue b/src/views/modules/plugins/rent/rentcontractfile-add-or-update.vue new file mode 100644 index 000000000..dddacc09f --- /dev/null +++ b/src/views/modules/plugins/rent/rentcontractfile-add-or-update.vue @@ -0,0 +1,146 @@ + + + + diff --git a/src/views/modules/plugins/rent/rentcontractfile.vue b/src/views/modules/plugins/rent/rentcontractfile.vue new file mode 100644 index 000000000..6ff531fb6 --- /dev/null +++ b/src/views/modules/plugins/rent/rentcontractfile.vue @@ -0,0 +1,130 @@ + + + + diff --git a/src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue b/src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue new file mode 100644 index 000000000..2cad16bd8 --- /dev/null +++ b/src/views/modules/plugins/rent/rentcontractinfo-add-or-update.vue @@ -0,0 +1,342 @@ + + + + + diff --git a/src/views/modules/plugins/rent/rentcontractinfo.vue b/src/views/modules/plugins/rent/rentcontractinfo.vue new file mode 100644 index 000000000..aaa68df24 --- /dev/null +++ b/src/views/modules/plugins/rent/rentcontractinfo.vue @@ -0,0 +1,514 @@ + + + + + + diff --git a/src/views/modules/plugins/rent/rentcontractreview.vue b/src/views/modules/plugins/rent/rentcontractreview.vue new file mode 100644 index 000000000..c003e5a8a --- /dev/null +++ b/src/views/modules/plugins/rent/rentcontractreview.vue @@ -0,0 +1,473 @@ + + + + diff --git a/src/views/modules/plugins/rent/renthouse-add-or-update.vue b/src/views/modules/plugins/rent/renthouse-add-or-update.vue new file mode 100644 index 000000000..1833b7d15 --- /dev/null +++ b/src/views/modules/plugins/rent/renthouse-add-or-update.vue @@ -0,0 +1,272 @@ + + + diff --git a/src/views/modules/plugins/rent/renthouse.vue b/src/views/modules/plugins/rent/renthouse.vue new file mode 100644 index 000000000..cca04ff18 --- /dev/null +++ b/src/views/modules/plugins/rent/renthouse.vue @@ -0,0 +1,514 @@ + + + diff --git a/src/views/modules/plugins/rent/renthouseForm.vue b/src/views/modules/plugins/rent/renthouseForm.vue new file mode 100644 index 000000000..802960604 --- /dev/null +++ b/src/views/modules/plugins/rent/renthouseForm.vue @@ -0,0 +1,607 @@ + + + + diff --git a/src/views/modules/plugins/rent/renttenantinfo-add-or-update.vue b/src/views/modules/plugins/rent/renttenantinfo-add-or-update.vue new file mode 100644 index 000000000..f73040617 --- /dev/null +++ b/src/views/modules/plugins/rent/renttenantinfo-add-or-update.vue @@ -0,0 +1,161 @@ + + + + + diff --git a/src/views/modules/plugins/rent/renttenantinfo.vue b/src/views/modules/plugins/rent/renttenantinfo.vue new file mode 100644 index 000000000..63aedd360 --- /dev/null +++ b/src/views/modules/plugins/rent/renttenantinfo.vue @@ -0,0 +1,223 @@ + + + + + diff --git a/src/views/modules/plugins/rent/resi.vue b/src/views/modules/plugins/rent/resi.vue new file mode 100644 index 000000000..717063560 --- /dev/null +++ b/src/views/modules/plugins/rent/resi.vue @@ -0,0 +1,1350 @@ + + + + + + + diff --git a/src/views/modules/plugins/stats/factagencyuserhousedaily-add-or-update.vue b/src/views/modules/plugins/stats/factagencyuserhousedaily-add-or-update.vue new file mode 100644 index 000000000..60e91f4bc --- /dev/null +++ b/src/views/modules/plugins/stats/factagencyuserhousedaily-add-or-update.vue @@ -0,0 +1,240 @@ + + + diff --git a/src/views/modules/plugins/stats/factagencyuserhousedaily.vue b/src/views/modules/plugins/stats/factagencyuserhousedaily.vue new file mode 100644 index 000000000..5cabb481a --- /dev/null +++ b/src/views/modules/plugins/stats/factagencyuserhousedaily.vue @@ -0,0 +1,316 @@ + + + + + + diff --git a/src/views/modules/secretaryLog/difficulty/difficultyList.vue b/src/views/modules/secretaryLog/difficulty/difficultyList.vue index 933474da3..3471a3176 100644 --- a/src/views/modules/secretaryLog/difficulty/difficultyList.vue +++ b/src/views/modules/secretaryLog/difficulty/difficultyList.vue @@ -1,6 +1,6 @@ @@ -783,12 +1186,14 @@ export default { } .box-right { flex: 1; + height: 100%; + margin-left: 10px; overflow: hidden; .pagination { margin-top: 0; } .box-map { - height: 400px; + height: 100%; // border: 1px solid #2865fa; .map { @@ -808,6 +1213,9 @@ export default { } } } +.flex-column { + flex-direction: column; +} .box-wr-400 { height: 400px; .box-left { @@ -820,7 +1228,43 @@ export default { } } } - +.echart-wr { + position: relative; + flex-shrink: 0; + width: 90%; + height: 320px; + box-sizing: border-box; + .echart-org { + width: 100%; + height: 100%; + } + .echart-cicle { + position: absolute; + top: 50%; + left: 50%; + width: 240px; + height: 240px; + box-sizing: border-box; + margin-top: -120px; + margin-left: -120px; + border: 1px dashed rgba(0, 96, 240, 1); + border-radius: 50%; + } + .echart-cicle0 { + left: 80px; + margin-left: 0; + } +} +.table-h { + height: calc(100vh - 630px); +} +.calc-h { + height: calc(100vh - 240px); + padding-bottom: 20px; +} +.wd50 { + width: 50%; +} .map-tips { width: 100%; display: flex; @@ -852,4 +1296,10 @@ export default { } } } +.mt0 { + margin: 0; +} +.mt40 { + margin-top: 40px; +} diff --git a/src/views/modules/visual/communityParty/dialogInfo.vue b/src/views/modules/visual/communityParty/dialogInfo.vue index 60db4c68c..c4160ff69 100644 --- a/src/views/modules/visual/communityParty/dialogInfo.vue +++ b/src/views/modules/visual/communityParty/dialogInfo.vue @@ -11,7 +11,7 @@
-
+
活动地址: {{ info.address }} @@ -53,7 +58,7 @@
- 活动结果: + 活动成果:
diff --git a/src/views/modules/visual/communityParty/gridParty.vue b/src/views/modules/visual/communityParty/gridParty.vue new file mode 100644 index 000000000..bd73c11ca --- /dev/null +++ b/src/views/modules/visual/communityParty/gridParty.vue @@ -0,0 +1,739 @@ + + + + + + + diff --git a/src/views/modules/visual/communityParty/memberInfo.vue b/src/views/modules/visual/communityParty/memberInfo.vue new file mode 100644 index 000000000..1b07df9c1 --- /dev/null +++ b/src/views/modules/visual/communityParty/memberInfo.vue @@ -0,0 +1,256 @@ + + + + + + diff --git a/src/views/modules/visual/communityParty/party.vue b/src/views/modules/visual/communityParty/party.vue index 7e5551370..b5b0e541a 100644 --- a/src/views/modules/visual/communityParty/party.vue +++ b/src/views/modules/visual/communityParty/party.vue @@ -5,13 +5,24 @@
党员信息统计   - + --> +
@@ -42,10 +53,15 @@
+
+ 导出 +
+
+ 导出 +
+ + + diff --git a/src/views/modules/visual/communityParty/unitInfo.vue b/src/views/modules/visual/communityParty/unitInfo.vue new file mode 100644 index 000000000..4e3c7c97e --- /dev/null +++ b/src/views/modules/visual/communityParty/unitInfo.vue @@ -0,0 +1,262 @@ + + + + + + diff --git a/src/views/modules/visual/components/screen-echarts-frame/index.vue b/src/views/modules/visual/components/screen-echarts-frame/index.vue index 9d97c8fbb..24fc5d6c8 100644 --- a/src/views/modules/visual/components/screen-echarts-frame/index.vue +++ b/src/views/modules/visual/components/screen-echarts-frame/index.vue @@ -68,6 +68,13 @@ export default { dataIndex: index }); }, + //取消高亮 + downplay (index) { + this.myChart.dispatchAction({ + type: 'downplay', + seriesIndex: 0, + }); + }, // 配置option setOption (option) { diff --git a/src/views/modules/visual/components/screen-map/index.vue b/src/views/modules/visual/components/screen-map/index.vue index 2786fdde8..c5bc2561b 100644 --- a/src/views/modules/visual/components/screen-map/index.vue +++ b/src/views/modules/visual/components/screen-map/index.vue @@ -21,8 +21,8 @@
-->
+ :id="mapId" + :ref="mapId">
@@ -79,6 +82,24 @@ let iconSource; // icon let select;//选中标注 +let iconTextsStyle = { + textAlign: undefined, + font: "18px Arial", + //fontFamily: "Courier New, monospace", + // fontWeight: "bold", + text: '', + backgroundFill: new Fill({ + color: 'rgba(0, 146, 238, 0.75)' + // color: textColorArray[feature.values_.colorIndex] + }), + padding: [4, 10, 4, 10], + //text: "变电站名称", + fill: new Fill({ color: "#ffffff" }), + // stroke: new Stroke({ color: "#ffffff", width: 3 }), + offsetY: -30, + offsetX: -50, + overflow: true, +} let polygonColorArray = [ 'rgba(210, 2, 2, 0.24)', @@ -86,7 +107,19 @@ let polygonColorArray = [ 'rgba(183, 185, 0, 0.16)' ]; +//icon文字样式 +let createTextStyle = function (feature) { + + if (iconTextsStyle) { + let iconTextsStyles = { ...iconTextsStyle } + iconTextsStyles.text = feature.values_ && feature.values_.name || feature.name + return new Text({ ...iconTextsStyles }) + } else { + return null + } + +} //多边形标注样式 var polygonStyleFunction = (function () { return function (feature) { @@ -105,6 +138,8 @@ var polygonStyleFunction = (function () { }; })() + + const vueGis = { name: 'HomeMap', data () { @@ -151,7 +186,7 @@ const vueGis = { iconArrays: [ ], - iconTextStyle: {}, + // iconTextStyle: {}, //policon图标样式 polIconUrlArray: [ @@ -165,12 +200,13 @@ const vueGis = { distanceMax: null,//显示的坐标距离中心点的范围 input_lat: null, - input_lon: null + input_lon: null, + + isChangeCenter: true,//是否根据多边形改变数组 } }, async mounted () { - }, methods: { showPosition () { @@ -181,10 +217,10 @@ const vueGis = { loadMap (mapInfo, polygonArray, polIconUrlArray, iconArrays, iconUrlArray, iconTextStyle, distanceMax) { this.mapInfo = mapInfo this.polygonArray = polygonArray - this.polIconUrlArray = polIconUrlArray + this.polIconUrlArray = polIconUrlArray || [] this.iconArrays = iconArrays this.iconUrlArray = iconUrlArray - this.iconTextStyle = iconTextStyle + iconTextsStyle = iconTextStyle || iconTextsStyle this.distanceMax = distanceMax // iconArrays.forEach(item => { @@ -194,21 +230,21 @@ const vueGis = { //初始化地图 this.initMap() - - if (this.showPolygonLayer) { + if (this.showPolIconLayer) { + console.log('showPolIconLayer++++++++++++++++++++++', this.showPolIconLayer) //初始化多边形标注图层 - this.initPolygonLayer() + this.initPolIconLayer() //加载当前园区的标注 - this.loadPolygon() + // this.loadPolIcon() } - if (this.showPolIconLayer) { - + if (this.showPolygonLayer) { //初始化多边形标注图层 this.initPolygonLayer() //加载当前园区的标注 - this.loadPolIcon() + this.loadPolygon() } + if (this.showIconLayer) { //初始化icon图层 this.initIconLayer() @@ -220,41 +256,51 @@ const vueGis = { this.addOverlay() } - this.addMapClick() }, - //刷新地图 - async refreshMap (polygonArray, iconArrays) { - + //刷新地图:地图信息,多边形数组,标注数组,是否根据多边形改变中心点 + async refreshMap (mapInfo, polygonArray, iconArrays, isChangeCenter) { + this.mapInfo = mapInfo + this.polygonArray = [] this.polygonArray = polygonArray this.iconArrays = iconArrays + this.isChangeCenter = isChangeCenter + if (iconSource) { + iconSource.clear() + } + if (polygonSource) { + polygonSource.clear() + } + if (polIconSource) { + polIconSource.clear() + } + this.initPolIconLayer() if (this.showPolygonLayer) { - + this.initPolygonLayer() //加载当前园区的标注 this.loadPolygon() } if (this.showPolIconLayer) { - + this.initIconLayer() //加载当前园区的标注 - this.loadPolIcon() + // this.loadPolIcon() } if (this.showIconLayer) { this.loadIcon() } - - + this.setMapLocation() + // gaodeMapLayer.getSource().changed() }, - //加载多边形 + //加载区域多边形 loadPolygon () { - polygonSource.clear()//清空多边形标注 - + // iconSource.clear() let featureData = []//多边形数据数据 if (this.polygonArray && this.polygonArray.length > 0) {//判断是否存在下级标注 @@ -307,13 +353,16 @@ const vueGis = { this.loadPolIcon(feature) } + } }, - //加载多边形的icon + //加载区域多边形的icon loadPolIcon (feature) { + polIconSource.clear() let polyIconFeatures = []; + console.log('feature-----', feature) feature.forEach(oneIcon => { var extent = boundingExtent(oneIcon.getGeometry().getCoordinates()[0]); //获取一个坐标数组的边界,格式为[minx,miny,maxx,maxy] @@ -330,28 +379,27 @@ const vueGis = { id: oneIcon.id_ } }); - + // console.log('oneIcon----', oneIcon) let polyIconStyle = new Style({ image: new Icon({ // anchor: [0.5, 0.5], // imgSize: [32, 32], - scale: 0.5, - src: polIconUrlArray[oneIcon.values_.index - 1] - }) + scale: this.areaScale, + src: this.polIconUrlArray[0] + }), + text: createTextStyle(oneIcon) }); polyIcon.setStyle(polyIconStyle); polyIconFeatures.push(polyIcon); }); - polIconSource.addFeatures(polyIconFeatures); }, //加载icon图标 loadIcon () { iconSource.clear()//清空多边形标注 - if (this.iconArrays && this.iconArrays.length > 0) { let iconFeatures = []; @@ -367,15 +415,14 @@ const vueGis = { info: { ...oneIcon } } }); - let iconStyle = new Style({ image: new Icon({ // anchor: [0.5, 0.5], // imgSize: [32, 32], // scale: 0.5, - src: this.iconUrlArray[oneIcon.urlIndex] + src: oneIcon.urlIndex && this.iconUrlArray[oneIcon.urlIndex] || this.iconUrlArray[0] }), - text: this.createTextStyle(oneIcon) + // text: createTextStyle(oneIcon) }); iconItem.setStyle(iconStyle); @@ -397,18 +444,6 @@ const vueGis = { } }, - //icon文字样式 - createTextStyle (feature) { - if (this.iconTextStyle) { - let iconTextStyle = { ...this.iconTextStyle } - iconTextStyle.text = feature.values_.name - return new Text({ ...iconTextStyle }) - } else { - return null - } - - - }, //计算和中心点距离 computedDistance (lon, lat, max) { @@ -425,7 +460,7 @@ const vueGis = { //初始化地图 initMap () { - this.setMapLocation() + this.firstCentermap() gaodeMapLayer = new TileLayer({ title: "地图", source: new XYZ({ @@ -452,7 +487,7 @@ const vueGis = { layers: [gaodeMapLayer], //加载瓦片图层数据 view: mapView, - target: 'map' + target: this.mapId //目标加载到map中 }) @@ -478,8 +513,98 @@ const vueGis = { }, //设置地图定位的中心点和缩放级别 setMapLocation () { + if (!this.zoom) { + this.setZoom(this.mapInfo.agencyLevel) + } + this.centerPoint = [] + + //如果存在中心点(返回时赋值) + if (this.center && this.center.length > 0) { + this.centerPoint = this.center + this.centerFlag = 'point' + this.center = [] + } else if (polygonLayer.getSource().getFeatures()[0]) {//如果是初次进入,存在下级组织 + this.centerFlag = 'flag_polygon' + + } else if (this.mapInfo.longitude && this.mapInfo.latitude) { + this.centerPoint.push(this.mapInfo.longitude) + this.centerPoint.push(this.mapInfo.latitude) + this.centerFlag = 'point' + + } else { + this.centerPoint = centerPointGlobal + this.centerFlag = 'point' + } + // debugger + if (this.centerFlag === 'flag_parent') { + let parentFeatures = parentLayer.getSource().getFeatures()[0] + let polygon = parentFeatures.getGeometry(); + map.getView().fit(polygon, map.getSize()); + this.zoom = map.getView().getZoom() - 1 + + } else if (this.centerFlag === 'flag_polygon') { + let polygonFeatures = polygonLayer.getSource().getFeatures()[0] + let polygon = polygonFeatures.getGeometry(); + map.getView().fit(polygon, map.getSize()); + this.zoom = map.getView().getZoom() - 1 + + } else { + mapView.setCenter(this.centerPoint); + } + + if (!this.isChangeCenter) { + return false + } + // debugger + if (!this.zoom) { + this.setZoom(this.mapInfo.agencyLevel) + } + this.centerPoint = [] + + //如果存在中心点(返回时赋值) + if (this.center && this.center.length > 0) { + this.centerPoint = this.center + this.centerFlag = 'point' + this.center = [] + + } else if (polygonLayer.getSource().getFeatures()[0]) {//如果是初次进入,存在下级组织 + this.centerFlag = 'flag_polygon' + this.centerPoint.push(this.mapInfo.longitude) + this.centerPoint.push(this.mapInfo.latitude) + + } else if (this.mapInfo.longitude && this.mapInfo.latitude) { + this.centerPoint.push(this.mapInfo.longitude) + this.centerPoint.push(this.mapInfo.latitude) + this.centerFlag = 'point' + + } else { + this.centerPoint = centerPointGlobal + this.centerFlag = 'point' + } + + // debugger + if (this.centerFlag === 'flag_parent') { + let parentFeatures = parentLayer.getSource().getFeatures()[0] + let polygon = parentFeatures.getGeometry(); + map.getView().fit(polygon, map.getSize()); + this.zoom = map.getView().getZoom() - 1 + + } else if (this.centerFlag === 'flag_polygon') { + let polygonFeatures = polygonLayer.getSource().getFeatures()[0] + let polygon = polygonFeatures.getGeometry(); + map.getView().fit(polygon, map.getSize()); + this.zoom = map.getView().getZoom() - 1 + + } else { + mapView.setCenter(this.centerPoint); + + } + mapView.setZoom(this.zoom); + + }, + firstCentermap () { if (this.mapInfo.longitude && this.mapInfo.latitude) { this.centerPoint = [] this.centerPoint.push(this.mapInfo.longitude) @@ -489,7 +614,7 @@ const vueGis = { this.centerPoint = centerPointGlobal } - this.setZoom(this.mapInfo.level) + this.setZoom(this.mapInfo.agencyLevel) }, //根据组织层级设置缩放级别 @@ -507,7 +632,8 @@ const vueGis = { //初始化多边形标注图层 initPolygonLayer () { polygonSource = new VectorSource({ - //features: (new GeoJSON()).readFeatures(geojsonObject) + // features: (new GeoJSON()).readFeatures(geojsonObject) + wrapX: false }); polygonLayer = new VectorLayer({ @@ -515,7 +641,7 @@ const vueGis = { style: polygonStyleFunction, zIndex: 50 }); - + let that = this //选中多边形后的样式 var overlayStyle = (function () { @@ -535,7 +661,7 @@ const vueGis = { }) }), new Style({ - text: createTextStyle(feature) + // text: createTextStyle(feature) // 报错 暂时注掉 zhaotongyao 2022.05.19 }) ]; styles['MultiPolygon'] = styles['Polygon']; @@ -543,13 +669,13 @@ const vueGis = { }; })(); - select = new Select({ - style: overlayStyle - }); - + // select = new Select({ + // style: overlayStyle + // }); + // 有BUG 加入多边形选中样式时,如果同时存在icon层和多边形层,点击icon会使icon消失 ---zhaotongyao 2022.06.01 map.addLayer(polygonLayer) - map.addInteraction(select); + // map.addInteraction(select); }, @@ -558,6 +684,7 @@ const vueGis = { initPolIconLayer () { polIconSource = new VectorSource({ //features: (new GeoJSON()).readFeatures(geojsonObject) + wrapX: false }); polIconLayer = new VectorLayer({ @@ -571,9 +698,9 @@ const vueGis = { //初始化icon图层 initIconLayer () { - iconSource = new VectorSource({ //features: (new GeoJSON()).readFeatures(geojsonObject) + wrapX: false }); iconLayer = new VectorLayer({ @@ -597,6 +724,7 @@ const vueGis = { var container = document.getElementById("popup"); var closer = document.getElementById("popup-closer"); var content = document.getElementById("popup-content"); + var goMore = document.getElementById("popup-goMore") ? document.getElementById("popup-goMore") : null // 创建一个弹窗 Overlay 对象 this.overlay = new Overlay({ @@ -619,6 +747,11 @@ const vueGis = { closer.blur(); return false; }; + if (goMore) { + goMore.onclick = function () { + _that.$emit('lookMore') + }; + } }, //注册地图点击事件 @@ -650,15 +783,27 @@ const vueGis = { }); }, - handleShowPopup (showData, coordinate) { + handleShowPopup (showData, coordinate, isShowMore) { + if (isShowMore) { + document.getElementById("popup-goMore").style.display = 'block' + } else { + document.getElementById("popup-goMore").style.display = 'none' + } console.log(this.overlay.getElement()) + let content = document.getElementById("popup-content"); this.overlay.getElement().style.display = 'block' this.overlay.getElement().parentNode.style.display = 'block' this.overlay.getElement().parentNode.parentNode.style.display = 'block' - var content = document.getElementById("popup-content"); - content.innerHTML = showData; - this.overlay.setPosition(coordinate); //把 overlay 显示到指定的 x,y坐标 + this.overlay.setPosition(coordinate); + //把 overlay 显示到指定的 x,y坐标 + + }, + // 关闭弹窗 + handleClosePopup () { + this.overlay.setPosition(undefined); + document.getElementById("popup-closer").blur(); + return false; }, //取随机数 @@ -685,6 +830,10 @@ const vueGis = { }, }, props: { + mapId: { + type: String, + default: 'map' + }, //是否显示多边形图层 showPolygonLayer: { type: Boolean, @@ -711,6 +860,10 @@ const vueGis = { clickType: { type: String, default: 'back' + }, + areaScale: { + type: Number, + default: 0.5 } }, @@ -795,8 +948,12 @@ export default vueGis; .popup-content { width: 300px; } +.popup-goMore { + margin: 20px 0; +} .ol-popup-closer:after { content: "✖"; - color: rgba(1, 17, 104, 1); + // color: rgba(1, 17, 104, 1); + color: #fff; } \ No newline at end of file diff --git a/src/views/modules/visual/cpts/analyse.vue b/src/views/modules/visual/cpts/analyse.vue index 10c0c5120..b264dfac6 100644 --- a/src/views/modules/visual/cpts/analyse.vue +++ b/src/views/modules/visual/cpts/analyse.vue @@ -2,29 +2,48 @@
-
+
(家属)
{{item.icUserName}}
- +
-
+
-
-
{{userName}}
-
(案件居民)
+
+
{{userName}}
+
{{userTag}}
+
+
+
{{userName}}
+
{{userTag}}
+
+
+
{{userName}}
+
{{userTag}}
+
+
+
{{userName}}
+
{{userTag}}
@@ -83,7 +102,8 @@
-
+
@@ -111,15 +131,16 @@
-
暂无数据
+
暂无数据
+ + + +
暂无数据
@@ -254,6 +284,18 @@ export default { }, userList: Array, // 默认,必传 单个来源或多个来源 userName: String, // 默认,必传 单个来源或多个来源 + userTag: { // 默认为案件居民, 单个来源或多个来源 + type: String, + default: '案件居民' + }, + isUserClick: { //中间报事人是否能点击 + type: Boolean, + default: false + }, + bcLimit: { //中间报事人的背景颜色限制 + type: Number, + default: 1 + }, singleList: Array, // 默认,必传 单个来源或多个来源 }, @@ -265,6 +307,7 @@ export default { }, created () { this.tempList = [...this.singleList] + console.log(this.tempList) }, methods: { @@ -275,7 +318,7 @@ export default { } return statusObj[status] }, - computedPd(list) { + computedPd (list) { if (this.sourceTab == 'group') return '60px' if (list.length == 1) return '330px' else if (list.length == 2) return '240px' @@ -295,6 +338,12 @@ export default { handleUser (item) { this.$emit('user', item) }, + handleMidderUser (id) { + if (this.isUserClick) { + this.$emit('toMiddleUserInfo', id) + } + + }, handleShow (item) { item.showItem = !item.showItem } @@ -374,6 +423,22 @@ export default { } } + .analys-person_orange { + background: url("../../../../assets/img/shuju/measure/zhuhu_orange.png") + no-repeat center; + background-size: cover; + } + .analys-person_yellow { + background: url("../../../../assets/img/shuju/measure/zhuhu_yellow.png") + no-repeat center; + background-size: cover; + } + .analys-person_red { + background: url("../../../../assets/img/shuju/measure/zhuhu_red.png") + no-repeat center; + background-size: cover; + } + .analys-cate { display: flex; flex-direction: column; @@ -436,6 +501,10 @@ export default { margin: 0 auto; } } + + // .cate-col { + // width: 250px; + // } .cate-col-w100 { width: 230px; .cate-list-w0 { diff --git a/src/views/modules/visual/cpts/line-chart.vue b/src/views/modules/visual/cpts/line-chart.vue index 35f141583..7a6e3683d 100644 --- a/src/views/modules/visual/cpts/line-chart.vue +++ b/src/views/modules/visual/cpts/line-chart.vue @@ -1,6 +1,6 @@ @@ -12,6 +12,7 @@ import F2 from "@antv/f2/lib/index-all"; const fontFamily = "PingFang SC"; const fontSize = 14; +let id = "myChart" + new Date().getDate(); let chart; let srcData = []; @@ -69,7 +70,7 @@ const addTextShape = () => { const iniChart = function (config, srcData) { chart = new F2.Chart({ - id: "myChart", + id, ...config, }); @@ -203,6 +204,7 @@ export default { data() { return { iniLoading: false, + id, }; }, watch: { diff --git a/src/views/modules/visual/cpts/tb.vue b/src/views/modules/visual/cpts/tb.vue index f0e903b35..317f438f0 100644 --- a/src/views/modules/visual/cpts/tb.vue +++ b/src/views/modules/visual/cpts/tb.vue @@ -18,10 +18,10 @@ - {{ - item - }} -
+
+ {{ item }} +
+
{{ index + 1 }}
{{ btn }} + {{ item.name }} @@ -139,6 +144,11 @@ export default { handleClickBtn(index, type) { this.$emit("operate", index, type); }, + handleClickPeople(item) { + this.$router.push({ + path: `/main-shuju/visual-basicinfo-people/${item.uid}`, + }); + }, }, }; @@ -150,6 +160,7 @@ export default { width: 100%; height: 100%; border: none; + table-layout: fixed; &-header { width: 100%; @@ -179,9 +190,18 @@ export default { min-height: 50px; .td { + box-sizing: border-box; text-align: center; border: none; - padding: 10px 0; + padding: 10px 5px; + + > div { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + word-wrap: normal; + } + a { font-size: 16px; font-weight: 400; diff --git a/src/views/modules/visual/heart/index.vue b/src/views/modules/visual/heart/index.vue index b960eb6ba..9e7d4177d 100644 --- a/src/views/modules/visual/heart/index.vue +++ b/src/views/modules/visual/heart/index.vue @@ -104,7 +104,7 @@ export default { }, { align: "center", - width: "30", + width: "30%", }, ], header: ["序号", "网格名称", "活力值"], @@ -131,7 +131,7 @@ export default { }, { align: "center", - width: "20", + width: "20%", }, ], header: ["序号", "党员姓名", "所属网格", "积分总数"], @@ -158,7 +158,7 @@ export default { }, { align: "center", - width: "20", + width: "20%", }, ], header: ["序号", "居民姓名", "所属网格", "积分总数"], @@ -267,6 +267,7 @@ export default { return [ { type: "index" }, item.userName, + // { type: "people", name: item.userName, uid: item.userId }, item.gridName, item.pointTotal, ]; @@ -297,6 +298,7 @@ export default { return [ { type: "index" }, item.userName, + // { type: "people", name: item.userName, uid: item.userId }, item.gridName, item.pointTotal, ]; diff --git a/src/views/modules/visual/measure/dialogInfo.vue b/src/views/modules/visual/measure/dialogInfo.vue index 1f1faaea2..5ba13eb31 100644 --- a/src/views/modules/visual/measure/dialogInfo.vue +++ b/src/views/modules/visual/measure/dialogInfo.vue @@ -92,7 +92,7 @@
-
+
--> - +
需求和资源匹配分析
+
服务清单
导出
@@ -254,7 +255,7 @@ export default { if (item.legendCode == 'unfinished') { desc += `
尚有 ${item.serviceDemandTotal} 个需求未完成
` }else { - desc += `
共 ${item.totalService} ${unit} ${item.legendName} 完成需求 ${item.serviceDemandTotal} 个
` + desc += `
共有 ${item.totalService} ${unit} ${item.legendName} 完成 ${item.serviceDemandTotal} 个需求
` } }) @@ -645,6 +646,25 @@ export default { } } } +.card-left-title { + position: relative; + padding-left: 40px; + font-size: 16px; + font-weight: 500; + color: #fff; +} +.card-left-title::after { + content: ''; + position: absolute; + top: 50%; + left: 20px; + width: 12px; + height: 12px; + box-sizing: border-box; + margin-top: -6px; + background: #2865FA; + border-radius: 50%; +} .second-select { margin: 0 10px 0 0; ::v-deep .el-input { @@ -799,5 +819,7 @@ export default { border: 0; } } - +.mt30 { + margin-top: 30px; +} diff --git a/src/views/modules/visual/plugin/power/components/house-dialog.vue b/src/views/modules/visual/plugin/power/components/house-dialog.vue new file mode 100644 index 000000000..9cf8ef066 --- /dev/null +++ b/src/views/modules/visual/plugin/power/components/house-dialog.vue @@ -0,0 +1,176 @@ + + + + + diff --git a/src/views/modules/visual/plugin/power/components/info-dialog.vue b/src/views/modules/visual/plugin/power/components/info-dialog.vue new file mode 100644 index 000000000..eff5c9410 --- /dev/null +++ b/src/views/modules/visual/plugin/power/components/info-dialog.vue @@ -0,0 +1,161 @@ + + + + + diff --git a/src/views/modules/visual/plugin/power/components/screen-org-map.vue b/src/views/modules/visual/plugin/power/components/screen-org-map.vue new file mode 100644 index 000000000..f7e9bb875 --- /dev/null +++ b/src/views/modules/visual/plugin/power/components/screen-org-map.vue @@ -0,0 +1,640 @@ + + + + + + + \ No newline at end of file diff --git a/src/views/modules/visual/plugin/power/components/screen-org-tree.vue b/src/views/modules/visual/plugin/power/components/screen-org-tree.vue new file mode 100644 index 000000000..77263287e --- /dev/null +++ b/src/views/modules/visual/plugin/power/components/screen-org-tree.vue @@ -0,0 +1,409 @@ + + + + + \ No newline at end of file diff --git a/src/views/modules/visual/plugin/power/components/screen-top-count.vue b/src/views/modules/visual/plugin/power/components/screen-top-count.vue new file mode 100644 index 000000000..f7c28b338 --- /dev/null +++ b/src/views/modules/visual/plugin/power/components/screen-top-count.vue @@ -0,0 +1,74 @@ + + + + + diff --git a/src/views/modules/visual/plugin/power/organization.vue b/src/views/modules/visual/plugin/power/organization.vue new file mode 100644 index 000000000..0fcc6130f --- /dev/null +++ b/src/views/modules/visual/plugin/power/organization.vue @@ -0,0 +1,589 @@ + + + + + + + diff --git a/src/views/modules/visual/warning/components/screen-table/index.vue b/src/views/modules/visual/warning/components/screen-table/index.vue index 11d0b7831..b0e0df0d6 100644 --- a/src/views/modules/visual/warning/components/screen-table/index.vue +++ b/src/views/modules/visual/warning/components/screen-table/index.vue @@ -23,33 +23,10 @@ :key="indexs" :style="tableContentStyle[indexs]" > -
- - {{ rIndex != 0 ? "、" : "" }} - {{ resi.residentName }} - + {{ item }} - - 更多> -
- - {{ rIndex != 0 ? "、" : "" }} - {{ - resi.residentName - }} - -
-
加载中 @@ -63,16 +40,27 @@
+ +
+ + diff --git a/src/views/modules/visual/warning/index.vue b/src/views/modules/visual/warning/index.vue index 269a0369d..6be5ddbcd 100644 --- a/src/views/modules/visual/warning/index.vue +++ b/src/views/modules/visual/warning/index.vue @@ -89,7 +89,8 @@ export default { { title: "所属网格" }, { title: "所属小区" }, { title: "楼号" }, - { title: "姓名" }, + { title: "预警人数" }, + { title: "操作" }, ], tableData: [ // [1,'商丘路社区第一网格','商丘路小区','2号楼','杨颖、王平、刘佳敏、丁辉、杨萍'], @@ -133,7 +134,14 @@ export default { item.gridName, item.neighborhoodName, item.buildingName, - item.userList || '暂无', + item.count, + { + type: "btn", + name: "查看人员", + buildingId: item.buildingId, + configId: item.configId, + gridName: item.gridName, + }, ]); }); this.tableData = tableData; diff --git a/src/views/modules/warning/components/screen-table/index.vue b/src/views/modules/warning/components/screen-table/index.vue index 9bb544539..833245f6c 100644 --- a/src/views/modules/warning/components/screen-table/index.vue +++ b/src/views/modules/warning/components/screen-table/index.vue @@ -24,38 +24,10 @@ :key="indexs" :style="tableContentStyle[indexs]" > -
- - {{ rIndex != 0 ? "、" : "" }} - {{ - resi.residentName - }} - + {{ item }} - - 更多> -
- - {{ rIndex != 0 ? "、" : "" }} - {{ - resi.residentName - }} - -
-
加载中 @@ -66,11 +38,12 @@
-
@@ -78,13 +51,13 @@ + + diff --git a/src/views/modules/warning/index.vue b/src/views/modules/warning/index.vue index 00121565a..aa668dc81 100644 --- a/src/views/modules/warning/index.vue +++ b/src/views/modules/warning/index.vue @@ -98,7 +98,8 @@ export default { { title: "所属网格" }, { title: "所属小区" }, { title: "楼号" }, - { title: "姓名" }, + { title: "预警人数" }, + { title: "操作" }, ], tableData: [ // [1,'商丘路社区第一网格','商丘路小区','2号楼','杨颖、王平、刘佳敏、丁辉、杨萍'], @@ -142,7 +143,14 @@ export default { item.gridName, item.neighborhoodName, item.buildingName, - item.userList || "暂无", + item.count, + { + type: "btn", + name: "查看人员", + buildingId: item.buildingId, + configId: item.configId, + gridName: item.gridName, + }, ]); }); this.tableData = tableData; diff --git a/src/views/modules/workPc/guidance/DetailForm.vue b/src/views/modules/workPc/guidance/DetailForm.vue index 4f5f7f3c5..5b3528ddb 100644 --- a/src/views/modules/workPc/guidance/DetailForm.vue +++ b/src/views/modules/workPc/guidance/DetailForm.vue @@ -133,7 +133,7 @@ import { Loading } from 'element-ui' // 引入Loading服务 import { requestPost } from '@/js/dai/request' -import Tinymce from '@c/tinymce/index.vue' +import Tinymce from '@c/tinymce2/index.vue' // import tinymce from 'tinymce/tinymce' // import Editor from '@tinymce/tinymce-vue' // import 'tinymce/themes/silver' diff --git a/src/views/modules/workPc/guidance/categoryList.vue b/src/views/modules/workPc/guidance/categoryList.vue index d2f8db1e9..775ecd426 100644 --- a/src/views/modules/workPc/guidance/categoryList.vue +++ b/src/views/modules/workPc/guidance/categoryList.vue @@ -123,6 +123,7 @@ @@ -570,14 +590,13 @@ export default { } } .avatar-uploader { - ::v-deep - .el-upload { + ::v-deep .el-upload { cursor: pointer; position: relative; overflow: hidden; } .el-upload:hover { - border-color: #409EFF; + border-color: #409eff; } .avatar { width: 70px; @@ -595,8 +614,6 @@ export default { text-align: center; } } - - .resi-btns { margin-top: 20px; diff --git a/src/views/pages/caiji.vue b/src/views/pages/caiji.vue index 170cb01d8..496ab8392 100644 --- a/src/views/pages/caiji.vue +++ b/src/views/pages/caiji.vue @@ -25,7 +25,7 @@
- {{selBuild.label}} @@ -142,6 +142,18 @@ type="tel" v-model="item.mobile">
+ +
+ +
- 居民信息填报 + +
居民信息填报
-
+
+
提交成功
+
请截图保存,方便核验人员查看
+
+
+
+
所属社区:
+
{{formData.shequName}}
+
+
+
所属房屋:
+
{{formData.address}}
+ +
+
+
房主姓名:
+
{{formData.houseHolderName}}
+
+
+
+
成员{{index+1}}:
+
{{item.name}}
+
+
+
身份证号:
+
{{item.idNum}}
+
+
+
手机号:
+
{{item.mobile}}
+
+ +
+ +
+ +
diff --git a/src/views/pages/login.vue b/src/views/pages/login.vue index dc3e71118..6db09b136 100644 --- a/src/views/pages/login.vue +++ b/src/views/pages/login.vue @@ -1,55 +1,58 @@