4 files renamed
3 files modified
1 files added
| | |
| | | label: "name", |
| | | value: "id" |
| | | }, |
| | | cascaderItem: ["gridId"], |
| | | rules: [ |
| | | { |
| | | required: true, |
| | |
| | | }, |
| | | ], |
| | | }, |
| | | |
| | | { |
| | | label: "网格名称", |
| | | prop: "gridId", |
| | | searchSpan: 4, |
| | | search: true, |
| | | hide: true, |
| | | type: "tree", |
| | | dicUrl: "/api/blade-grid/grid/getGridTree", |
| | | defaultExpandedKeys: ["361102003"], |
| | | cell: true, |
| | | props: { |
| | | label: "name", |
| | | value: "id" |
| | | label: "gridName", |
| | | value: "id", |
| | | }, |
| | | dicUrl: |
| | | "/api/blade-grid/grid/getGridList?communityCode={{communityCode}}", |
| | | rules: [ |
| | | { |
| | | required: true, |
| | |
| | | }, |
| | | ], |
| | | }, |
| | | |
| | | { |
| | | label: "网格员", |
| | | prop: "gridmanName", |
| | |
| | | <div class="outS" @click="down5"> |
| | | <div class="down5"><span>走访日志</span></div> |
| | | </div> |
| | | <div class="outS" @click="down6"> |
| | | <div class="down6"><span>驾驶舱</span></div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | down5 () { |
| | | this.$router.push({ path: "/grid/gridWorkLog/index" }) |
| | | }, |
| | | down6 () { |
| | | window.open('http://srgdjczzxtpt.com:2181/databoard/dashboard') |
| | | }, |
| | | }, |
| | | mouted () { }, |
| | | } |
| | |
| | | // border: 1px solid #000; |
| | | .homeL-up { |
| | | width: 100%; |
| | | height: 70%; |
| | | height: 74%; |
| | | // border: 1px solid rgb(39, 164, 185); |
| | | display: flex; |
| | | align-items: center; |
| | |
| | | align-items: center; |
| | | |
| | | .outS { |
| | | width: 20%; |
| | | width: calc(100% / 6); |
| | | height: 94.6%; |
| | | display: flex; |
| | | justify-content: center; |
| | |
| | | .down2, |
| | | .down3, |
| | | .down4, |
| | | .down5 { |
| | | .down5, |
| | | .down6 { |
| | | width: 96%; |
| | | height: 100%; |
| | | background-repeat: no-repeat; |
| | |
| | | .down5 { |
| | | background-image: url("../../../public/img/tongji.png"); |
| | | } |
| | | |
| | | .down6 { |
| | | background-image: url("../../../public/img/jsc.png"); |
| | | } |
| | | } |
| | | } |
| | | </style> |
| | |
| | | chainWebpack: (config) => { |
| | | //忽略的打包文件 |
| | | config.externals({ |
| | | 'vue': 'Vue', |
| | | 'vue-router': 'VueRouter', |
| | | 'vuex': 'Vuex', |
| | | 'axios': 'axios', |
| | | 'element-ui': 'ELEMENT', |
| | | vue: "Vue", |
| | | "vue-router": "VueRouter", |
| | | vuex: "Vuex", |
| | | axios: "axios", |
| | | "element-ui": "ELEMENT", |
| | | }); |
| | | const entry = config.entry('app'); |
| | | entry.add('babel-polyfill').end(); |
| | | entry.add('classlist-polyfill').end(); |
| | | entry.add('@/mock').end(); |
| | | const entry = config.entry("app"); |
| | | entry.add("babel-polyfill").end(); |
| | | entry.add("classlist-polyfill").end(); |
| | | entry.add("@/mock").end(); |
| | | }, |
| | | css: { |
| | | extract: { ignoreOrder: true } |
| | | extract: { ignoreOrder: true }, |
| | | }, |
| | | //开发模式反向代理配置,生产模式请使用Nginx部署并配置反向代理 |
| | | devServer: { |
| | | port: 1888, |
| | | proxy: { |
| | | '/api': { |
| | | "/api": { |
| | | //本地服务接口地址 |
| | | target: 'http://localhost:9528', |
| | | target: "https://srgdjczzxtpt.com:2080/api", |
| | | // target: "http://z4042833u6.wicp.vip", |
| | | // target: 'http://192.168.0.102:9528', |
| | | //远程演示服务地址,可用于直接启动项目 |
| | | //target: 'https://saber.bladex.cn/api', |
| | | changeOrigin: true, |
| | | ws: true, |
| | | pathRewrite: { |
| | | '^/api': '/' |
| | | } |
| | | } |
| | | } |
| | | } |
| | | "^/api": "/", |
| | | }, |
| | | }, |
| | | }, |
| | | }, |
| | | }; |