From e81a81c460ec528a770a16497f4aa914ec06cc5c Mon Sep 17 00:00:00 2001 From: zhouzy062 Date: Wed, 13 Mar 2024 17:50:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-screen/config/dev.env.js | 4 +- sgzb-screen/config/index.js | 2 +- sgzb-ui/package.json | 1 + .../api/claimAndRefund/constructionSite.js | 11 +- sgzb-ui/src/api/store/label.js | 2 +- sgzb-ui/src/main.js | 3 + sgzb-ui/src/views/base/comeAndGo/people.vue | 2 +- .../constructionSite/constructionSite.vue | 107 ++++++++++++------ sgzb-ui/src/views/dashboard.vue | 2 +- sgzb-ui/src/views/login.vue | 4 +- .../src/views/store/label/labelBinding.vue | 39 +++++-- .../newBuy/newDevices/newDevicesAccept.vue | 16 ++- sgzb-ui/src/views/store/tools/devices.vue | 3 +- sgzb-ui/src/views/store/tools/toolsType.vue | 16 ++- sgzb-ui/vue.config.js | 18 ++- 15 files changed, 164 insertions(+), 66 deletions(-) diff --git a/sgzb-screen/config/dev.env.js b/sgzb-screen/config/dev.env.js index e2cab87f..59e567eb 100644 --- a/sgzb-screen/config/dev.env.js +++ b/sgzb-screen/config/dev.env.js @@ -5,8 +5,8 @@ var prodEnv = require('./prod.env') // var testUrl = '172.16.2.82:8802' // var testUrl = '14.29.196.32:8802' // var testUrl = '10.14.16.165:8802' -var testUrl = '112.29.103.165:21624' //线上 -// var testUrl = '192.168.0.14:21624' //线上 +// var testUrl = '112.29.103.165:21624' //线上 +var testUrl = '192.168.0.14:21624' //线上 // var testUrl = '192.168.0.166:8080' // var testUrl = '223.243.184.53:8480' // var testUrl = 'www.lingyangplat.com' diff --git a/sgzb-screen/config/index.js b/sgzb-screen/config/index.js index d43320aa..97900bdd 100644 --- a/sgzb-screen/config/index.js +++ b/sgzb-screen/config/index.js @@ -20,7 +20,7 @@ module.exports = { cssSourceMap: true, proxyTable: { '/screen': { - target: 'http://112.29.103.165:21624', + target: 'http://192.168.0.14:21624', changeOrigin: true, // secure: true, //如果是https接口,需要配置这个参数 pathRewrite: { diff --git a/sgzb-ui/package.json b/sgzb-ui/package.json index 983fed2a..2a39c062 100644 --- a/sgzb-ui/package.json +++ b/sgzb-ui/package.json @@ -60,6 +60,7 @@ "vue-count-to": "1.0.13", "vue-cropper": "0.5.5", "vue-easy-print": "0.0.8", + "vue-json-excel": "^0.3.0", "vue-meta": "2.4.0", "vue-router": "3.4.9", "vuedraggable": "2.24.3", diff --git a/sgzb-ui/src/api/claimAndRefund/constructionSite.js b/sgzb-ui/src/api/claimAndRefund/constructionSite.js index a7b06d57..eae0b1fe 100644 --- a/sgzb-ui/src/api/claimAndRefund/constructionSite.js +++ b/sgzb-ui/src/api/claimAndRefund/constructionSite.js @@ -18,8 +18,15 @@ export function getUseringData(query) { }) } - - + +//提交直转申请W +export function submitWorkSite(params = {}){ + return request({ + url:'/material/workSite/submit', + method: 'post', + data:params + }) +} diff --git a/sgzb-ui/src/api/store/label.js b/sgzb-ui/src/api/store/label.js index 76a29d29..ec27010f 100644 --- a/sgzb-ui/src/api/store/label.js +++ b/sgzb-ui/src/api/store/label.js @@ -31,7 +31,7 @@ export function delLabelBind(maIds) { // 绑定历史 export function listLabelHistoryList(query) { return request({ - url: '/base//maLabelBind/historyList', + url: '/base/maLabelBind/historyList', method: 'get', params: query }) diff --git a/sgzb-ui/src/main.js b/sgzb-ui/src/main.js index 8781dd12..a3400115 100644 --- a/sgzb-ui/src/main.js +++ b/sgzb-ui/src/main.js @@ -37,6 +37,8 @@ import DictTag from '@/components/DictTag' import VueMeta from 'vue-meta' // 字典数据组件 import DictData from '@/components/DictData' +// 前端Excel组件 +import JsonExcel from 'vue-json-excel' Vue.prototype.$eventBus = new Vue() // 全局方法挂载 @@ -59,6 +61,7 @@ Vue.component('Editor', Editor) Vue.component('FileUpload', FileUpload) Vue.component('ImageUpload', ImageUpload) Vue.component('ImagePreview', ImagePreview) +Vue.component('downloadExcel', JsonExcel) Vue.use(directive) Vue.use(plugins) diff --git a/sgzb-ui/src/views/base/comeAndGo/people.vue b/sgzb-ui/src/views/base/comeAndGo/people.vue index d4d23adf..ad4d1bbf 100644 --- a/sgzb-ui/src/views/base/comeAndGo/people.vue +++ b/sgzb-ui/src/views/base/comeAndGo/people.vue @@ -431,7 +431,7 @@ export default { form: {}, defaultProps: { children: "children", - label: "userName" + label: "nickName" }, // 用户导入参数 upload: { diff --git a/sgzb-ui/src/views/claimAndRefund/constructionSite/constructionSite.vue b/sgzb-ui/src/views/claimAndRefund/constructionSite/constructionSite.vue index a36c5d71..09887fbb 100644 --- a/sgzb-ui/src/views/claimAndRefund/constructionSite/constructionSite.vue +++ b/sgzb-ui/src/views/claimAndRefund/constructionSite/constructionSite.vue @@ -89,16 +89,29 @@ - - - - - - - - - - + + + + + + + + + + + + + + + +