diff --git a/src/assets/scss/modules/management/form.scss b/src/assets/scss/modules/management/form.scss new file mode 100644 index 000000000..18d1ed075 --- /dev/null +++ b/src/assets/scss/modules/management/form.scss @@ -0,0 +1,63 @@ +/deep/ .el-input.is-disabled .el-input__inner, +/deep/ .el-textarea.is-disabled textarea.el-textarea__inner { + // border:none;background-color: transparent; +} +.div_btn { + text-align: right; +} +.div_map { + width: 100%; + height: 320px; + margin-left: 0px; +} +/deep/.el-dialog__body { + padding: 30px 80px; +} +/deep/.el-dialog__footer { + padding: 10px 80px 20px; +} +.form-item::v-deep .el-form-item__label { + color: #fff; +} +.form-item { + .el-radio { + color: #fff; + } + + .el-checkbox { + color: #fff; + } +} +.verifyRed::before { + content: '*'; + color: #f56c6c; + margin-right: 4px; +} +.form_label_box { + width: 150px; + display: inline-block; + text-align: right; + padding-right: 12px; +} + +/deep/.m-record { + h3 { + &::before { + display: inline-block; + width: 4px; + height: 12px; + background: #0056D6; + content: ''; + /** + 这个指为正的话 小方块就往上, 为负的话,小方块就往下 + */ + vertical-align: 1px; + margin-right: 5px; + } + } +} +/deep/.recordBox .m-table-item{ + margin-top:0px; + max-height:200px; + overflow: auto; +} \ No newline at end of file diff --git a/src/assets/scss/people-info2.scss b/src/assets/scss/people-info2.scss new file mode 100644 index 000000000..7a28a1e3c --- /dev/null +++ b/src/assets/scss/people-info2.scss @@ -0,0 +1,132 @@ +@import "c/config"; +@import "c/function"; + + + + .wrap2 { + box-sizing: border-box; + padding: 20px; + height: 90vh; + width: 1180px; + overflow-y: auto; + overflow-x: hidden; + position: relative; + } + + .title { + padding: 10px; + font-size: 22px; + font-family: PingFang SC; + font-weight: 800; + color: #333; + display: flex; + align-items: center; + + img { + display: block; + margin-right: 5px; + } + span { + display: block; + } + } + + .div_tuomin{ + position: absolute; + top:25px; + right:40px; + } + + .btn-close { + position: absolute; + z-index: 2; + top: -30px; + right: -30px; + cursor: pointer; + } + + .list { + display: flex; + flex-wrap: wrap; + padding: 10px 30px; + + .item { + position: relative; + box-sizing: border-box; + padding: 0 15px; + width: 33%; + color: #fff; + font-size: 18px; + font-family: PingFang SC; + font-weight: 400; + color: #333; + line-height: 24px; + margin: 15px 0; + + &.z-long { + width: 100%; + } + + &::before { + position: absolute; + left: 0; + top: 9px; + content: ""; + display: block; + width: 7px; + height: 7px; + background: #ddd; + border-radius: 3px; + } + } + } + + .line { + margin: 20px auto; + width: 900px; + height: 1px; + border: 1px dashed #ddd; + } + + .tabs { + margin-top: 30px; + display: flex; + align-items: center; + 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: 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: 17px; + font-family: PingFang SC; + font-weight: 400; + color: #333; + line-height: 36px; + cursor: pointer; + transition: all ease 0.1s; + &.z-on { + background: linear-gradient(90deg, #1a5afd, #009cff); + box-shadow: none; + color: #ffffff; + border: 1px solid #1a5afd; + } + } + } diff --git a/src/views/modules/census/Option.js b/src/views/modules/census/Option.js deleted file mode 100644 index d8c87dd75..000000000 --- a/src/views/modules/census/Option.js +++ /dev/null @@ -1,16 +0,0 @@ -import * as echarts from "echarts"; -export function pieOption() { - return { - xAxis: { - type: 'category', - data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] - }, - yAxis: { - type: 'value' - }, - series: [{ - data: [120, 200, 150, 80, 70, 110, 130], - type: 'bar' - }] - }; -} diff --git a/src/views/modules/census/addFormEnterprise.vue b/src/views/modules/census/addFormEnterprise.vue new file mode 100644 index 000000000..14b4104f9 --- /dev/null +++ b/src/views/modules/census/addFormEnterprise.vue @@ -0,0 +1,513 @@ + + + + + diff --git a/src/views/modules/census/addFormHouse.vue b/src/views/modules/census/addFormHouse.vue new file mode 100644 index 000000000..43f8bc68c --- /dev/null +++ b/src/views/modules/census/addFormHouse.vue @@ -0,0 +1,541 @@ + + + + + diff --git a/src/views/modules/census/addFormResident.vue b/src/views/modules/census/addFormResident.vue new file mode 100644 index 000000000..d30c3a45f --- /dev/null +++ b/src/views/modules/census/addFormResident.vue @@ -0,0 +1,626 @@ + + + + + + diff --git a/src/views/modules/census/census-accountActiveList.vue b/src/views/modules/census/census-accountActiveList.vue index 89bd2d260..62d74b247 100644 --- a/src/views/modules/census/census-accountActiveList.vue +++ b/src/views/modules/census/census-accountActiveList.vue @@ -6,16 +6,15 @@
+ /> 导出
- + + :show-all-levels="false" + /> import screenEchartsFrame from './chart'; -import { pieOption } from './Option.js'; import { requestPost } from '@/js/dai/request'; import nextTick from 'dai-js/tools/nextTick'; import { mapGetters } from 'vuex'; @@ -185,6 +183,7 @@ export default { return time.getTime() > nowData; }; return { + optionsA: [], pieChart: '', pieOption: {}, pieInitState: false, @@ -202,6 +201,7 @@ export default { orgOptionProps: { multiple: false, value: 'agencyId', + emitPath: false, label: 'agencyName', children: 'subAgencyList', checkStrictly: true @@ -270,6 +270,12 @@ export default { }, methods: { handleSearch(val) { + let tmp = this.formData.orgId; + if (!(tmp && typeof tmp != 'undefined' && tmp != 0 && tmp != null)) { + this.formData.orgId = ''; + this.formData.level = ''; + } + this.getCountLevel(); this.getTableData(); this.getsubData(); @@ -341,7 +347,6 @@ export default { handleChangeAgency(val) { let obj = this.$refs['myCascader'].getCheckedNodes()[0].data; console.log(obj); - this.formData.orgId = obj.agencyId; this.formData.level = obj.level; }, getOrgTreeList() { @@ -451,14 +456,14 @@ export default { this.showNext(); }, deepTree(arr) { - if (Array.isArray(arr)) { - return arr.map(item => { - return { - ...item, - subAgencyList: item.subAgencyList.length > 0 && this.deepTree(item.subAgencyList) || null - } - }) - } + if (Array.isArray(arr)) { + return arr.map(item => { + return { + ...item, + subAgencyList: (item.subAgencyList.length > 0 && this.deepTree(item.subAgencyList)) || null + }; + }); + } }, pieInitOk() { this.pieInitState = true; @@ -493,7 +498,19 @@ export default { }, xAxis: { type: 'category', - data: chartData.name + data: chartData.name, + axisLabel: { + interval: 0, + interval: 0, //设置横坐标为斜 + rotate: 30, //文字倾斜角度 + formatter: function(value) { + if (value.length > 10) { + value = value.substring(0, 9) + '..'; + } + return value; + } + }, + triggerEvent: true }, yAxis: { type: 'value', diff --git a/src/views/modules/census/census-houseList.vue b/src/views/modules/census/census-houseList.vue index aa1c0d227..ac20e4650 100644 --- a/src/views/modules/census/census-houseList.vue +++ b/src/views/modules/census/census-houseList.vue @@ -4,11 +4,10 @@