-
+
{{ mainTitle }}
{{ subTitle }}
-
+
后台管理
美丽街区
@@ -27,7 +27,7 @@
-
+
{{ title }}
@@ -50,6 +50,16 @@ export default {
logCentre,
},
props: {
+ //显示左边四个中心
+ showLeft: {
+ type: Boolean,
+ default: true,
+ },
+ //显示右边
+ showRight: {
+ type: Boolean,
+ default: true,
+ },
mainTitle: {
type: String,
default: "娄东街道人口数据管理系统",
@@ -212,9 +222,9 @@ export default {
::v-deep .el-dialog__body {
background: #009bf4;
border-radius: 12px;
- padding: 2px;
+ padding: 1px;
}
::v-deep .el-dialog:not(.is-fullscreen) {
- margin-top: 23vh !important;
+ margin-top: 10vh !important;
}
diff --git a/src/components/NavigationBar/peopleCentre.vue b/src/components/NavigationBar/peopleCentre.vue
index 4c199ef..1fa796d 100644
--- a/src/components/NavigationBar/peopleCentre.vue
+++ b/src/components/NavigationBar/peopleCentre.vue
@@ -20,19 +20,292 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 户籍
+ 流动
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+ 导出
+
+
+
+
+
+
+
+
+
+
{{ index + 1 }}
+
{{ item.name }}
+
{{ item.credentialNo }}
+
{{ item.phone }}
+
+ {{
+ item.shequ_name +
+ item.xiaoqu_name +
+ item.deptname +
+ item.buildingname +
+ item.housename
+ }}
+
+
+
+ {{ item.color }}
+
+
+
+
+
@@ -40,6 +313,145 @@ export default {
.search-container {
margin-top: 10px;
flex: 1;
- border: 1px solid red;
+ ::v-deep .option-rows {
+ display: flex;
+ align-items: center;
+ border-bottom: 1px solid #003869;
+ padding: 15px 0;
+ .el-select {
+ margin-right: 10px;
+ width: 140px;
+ }
+ .el-radio-group {
+ margin: 0 30px 0 10px;
+ }
+ .el-checkbox__label,
+ .el-radio__label {
+ font-size: 16px;
+ color: #aabace;
+ font-weight: 500;
+ font-family: "Alibaba-PuHuiTi-Regular.otf";
+ }
+ }
+ .three-option {
+ margin-top: 15px;
+
+ .option-list {
+ position: relative;
+ top: 2px;
+ left: 0;
+ display: flex;
+ align-items: center;
+ & > div {
+ cursor: pointer;
+ width: 100px;
+ height: 40px;
+ text-align: center;
+ line-height: 40px;
+ margin-right: 8px;
+ background: #0059a2;
+ border-radius: 4px 4px 0px 0px;
+ font-size: 16px;
+ color: #aee0ff;
+ font-weight: 400;
+ font-family: "Alibaba-PuHuiTi-Regular.otf";
+ }
+ }
+ .option-input {
+ height: 80px;
+ background: #042854;
+ border: 1px solid #006cc5;
+ display: flex;
+ align-items: center;
+ padding: 0 20px;
+ .input-general-width {
+ margin-right: 10px;
+ }
+ .input-big-width {
+ width: 300px;
+ margin-right: 10px;
+ }
+ }
+ }
+
+ .result-list {
+ margin-top: 15px;
+ .list-header {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ font-size: 16px;
+ .header-left-total {
+ color: #ffa11b;
+ font-weight: 500;
+ font-family: "Alibaba-PuHuiTi-Medium.otf";
+ }
+ .header-rigth-total {
+ color: #aacfff;
+ font-weight: 400;
+ font-family: "Alibaba-PuHuiTi-Regular.otf";
+ }
+ }
+ .list-table {
+ margin-top: 10px;
+ .table-header {
+ padding: 5px 0;
+ font-size: 16px;
+ color: #eff8ff;
+ background: linear-gradient(90deg, #007b9f, #0066d8);
+ font-family: "Alibaba-PuHuiTi-Regular.otf";
+ }
+ .table-body {
+ height: 350px;
+
+ .body-rows {
+ padding: 7px 0;
+ font-size: 14px;
+ color: #ffffff;
+ font-family: "Alibaba-PuHuiTi-Medium.otf";
+ }
+ & > .body-rows:nth-child(even) {
+ background: #033159;
+ }
+ }
+ .table-header,
+ .body-rows {
+ display: flex;
+ align-items: center;
+ & > div {
+ text-align: center;
+ }
+ .table-cell0 {
+ width: 50px;
+ }
+ .table-cell1 {
+ flex: 1;
+ }
+ .table-cell2 {
+ flex: 2;
+ }
+ .cell-flex {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
+ }
+ }
+ }
+ .el-button {
+ font-size: 14px;
+ color: #cdfbff;
+ font-weight: 400;
+ background: url("~@/assets/images/ui/btn_bg.png");
+ background-size: 100% 100%;
+ padding: 12px 20px 14px 20px;
+ font-family: "Alibaba-PuHuiTi-Regular.otf";
+ }
+}
+.activeItme {
+ color: #ffffff !important;
+ border: 1px solid #006cc5 !important;
+ border-bottom: 0 !important;
+ background: #042854 !important;
}
diff --git a/src/store/getters.js b/src/store/getters.js
index 8adb1b6..7ab2a51 100644
--- a/src/store/getters.js
+++ b/src/store/getters.js
@@ -1,19 +1,21 @@
const getters = {
- sidebar: state => state.app.sidebar,
- size: state => state.app.size,
- device: state => state.app.device,
- dict: state => state.dict.dict,
- visitedViews: state => state.tagsView.visitedViews,
- cachedViews: state => state.tagsView.cachedViews,
- token: state => state.user.token,
- avatar: state => state.user.avatar,
- name: state => state.user.name,
- introduction: state => state.user.introduction,
- roles: state => state.user.roles,
- permissions: state => state.user.permissions,
- permission_routes: state => state.permission.routes,
- topbarRouters:state => state.permission.topbarRouters,
- defaultRoutes:state => state.permission.defaultRoutes,
- sidebarRouters:state => state.permission.sidebarRouters,
-}
-export default getters
+ sidebar: (state) => state.app.sidebar,
+ size: (state) => state.app.size,
+ device: (state) => state.app.device,
+ dict: (state) => state.dict.dict,
+ visitedViews: (state) => state.tagsView.visitedViews,
+ cachedViews: (state) => state.tagsView.cachedViews,
+ token: (state) => state.user.token,
+ avatar: (state) => state.user.avatar,
+ name: (state) => state.user.name,
+ introduction: (state) => state.user.introduction,
+ roles: (state) => state.user.roles,
+ permissions: (state) => state.user.permissions,
+ permission_routes: (state) => state.permission.routes,
+ topbarRouters: (state) => state.permission.topbarRouters,
+ defaultRoutes: (state) => state.permission.defaultRoutes,
+ sidebarRouters: (state) => state.permission.sidebarRouters,
+ leftColor: (state) => state.taicang.leftColor,
+ rightTopColor: (state) => state.taicang.rightTopColor,
+};
+export default getters;
diff --git a/src/store/index.js b/src/store/index.js
index 97aaef8..59c4ffe 100644
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -1,14 +1,15 @@
-import Vue from 'vue'
-import Vuex from 'vuex'
-import app from './modules/app'
-import dict from './modules/dict'
-import user from './modules/user'
-import tagsView from './modules/tagsView'
-import permission from './modules/permission'
-import settings from './modules/settings'
-import getters from './getters'
+import Vue from "vue";
+import Vuex from "vuex";
+import app from "./modules/app";
+import dict from "./modules/dict";
+import user from "./modules/user";
+import tagsView from "./modules/tagsView";
+import permission from "./modules/permission";
+import settings from "./modules/settings";
+import taicang from "./modules/taicang";
+import getters from "./getters";
-Vue.use(Vuex)
+Vue.use(Vuex);
const store = new Vuex.Store({
modules: {
@@ -17,9 +18,10 @@ const store = new Vuex.Store({
user,
tagsView,
permission,
- settings
+ settings,
+ taicang,
},
- getters
-})
+ getters,
+});
-export default store
+export default store;
diff --git a/src/store/modules/taicang.js b/src/store/modules/taicang.js
new file mode 100644
index 0000000..bff4533
--- /dev/null
+++ b/src/store/modules/taicang.js
@@ -0,0 +1,32 @@
+const state = {};
+const mutations = {};
+const actions = {};
+
+const taicang = {
+ state: {
+ leftColor: {
+ HZ: "#008c5e",
+ HL: "#008c5e",
+ HO: "#008c5e",
+ HF: "#008c5e",
+ NZ: "#7f8c95",
+ NL: "#7f8c95",
+ NO: "#7f8c95",
+ NF: "#7f8c95",
+ },
+ rightTopColor: {
+ HZ: "#008c5e",
+ HL: "red",
+ HO: "#7f8c95",
+ HF: "#008c5e",
+ NZ: "#008c5e",
+ NL: "red",
+ NO: "#7f8c95",
+ NF: "#008c5e",
+ },
+ },
+ mutations: {},
+ actions: {},
+};
+
+export default taicang;
diff --git a/src/views/login.vue b/src/views/login.vue
index e429914..37bb688 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -1,6 +1,6 @@
-
+