--no commit message
Showing
19 changed files
with
103 additions
and
76 deletions
| ... | @@ -38,6 +38,7 @@ | ... | @@ -38,6 +38,7 @@ |
| 38 | "babel-plugin-dynamic-import-node": "2.3.3", | 38 | "babel-plugin-dynamic-import-node": "2.3.3", |
| 39 | "chalk": "2.4.2", | 39 | "chalk": "2.4.2", |
| 40 | "connect": "3.6.6", | 40 | "connect": "3.6.6", |
| 41 | "copy-webpack-plugin": "^6.0.0", | ||
| 41 | "element-ui": "^2.15.13", | 42 | "element-ui": "^2.15.13", |
| 42 | "html-webpack-plugin": "3.2.0", | 43 | "html-webpack-plugin": "3.2.0", |
| 43 | "runjs": "4.3.2", | 44 | "runjs": "4.3.2", | ... | ... |
| 1 | <!-- | ||
| 2 | * @Description: 引入配置文件 | ||
| 3 | * @Autor: renchao | ||
| 4 | * @LastEditTime: 2023-03-15 16:15:45 | ||
| 5 | --> | ||
| 1 | <!DOCTYPE html> | 6 | <!DOCTYPE html> |
| 2 | <html> | 7 | <html> |
| 3 | <head> | 8 | |
| 9 | <head> | ||
| 4 | <meta charset="utf-8"> | 10 | <meta charset="utf-8"> |
| 5 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | 11 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| 6 | <meta name="renderer" content="webkit"> | 12 | <meta name="renderer" content="webkit"> |
| 7 | <meta name="referrer" content="no-referrer" /> | 13 | <meta name="referrer" content="no-referrer" /> |
| 8 | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> | 14 | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> |
| 9 | <link rel="icon" href="<%= BASE_URL %>favicon.ico"> | 15 | <link rel="icon" href="<%= BASE_URL %>favicon.ico"> |
| 10 | <title><%= webpackConfig.name %></title> | 16 | <title> |
| 11 | </head> | 17 | <%= webpackConfig.name %> |
| 12 | <body> | 18 | </title> |
| 19 | </head> | ||
| 20 | |||
| 21 | <body> | ||
| 13 | <div id="app"></div> | 22 | <div id="app"></div> |
| 14 | <!-- built files will be auto injected --> | 23 | </body> |
| 15 | </body> | 24 | |
| 16 | </html> | 25 | </html> |
| 17 | <script> | 26 | <script> |
| 18 | window.baseUrl = location.origin || location.protocol +'//'+location.host | 27 | document.write("<s" + "cript type='text/javascript' src='./config.js?" + Math.random().toString(36).substr(2) + "'></scr" + "ipt>"); |
| 28 | window.baseUrl = location.origin || location.protocol + '//' + location.host | ||
| 19 | // window.authorization = 'bearer AT-14-h4UlUGjPvgmrIgnDO-3QgMP0m4YJGQTR'; | 29 | // window.authorization = 'bearer AT-14-h4UlUGjPvgmrIgnDO-3QgMP0m4YJGQTR'; |
| 20 | // window.authorization = 'bearer AT-223-c-Q86EHx75m7ig3EDf-SwMWl4U0AKn0b'; | 30 | // window.authorization = 'bearer AT-223-c-Q86EHx75m7ig3EDf-SwMWl4U0AKn0b'; |
| 21 | window.timeout=5000 | 31 | window.timeout = 5000 |
| 22 | window.authorization="bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6" | 32 | window.authorization = "bearer AT-4-MxSrO29Coe7VTazx8uuixtqqgO-hvCB6" |
| 23 | </script> | 33 | </script> |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -4,12 +4,9 @@ | ... | @@ -4,12 +4,9 @@ |
| 4 | * @LastEditTime: 2023-03-01 15:35:44 | 4 | * @LastEditTime: 2023-03-01 15:35:44 |
| 5 | */ | 5 | */ |
| 6 | export default { | 6 | export default { |
| 7 | // SERVERAPI: '/service-bdcsjsb-th', //浩浩 | 7 | TITLE: '汉中市数据上报系统', |
| 8 | // SERVERAPI: '/service-bdcsjsb-zz', | ||
| 9 | SERVERAPI: '/bdcsjsb', //赵千 | 8 | SERVERAPI: '/bdcsjsb', //赵千 |
| 10 | MANAGEMENTAPI: 'http://192.168.2.236/management' | 9 | MANAGEMENTAPI: 'http://192.168.2.236/management' |
| 11 | // SERVERAPI: '/bdcsjsb-service' | ||
| 12 | // SERVERAPI: '/bdcsjsb-jiao0' | ||
| 13 | } | 10 | } |
| 14 | // 汉中 | 11 | // 汉中 |
| 15 | // export default { | 12 | // export default { | ... | ... |
| 1 | <template> | 1 | <template> |
| 2 | <!-- 地图 --> | 2 | <!-- 地图 --> |
| 3 | <Echart | 3 | <Echart id="centreLeft2Chart" class="centreLeft2Chart" :key="key" ref="centreLeft2ChartRef" width="100%" height="100%" |
| 4 | id="centreLeft2Chart" | ||
| 5 | class="centreLeft2Chart" | ||
| 6 | :key="key" | ||
| 7 | ref="centreLeft2ChartRef" | ||
| 8 | width="100%" | ||
| 9 | height="100%" | ||
| 10 | :options="options"></Echart> | 4 | :options="options"></Echart> |
| 11 | </template> | 5 | </template> |
| 12 | 6 | ||
| 13 | <script> | 7 | <script> |
| 14 | import Echart from "@/common/echart"; | 8 | import Echart from "@/common/echart"; |
| 15 | import { mapGetters } from "vuex"; | 9 | import { mapGetters } from "vuex"; |
| 16 | export default { | 10 | export default { |
| 17 | data () { | 11 | data () { |
| 18 | return { | 12 | return { |
| 19 | options: {}, | 13 | options: {}, |
| ... | @@ -34,7 +28,6 @@ | ... | @@ -34,7 +28,6 @@ |
| 34 | }, | 28 | }, |
| 35 | }, | 29 | }, |
| 36 | mounted () { | 30 | mounted () { |
| 37 | |||
| 38 | window.addEventListener("resize", () => { | 31 | window.addEventListener("resize", () => { |
| 39 | this.key++; | 32 | this.key++; |
| 40 | }); | 33 | }); |
| ... | @@ -79,7 +72,7 @@ | ... | @@ -79,7 +72,7 @@ |
| 79 | visualMap: { | 72 | visualMap: { |
| 80 | min: 0, | 73 | min: 0, |
| 81 | max: _this.max, | 74 | max: _this.max, |
| 82 | bottom: "13%", | 75 | bottom: "12%", |
| 83 | left: 50, | 76 | left: 50, |
| 84 | splitNumber: 6, | 77 | splitNumber: 6, |
| 85 | seriesIndex: [0], | 78 | seriesIndex: [0], |
| ... | @@ -255,6 +248,6 @@ | ... | @@ -255,6 +248,6 @@ |
| 255 | }); | 248 | }); |
| 256 | }, | 249 | }, |
| 257 | }, | 250 | }, |
| 258 | }; | 251 | }; |
| 259 | </script> | 252 | </script> |
| 260 | <style></style> | 253 | <style></style> | ... | ... |
| 1 | /* | 1 | /* |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-03-10 16:43:16 | 4 | * @LastEditTime: 2023-03-15 11:17:28 |
| 5 | */ | 5 | */ |
| 6 | import router from "./router"; | 6 | import router from "./router"; |
| 7 | import store from "./store"; | 7 | import store from "./store"; | ... | ... |
| ... | @@ -222,7 +222,7 @@ export const asyncRoutes = [ | ... | @@ -222,7 +222,7 @@ export const asyncRoutes = [ |
| 222 | path: 'validationRule', | 222 | path: 'validationRule', |
| 223 | component: () => import('@/views/system/validationRule/index'), | 223 | component: () => import('@/views/system/validationRule/index'), |
| 224 | name: 'validationRule', | 224 | name: 'validationRule', |
| 225 | meta: { title: '上报效验规则配置' } | 225 | meta: { title: '上报校验规则配置' } |
| 226 | }, | 226 | }, |
| 227 | { | 227 | { |
| 228 | path: 'timedTask', | 228 | path: 'timedTask', | ... | ... |
| 1 | /* | ||
| 2 | * @Description: | ||
| 3 | * @Autor: renchao | ||
| 4 | * @LastEditTime: 2023-03-15 11:08:56 | ||
| 5 | */ | ||
| 1 | module.exports = { | 6 | module.exports = { |
| 2 | title: '', | 7 | title: '数据上报系统', |
| 3 | /** | 8 | /** |
| 4 | * @type {boolean} true | false | 9 | * @type {boolean} true | false |
| 5 | * @description Whether show the settings right-panel | 10 | * @description Whether show the settings right-panel | ... | ... |
| 1 | /* | ||
| 2 | * @Description: | ||
| 3 | * @Autor: renchao | ||
| 4 | * @LastEditTime: 2023-03-15 14:37:05 | ||
| 5 | */ | ||
| 1 | // 获取浏览器便签标题 | 6 | // 获取浏览器便签标题 |
| 2 | import defaultSettings from '@/settings' | 7 | import defaultSettings from '@/settings' |
| 8 | import config from '@/api/config' | ||
| 3 | 9 | ||
| 4 | const title = defaultSettings.title || '厦门市房屋数据服务平台' | 10 | const title = config.TITLE |
| 5 | 11 | ||
| 6 | export default function getPageTitle(pageTitle) { | 12 | export default function getPageTitle (pageTitle) { |
| 7 | if (pageTitle) { | 13 | if (pageTitle) { |
| 8 | return `${pageTitle} - ${title}` | 14 | return `${pageTitle} - ${title}` |
| 9 | } | 15 | } | ... | ... |
| ... | @@ -11,9 +11,9 @@ | ... | @@ -11,9 +11,9 @@ |
| 11 | </template> | 11 | </template> |
| 12 | 12 | ||
| 13 | <script> | 13 | <script> |
| 14 | import maps from "@/components/Echart/Map"; | 14 | import maps from "@/components/Echart/Map"; |
| 15 | import brokenline from "@/components/Echart/Brokenline"; | 15 | import brokenline from "@/components/Echart/Brokenline"; |
| 16 | export default { | 16 | export default { |
| 17 | data () { | 17 | data () { |
| 18 | return {}; | 18 | return {}; |
| 19 | }, | 19 | }, |
| ... | @@ -21,12 +21,12 @@ | ... | @@ -21,12 +21,12 @@ |
| 21 | mounted () { }, | 21 | mounted () { }, |
| 22 | beforeDestroy () { }, | 22 | beforeDestroy () { }, |
| 23 | methods: {}, | 23 | methods: {}, |
| 24 | }; | 24 | }; |
| 25 | </script> | 25 | </script> |
| 26 | 26 | ||
| 27 | <style lang="scss" scoped> | 27 | <style lang="scss" scoped> |
| 28 | .centercard { | 28 | .centercard { |
| 29 | width: 44%; | 29 | width: 40%; |
| 30 | height: calc(100vh - 114px); | 30 | height: calc(100vh - 114px); |
| 31 | box-sizing: border-box; | 31 | box-sizing: border-box; |
| 32 | padding: 0 0.0521rem; | 32 | padding: 0 0.0521rem; |
| ... | @@ -75,10 +75,11 @@ | ... | @@ -75,10 +75,11 @@ |
| 75 | text-align: center; | 75 | text-align: center; |
| 76 | margin-bottom: 0.0521rem; | 76 | margin-bottom: 0.0521rem; |
| 77 | } | 77 | } |
| 78 | |||
| 78 | .brokenline { | 79 | .brokenline { |
| 79 | margin: auto; | 80 | margin: auto; |
| 80 | width: 100%; | 81 | width: 100%; |
| 81 | } | 82 | } |
| 82 | } | 83 | } |
| 83 | } | 84 | } |
| 84 | </style> | 85 | </style> | ... | ... |
| ... | @@ -55,9 +55,9 @@ | ... | @@ -55,9 +55,9 @@ |
| 55 | 55 | ||
| 56 | <script> | 56 | <script> |
| 57 | 57 | ||
| 58 | import columnar from "@/components/Echart/Columnar"; | 58 | import columnar from "@/components/Echart/Columnar"; |
| 59 | import work from "@/api/work"; | 59 | import work from "@/api/work"; |
| 60 | export default { | 60 | export default { |
| 61 | data () { | 61 | data () { |
| 62 | return { | 62 | return { |
| 63 | // 日均接入量 | 63 | // 日均接入量 |
| ... | @@ -113,12 +113,12 @@ | ... | @@ -113,12 +113,12 @@ |
| 113 | }); | 113 | }); |
| 114 | }, | 114 | }, |
| 115 | }, | 115 | }, |
| 116 | }; | 116 | }; |
| 117 | </script> | 117 | </script> |
| 118 | 118 | ||
| 119 | <style lang="scss" scoped> | 119 | <style lang="scss" scoped> |
| 120 | .leftcard { | 120 | .leftcard { |
| 121 | width: 32%; | 121 | width: 30%; |
| 122 | display: flex; | 122 | display: flex; |
| 123 | height: calc(100vh - 114px); | 123 | height: calc(100vh - 114px); |
| 124 | flex-direction: column; | 124 | flex-direction: column; |
| ... | @@ -131,6 +131,7 @@ | ... | @@ -131,6 +131,7 @@ |
| 131 | text-align: center; | 131 | text-align: center; |
| 132 | width: 100%; | 132 | width: 100%; |
| 133 | } | 133 | } |
| 134 | |||
| 134 | .carda { | 135 | .carda { |
| 135 | height: 22%; | 136 | height: 22%; |
| 136 | background: url("~@/image/sthj.png") no-repeat; | 137 | background: url("~@/image/sthj.png") no-repeat; |
| ... | @@ -169,20 +170,21 @@ | ... | @@ -169,20 +170,21 @@ |
| 169 | .qxjr { | 170 | .qxjr { |
| 170 | background: url("~@/image/jrl3.png"); | 171 | background: url("~@/image/jrl3.png"); |
| 171 | background-size: 100% 100%; | 172 | background-size: 100% 100%; |
| 173 | width: 29px; | ||
| 174 | height: 46px; | ||
| 172 | } | 175 | } |
| 173 | 176 | ||
| 174 | .sthj { | 177 | .sthj { |
| 175 | background: url("~@/image/jh.png"); | 178 | background: url("~@/image/jh.png"); |
| 176 | background-size: 100% 100%; | 179 | background-size: 100% 100%; |
| 180 | width: 29px; | ||
| 181 | height: 46px; | ||
| 177 | } | 182 | } |
| 178 | 183 | ||
| 179 | p { | 184 | p { |
| 180 | margin: 0 0.0156rem 0.0521rem 0.0156rem; | 185 | margin: 0 0.0156rem 0.0521rem 0.0156rem; |
| 181 | font-weight: 700; | 186 | font-weight: 700; |
| 182 | width: 0.195rem; | 187 | font-size: 30px; |
| 183 | height: 0.2475rem; | ||
| 184 | font-size: 0.2863rem; | ||
| 185 | font-size: 0.2867rem; | ||
| 186 | } | 188 | } |
| 187 | } | 189 | } |
| 188 | 190 | ||
| ... | @@ -201,6 +203,7 @@ | ... | @@ -201,6 +203,7 @@ |
| 201 | position: relative; | 203 | position: relative; |
| 202 | flex: 1; | 204 | flex: 1; |
| 203 | height: 100%; | 205 | height: 100%; |
| 206 | |||
| 204 | li { | 207 | li { |
| 205 | font-size: 0.1042rem; | 208 | font-size: 0.1042rem; |
| 206 | } | 209 | } |
| ... | @@ -209,16 +212,14 @@ | ... | @@ -209,16 +212,14 @@ |
| 209 | .cardcontent-left::before { | 212 | .cardcontent-left::before { |
| 210 | position: absolute; | 213 | position: absolute; |
| 211 | right: 0; | 214 | right: 0; |
| 212 | top: 0.3042rem; | 215 | top: 0.24rem; |
| 213 | content: ""; | 216 | content: ""; |
| 214 | width: 0.0052rem; | 217 | width: 0.0052rem; |
| 215 | height: 0.4688rem; | 218 | height: 0.4688rem; |
| 216 | background: linear-gradient( | 219 | background: linear-gradient(180deg, |
| 217 | 180deg, | ||
| 218 | #091b4c 0%, | 220 | #091b4c 0%, |
| 219 | #47b5e0 56%, | 221 | #47b5e0 56%, |
| 220 | #091b4c 100% | 222 | #091b4c 100%); |
| 221 | ); | ||
| 222 | } | 223 | } |
| 223 | 224 | ||
| 224 | .cardcontent-right { | 225 | .cardcontent-right { |
| ... | @@ -244,11 +245,11 @@ | ... | @@ -244,11 +245,11 @@ |
| 244 | } | 245 | } |
| 245 | 246 | ||
| 246 | span:nth-child(2) { | 247 | span:nth-child(2) { |
| 247 | font-size: 0.1142rem; | 248 | font-size: 20px; |
| 248 | font-weight: 900; | 249 | font-weight: 900; |
| 249 | } | 250 | } |
| 250 | } | 251 | } |
| 251 | } | 252 | } |
| 252 | } | 253 | } |
| 253 | } | 254 | } |
| 254 | </style> | 255 | </style> | ... | ... |
| ... | @@ -40,9 +40,13 @@ | ... | @@ -40,9 +40,13 @@ |
| 40 | mounted () { | 40 | mounted () { |
| 41 | this.getdjywltotal(); | 41 | this.getdjywltotal(); |
| 42 | window.addEventListener("resize", () => { | 42 | window.addEventListener("resize", () => { |
| 43 | this.cdata.seriesData = []; | ||
| 44 | this.getdjywltotal(); | ||
| 45 | window.addEventListener("resize", () => { | ||
| 43 | this.getdjywltotal(); | 46 | this.getdjywltotal(); |
| 44 | }); | 47 | }); |
| 45 | // scroll(tableref.value.$refs.bodyWrapper);//设置滚动 | 48 | // scroll(tableref.value.$refs.bodyWrapper);//设置滚动 |
| 49 | }) | ||
| 46 | }, | 50 | }, |
| 47 | methods: { | 51 | methods: { |
| 48 | // 获取登记业务量玫瑰图数据 | 52 | // 获取登记业务量玫瑰图数据 |
| ... | @@ -77,7 +81,7 @@ | ... | @@ -77,7 +81,7 @@ |
| 77 | } | 81 | } |
| 78 | 82 | ||
| 79 | .rightcard { | 83 | .rightcard { |
| 80 | width: 32%; | 84 | width: 30%; |
| 81 | display: flex; | 85 | display: flex; |
| 82 | height: calc(100vh - 114px); | 86 | height: calc(100vh - 114px); |
| 83 | flex-direction: column; | 87 | flex-direction: column; |
| ... | @@ -120,20 +124,24 @@ | ... | @@ -120,20 +124,24 @@ |
| 120 | height: 33%; | 124 | height: 33%; |
| 121 | background: url("~@/image/xjgyfwxx.png") no-repeat; | 125 | background: url("~@/image/xjgyfwxx.png") no-repeat; |
| 122 | background-size: 100% 100%; | 126 | background-size: 100% 100%; |
| 127 | |||
| 123 | /deep/.dv-scroll-board { | 128 | /deep/.dv-scroll-board { |
| 124 | .header { | 129 | .header { |
| 125 | height: 0.1875rem; | 130 | height: 0.1875rem; |
| 126 | align-items: center; | 131 | align-items: center; |
| 127 | } | 132 | } |
| 128 | } | 133 | } |
| 134 | |||
| 129 | .board { | 135 | .board { |
| 130 | width: 90%; | 136 | width: 90%; |
| 131 | margin: 0 auto; | 137 | margin: 0 auto; |
| 132 | height: 1.1031rem; | 138 | height: 1.1031rem; |
| 133 | margin-top: 0.0521rem; | 139 | margin-top: 0.0521rem; |
| 140 | |||
| 134 | /deep/.header { | 141 | /deep/.header { |
| 135 | font-size: 0.0738rem; | 142 | font-size: 0.0738rem; |
| 136 | } | 143 | } |
| 144 | |||
| 137 | /deep/.rows { | 145 | /deep/.rows { |
| 138 | .ceil { | 146 | .ceil { |
| 139 | font-size: 0.0738rem; | 147 | font-size: 0.0738rem; | ... | ... |
| 1 | /* | ||
| 2 | * @Description: | ||
| 3 | * @Autor: renchao | ||
| 4 | * @LastEditTime: 2023-03-15 14:08:59 | ||
| 5 | */ | ||
| 1 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
| 2 | class data extends filter { | 7 | class data extends filter { |
| 3 | constructor() { | 8 | constructor() { |
| ... | @@ -12,9 +17,9 @@ class data extends filter { | ... | @@ -12,9 +17,9 @@ class data extends filter { |
| 12 | render: (h, scope) => { | 17 | render: (h, scope) => { |
| 13 | return ( | 18 | return ( |
| 14 | <div> | 19 | <div> |
| 15 | <span class='adopt' v-show={scope.row.receiveState == 0}>未效验</span> | 20 | <span class='adopt' v-show={scope.row.receiveState == 0}>未校验</span> |
| 16 | <span class='adopt' v-show={scope.row.receiveState == 1}>效验成功</span> | 21 | <span class='adopt' v-show={scope.row.receiveState == 1}>校验成功</span> |
| 17 | <span class='warehousing' v-show={scope.row.receiveState == 2}>效验失败</span> | 22 | <span class='warehousing' v-show={scope.row.receiveState == 2}>校验失败</span> |
| 18 | </div> | 23 | </div> |
| 19 | ) | 24 | ) |
| 20 | } | 25 | } |
| ... | @@ -46,7 +51,7 @@ class data extends filter { | ... | @@ -46,7 +51,7 @@ class data extends filter { |
| 46 | { | 51 | { |
| 47 | prop: "bizMsgid", | 52 | prop: "bizMsgid", |
| 48 | label: "业务报文ID", | 53 | label: "业务报文ID", |
| 49 | width: 98, | 54 | minWidth: 100, |
| 50 | }, | 55 | }, |
| 51 | { | 56 | { |
| 52 | prop: "createdate", | 57 | prop: "createdate", |
| ... | @@ -56,12 +61,12 @@ class data extends filter { | ... | @@ -56,12 +61,12 @@ class data extends filter { |
| 56 | { | 61 | { |
| 57 | prop: "recflowid", | 62 | prop: "recflowid", |
| 58 | label: "业务流水号", | 63 | label: "业务流水号", |
| 59 | width: 100, | 64 | minWidth: 100, |
| 60 | }, | 65 | }, |
| 61 | { | 66 | { |
| 62 | prop: "estatenum", | 67 | prop: "estatenum", |
| 63 | label: "不动产单元号", | 68 | label: "不动产单元号", |
| 64 | width: 240, | 69 | minWidth: 160, |
| 65 | }, | 70 | }, |
| 66 | { | 71 | { |
| 67 | prop: "rectype", | 72 | prop: "rectype", | ... | ... |
| ... | @@ -156,8 +156,8 @@ | ... | @@ -156,8 +156,8 @@ |
| 156 | .login-logo { | 156 | .login-logo { |
| 157 | background: url(../../image/loginLogo.png) no-repeat; | 157 | background: url(../../image/loginLogo.png) no-repeat; |
| 158 | background-size: 100% 100%; | 158 | background-size: 100% 100%; |
| 159 | width: 28%; | 159 | width: 580px; |
| 160 | height: 52%; | 160 | height: 540px; |
| 161 | position: absolute; | 161 | position: absolute; |
| 162 | top: 25%; | 162 | top: 25%; |
| 163 | left: 19%; | 163 | left: 19%; |
| ... | @@ -171,7 +171,7 @@ | ... | @@ -171,7 +171,7 @@ |
| 171 | min-width: 360px; | 171 | min-width: 360px; |
| 172 | min-height: 380px; | 172 | min-height: 380px; |
| 173 | top: 30%; | 173 | top: 30%; |
| 174 | right: 20%; | 174 | right: 18%; |
| 175 | position: absolute; | 175 | position: absolute; |
| 176 | background-size: 100% 100%; | 176 | background-size: 100% 100%; |
| 177 | box-sizing: border-box; | 177 | box-sizing: border-box; | ... | ... |
| 1 | <template> | 1 | <template> |
| 2 | <!-- 编辑 --> | 2 | <!-- 编辑 --> |
| 3 | <dialogBox ref="validRule" width="60%" @submitForm="handleSubmit" :closed="true" @closeDialog="handleClose" | 3 | <dialogBox ref="validRule" width="60%" @submitForm="handleSubmit" :closed="true" @closeDialog="handleClose" |
| 4 | customClass="editValidRule" multiple title="上报效验规则设置"> | 4 | customClass="editValidRule" multiple title="上报校验规则设置"> |
| 5 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px"> | 5 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px"> |
| 6 | <el-row :gutter="20"> | 6 | <el-row :gutter="20"> |
| 7 | <el-col :span="12"> | 7 | <el-col :span="12"> |
| ... | @@ -84,10 +84,10 @@ export default { | ... | @@ -84,10 +84,10 @@ export default { |
| 84 | ) | 84 | ) |
| 85 | } | 85 | } |
| 86 | }, | 86 | }, |
| 87 | // 效验表达式 | 87 | // 校验表达式 |
| 88 | { | 88 | { |
| 89 | prop: 'EXPRESSION', | 89 | prop: 'EXPRESSION', |
| 90 | label: '效验表达式', | 90 | label: '校验表达式', |
| 91 | render: (h, scope) => { | 91 | render: (h, scope) => { |
| 92 | return ( | 92 | return ( |
| 93 | <el-select value={scope.row[scope.column.property]} clearable | 93 | <el-select value={scope.row[scope.column.property]} clearable |
| ... | @@ -204,7 +204,5 @@ export default { | ... | @@ -204,7 +204,5 @@ export default { |
| 204 | } | 204 | } |
| 205 | } | 205 | } |
| 206 | </script> | 206 | </script> |
| 207 | <style rel="stylesheet/less" lang="less" scoped> | 207 | <style rel="stylesheet/less" lang="less" scoped></style> |
| 208 | |||
| 209 | </style> | ||
| 210 | 208 | ... | ... |
| 1 | <template> | 1 | <template> |
| 2 | <dialogBox class="modifydialog" :isMain="true" width="40%" :title="title" @closeDialog="close" @submitForm="submitForm" | 2 | <dialogBox class="modifydialog" :isMain="true" width="40%" :title="title" @closeDialog="close" @submitForm="submitForm" |
| 3 | v-model="myValue"> | 3 | v-model="myValue"> |
| 4 | <div class="modifydialog-con"> | 4 | <div class="dialogCon"> |
| 5 | <el-form ref="form" :model="form" :rules="rules"> | 5 | <el-form ref="form" :model="form" :rules="rules"> |
| 6 | <el-row :gutter="24"> | 6 | <el-row :gutter="24"> |
| 7 | <el-col :span="12"> | 7 | <el-col :span="12"> | ... | ... |
| ... | @@ -13,10 +13,9 @@ | ... | @@ -13,10 +13,9 @@ |
| 13 | </el-form> | 13 | </el-form> |
| 14 | </div> | 14 | </div> |
| 15 | <div class="from-clues-content"> | 15 | <div class="from-clues-content"> |
| 16 | <lb-table :pagination="false" :column="tableData. | 16 | <lb-table :pagination="false" :column="tableData.columns" :calcHeight="200" :data="tablelistData" row-key="id" |
| 17 | columns" :calcHeight="200" | 17 | default-expand-all :tree-props="{ children: 'children', hasChildren: 'hasChildren' }"> |
| 18 | :data="tablelistData" row-key="id" default-expand-all | 18 | |
| 19 | :tree-props="{ children: 'children', hasChildren: 'hasChildren' }"> | ||
| 20 | </lb-table> | 19 | </lb-table> |
| 21 | </div> | 20 | </div> |
| 22 | <edit-dialog ref="dialogForm" v-model="isDialog" :product-id="productId" :resource-category-id="resourceCategoryId" | 21 | <edit-dialog ref="dialogForm" v-model="isDialog" :product-id="productId" :resource-category-id="resourceCategoryId" | ... | ... |
| ... | @@ -8,6 +8,8 @@ function resolve (dir) { | ... | @@ -8,6 +8,8 @@ function resolve (dir) { |
| 8 | const name = defaultSettings.title | 8 | const name = defaultSettings.title |
| 9 | const port = process.env.port || process.env.npm_config_port || 8888 // dev port | 9 | const port = process.env.port || process.env.npm_config_port || 8888 // dev port |
| 10 | 10 | ||
| 11 | const CopyWebpackPlugin = require('copy-webpack-plugin') | ||
| 12 | |||
| 11 | // All configuration item explanations can be find in https://cli.vuejs.org/config/ | 13 | // All configuration item explanations can be find in https://cli.vuejs.org/config/ |
| 12 | module.exports = { | 14 | module.exports = { |
| 13 | /** | 15 | /** |
| ... | @@ -68,6 +70,7 @@ module.exports = { | ... | @@ -68,6 +70,7 @@ module.exports = { |
| 68 | '@': resolve('src') | 70 | '@': resolve('src') |
| 69 | } | 71 | } |
| 70 | }, | 72 | }, |
| 73 | plugins: [new CopyWebpackPlugin({ patterns: [{ from: 'src/api/config.js', to: 'config.js'}] })], | ||
| 71 | devtool: '#eval-source-map' //测试 | 74 | devtool: '#eval-source-map' //测试 |
| 72 | }, | 75 | }, |
| 73 | // chainWebpack通过链式编程的形式,来修改默认的webpack配置 | 76 | // chainWebpack通过链式编程的形式,来修改默认的webpack配置 | ... | ... |
-
Please register or sign in to post a comment