Commit 5aef094b3054a27d3b1bc791cb55165faedb308d

Authored by monkeyhouyi
1 parent 2bbff3d8

图标,核查处置

src/assets/images/meun/专项行动.png 0 → 100644

1.6 KB

src/assets/images/meun/基础信息库.png 0 → 100644

1.29 KB

src/assets/images/meun/我的消息.png 0 → 100644

954 Bytes

src/assets/images/meun/数字大屏.png 0 → 100644

1.02 KB

src/assets/images/meun/核查处置.png 0 → 100644

1.25 KB

src/assets/images/meun/清单管理.png 0 → 100644

939 Bytes

src/assets/images/meun/网信执法.png 0 → 100644

1.44 KB

src/assets/images/meun/首页.png 0 → 100644

1.37 KB

src/components/InfoForm/index.vue
... ... @@ -335,7 +335,7 @@ export default {
335 335 },
336 336 // 无限下拉
337 337 nextCompanyList() {
338   - if (total_company == this.listQuery_company.length) return;
  338 + if (this.total_company == this.listQuery_company.length) return;
339 339 this.listQuery_company.pageIndex++;
340 340 this.initCompanyList();
341 341 },
... ... @@ -479,4 +479,3 @@ export default {
479 479 }
480 480 }
481 481 </style>
482   -@/api/baseData/area@/api/baseData/company
... ...
src/components/SelsctLoad/index.vue 0 → 100644
  1 +<template>
  2 + <el-select
  3 + :value="value"
  4 + :disabled="disabled"
  5 + filterable
  6 + remote
  7 + clearable
  8 + reserve-keyword
  9 + placeholder="请输入关平台名称"
  10 + :remote-method="search"
  11 + v-loadMore="nextList"
  12 + :loading="loading"
  13 + @change="onChange"
  14 + @clear="clearHandle"
  15 + @focus="search"
  16 + >
  17 + <el-option
  18 + v-for="item in options"
  19 + :key="item.value"
  20 + :label="item.label"
  21 + :value="item.value"
  22 + >
  23 + </el-option>
  24 + </el-select>
  25 +</template>
  26 +
  27 +<script>
  28 +import { getInfoList } from "@/api/baseData/info";
  29 +export default {
  30 + name: "SelsctLoad",
  31 + props: ['value', 'disabled'],
  32 + computed: {
  33 + noMore() {
  34 + return this.total == this.options.length;
  35 + },
  36 + },
  37 + data() {
  38 + return {
  39 + loading: false,
  40 + searchList: {
  41 + pageIndex: 1,
  42 + pageSize: 20,
  43 + sort: "desc",
  44 + sidx: "",
  45 + },
  46 + total: 0,
  47 + options: [],
  48 + };
  49 + },
  50 + mounted() {},
  51 + methods: {
  52 + selectFocus() {
  53 + this.loadList();
  54 + },
  55 + nextList() {
  56 + if (this.loading || this.noMore) return;
  57 + this.searchList.pageIndex++;
  58 + getInfoList({ ...this.searchList, keyword: query }).then(({ data }) => {
  59 + let list = [];
  60 + data.list.length &&
  61 + data.list.forEach((item) => {
  62 + list.push({
  63 + label: item.SysytemInfo.SystemName,
  64 + value: item.SysytemInfo.Id,
  65 + });
  66 + });
  67 + this.options = [...this.options, ...list];
  68 + });
  69 + },
  70 + search(query) {
  71 + this.options = [];
  72 + this.searchList = {
  73 + pageIndex: 1,
  74 + pageSize: 10,
  75 + sort: "desc",
  76 + sidx: "",
  77 + };
  78 + this.loadList(query);
  79 + },
  80 + loadList(query) {
  81 + this.loading = true;
  82 + getInfoList({ ...this.searchList, keyword: query }).then(({ data }) => {
  83 + let list = [];
  84 + data.list.length &&
  85 + data.list.forEach((item) => {
  86 + list.push({
  87 + label: item.SysytemInfo.SystemName,
  88 + value: item.SysytemInfo.Id,
  89 + });
  90 + });
  91 + this.options = [...this.options, ...list];
  92 + this.total = data.totalCount;
  93 + this.loading = false;
  94 + });
  95 + },
  96 + // 清除选中
  97 + clearHandle() {
  98 + this.value = "";
  99 + this.$emit("input", "");
  100 + this.$emit("change", "");
  101 + },
  102 +
  103 + onChange(v) {
  104 + this.value = v;
  105 + this.$emit("input", this.options.map((item) => item.value == v).label);
  106 + this.$emit("change", v);
  107 + },
  108 + },
  109 + watch: {
  110 + value(val) {
  111 + this.search();
  112 + },
  113 + },
  114 +};
  115 +</script>
  116 +
  117 +<style lang="scss" scoped>
  118 +.NCC-selectTree {
  119 + width: 100%;
  120 +}
  121 +.el-scrollbar .el-scrollbar__view .el-select-dropdown__item {
  122 + height: auto;
  123 + max-height: 274px;
  124 + padding: 0;
  125 + overflow: hidden;
  126 + overflow-y: auto;
  127 +}
  128 +.el-select-dropdown__item.selected {
  129 + font-weight: normal;
  130 +}
  131 +ul li::-webkit-scrollbar-track {
  132 + border-radius: 0;
  133 + background-color: #fff;
  134 +}
  135 +ul li >>> .el-tree .el-tree-node__content {
  136 + height: auto;
  137 + padding: 0 20px;
  138 +}
  139 +.el-tree-node__label {
  140 + font-weight: normal;
  141 +}
  142 +.el-tree.single >>> .is-current .el-tree-node__label {
  143 + color: #409eff;
  144 + font-weight: 700;
  145 +}
  146 +.el-tree.single >>> .is-current .el-tree-node__content .custom-tree-node {
  147 + color: #409eff;
  148 + font-weight: 700;
  149 +}
  150 +.el-tree.single >>> .is-current .el-tree-node__children .custom-tree-node {
  151 + color: #606266;
  152 + font-weight: normal;
  153 +}
  154 +.el-tree.single >>> .is-current .el-tree-node__children .el-tree-node__label {
  155 + color: #606266;
  156 + font-weight: normal;
  157 +}
  158 +.empty-text {
  159 + margin: 0;
  160 + text-align: center;
  161 + color: #999;
  162 + font-size: 14px;
  163 + background: #fff;
  164 + cursor: auto;
  165 + padding: 0;
  166 + line-height: 24px;
  167 +}
  168 +</style>
... ...
src/components/index.js
... ... @@ -11,6 +11,7 @@ import DepSelect from &#39;@/components/Generator/components/DepSelect&#39;
11 11 import Screenfull from '@/components/Screenfull'
12 12 import NCCTreeSelect from '@/components/NCC-treeSelect'
13 13 import NCCAddress from '@/components/Generator/components/Address'
  14 +import SelsctLoad from '@/components/SelsctLoad'
14 15  
15 16 export default {
16 17 install(Vue, options) {
... ... @@ -27,6 +28,7 @@ export default {
27 28 Vue.component('NCCTreeSelect', NCCTreeSelect)
28 29 Vue.component('Screenfull', Screenfull)
29 30 Vue.component('NCCAddress', NCCAddress)
  31 + Vue.component('SelsctLoad', SelsctLoad)
30 32  
31 33 }
32 34 }
33 35 \ No newline at end of file
... ...
src/views/DisposalSuggestions/index.vue
... ... @@ -18,11 +18,11 @@
18 18 </el-select>
19 19 </el-form-item>
20 20 </el-col>
21   - <el-col :span="4">
  21 + <!-- <el-col :span="4">
22 22 <el-form-item label="">
23 23 <depSelect v-model="query.department" placeholder="请选择部门" />
24 24 </el-form-item>
25   - </el-col>
  25 + </el-col> -->
26 26 <el-col :span="4">
27 27 <el-form-item label="">
28 28 <el-select v-model="query.questionType" placeholder="请选择问题类型" >
... ...
src/views/baseInspectionReport/Form.vue
... ... @@ -30,13 +30,14 @@
30 30 </el-col>
31 31 <el-col :span="24">
32 32 <el-form-item label="平台名称" prop="platformName">
33   - <el-input
  33 + <SelsctLoad v-model="dataForm.platformName"/>
  34 + <!-- <el-input
34 35 v-model="dataForm.platformName"
35 36 placeholder="请输入"
36 37 clearable
37 38 :style="{ width: '100%' }"
38 39 >
39   - </el-input>
  40 + </el-input> -->
40 41 </el-form-item>
41 42 </el-col>
42 43 <el-col :span="24">
... ...
src/views/baseInspectionReport/index.vue
... ... @@ -18,11 +18,11 @@
18 18 </el-select>
19 19 </el-form-item>
20 20 </el-col>
21   - <el-col :span="4">
  21 + <!-- <el-col :span="4">
22 22 <el-form-item label="">
23 23 <depSelect v-model="query.department" placeholder="请选择部门" />
24 24 </el-form-item>
25   - </el-col>
  25 + </el-col> -->
26 26 <el-col :span="4">
27 27 <el-form-item label="">
28 28 <el-select v-model="query.questionType" placeholder="请选择问题类型" >
... ...
src/views/baseSystemInfo/InspectForm.vue
... ... @@ -19,14 +19,15 @@
19 19 >
20 20 <el-col :span="24">
21 21 <el-form-item label="平台名称" prop="platformName">
22   - <el-input
  22 + <SelsctLoad v-model="dataForm.platformName"/>
  23 + <!-- <el-input
23 24 v-model="dataForm.platformName"
24 25 placeholder="请输入"
25 26 clearable
26 27 :style="{ width: '100%' }"
27 28 :disabled="true"
28 29 >
29   - </el-input>
  30 + </el-input> -->
30 31 </el-form-item>
31 32 </el-col>
32 33 <el-col :span="24">
... ...
src/views/homePage/components/Menu.vue
... ... @@ -7,7 +7,7 @@
7 7 router
8 8 >
9 9 <el-menu-item index="/homePage">
10   - <i class="el-icon-menu"></i>
  10 + <i><img src="@/assets/images/meun/首页.png" alt="" /></i>
11 11 <span>首页</span>
12 12 <!-- <span slot="title">首页</span> -->
13 13 </el-menu-item>
... ... @@ -15,7 +15,9 @@
15 15 <template v-if="v.children && v.children.length">
16 16 <el-submenu :index="v.path">
17 17 <template slot="title">
18   - <i class="el-icon-location"></i>
  18 + <i>
  19 + <img :src="require(`@/assets/images/meun/${v.fullName}.png`)" alt="photo.text" />
  20 + </i>
19 21 <span slot="title">{{ v.fullName }}</span>
20 22 </template>
21 23 <el-menu-item-group>
... ... @@ -50,7 +52,9 @@ export default {
50 52 },
51 53 mounted() {
52 54 // 显示"内部系统PC权限"下的页面
53   - let meun = this.$store.state.user.menuList.find(v => v.id == '582459649622541573').children;
  55 + let meun = this.$store.state.user.menuList.find(
  56 + (v) => v.id == "582459649622541573"
  57 + ).children;
54 58 this.navList = meun;
55 59 },
56 60 computed: {
... ... @@ -59,6 +63,8 @@ export default {
59 63 return this.$route.path;
60 64 },
61 65 },
  66 + methods: {
  67 + },
62 68 };
63 69 </script>
64 70 <style scoped lang="scss">
... ... @@ -111,7 +117,12 @@ export default {
111 117 color: #fff;
112 118 font-size: 30px;
113 119 width: 30px;
  120 + height: 30px;
114 121 margin: 0;
  122 + img {
  123 + width: 100%;
  124 + height: 100%;
  125 + }
115 126 }
116 127 .el-submenu__icon-arrow.el-icon-arrow-right {
117 128 display: none;
... ...