From d03a469b1ae0bf3c3239399ed79b2a1d4eefe8be Mon Sep 17 00:00:00 2001 From: xiaobai <857694115@qq.com> Date: Tue, 27 Jul 2021 09:27:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/common.js | 10 ++++++++ src/views/bggl/2000/jj/cyqp.vue | 2 +- src/views/bggl/8000/dj/dq/fenxiang/ajlsy.vue | 2 +- src/views/bggl/8000/dj/dq/fenxiang/aqfj.vue | 2 +- src/views/bggl/8000/dj/dq/fenxiang/bhcd.vue | 2 +- src/views/bggl/8000/dj/dq/fenxiang/dxt.vue | 2 +- .../bggl/8000/dj/dq/fenxiang/gzaqqrb.vue | 2 +- src/views/bggl/8000/dj/dq/fenxiang/hlsjl.vue | 2 +- src/views/bggl/8000/dj/dq/fenxiang/hxcf.vue | 2 +- src/views/bggl/8000/dj/dq/fenxiang/jxfx.vue | 2 +- src/views/bggl/8000/dj/dq/fenxiang/mxb.vue | 2 +- src/views/bggl/8000/dj/dq/fenxiang/nyjh.vue | 2 +- src/views/bggl/8000/dj/dq/fenxiang/nysy.vue | 2 +- src/views/bggl/8000/dj/dq/fenxiang/qmxsy.vue | 2 +- src/views/bggl/8000/dj/dq/fenxiang/sxjcfb.vue | 2 +- src/views/bggl/8000/dj/dq/fenxiang/ydjc.vue | 2 +- src/views/bggl/8000/dj/mxb.vue | 4 +-- src/views/bggl/8000/dj/nd/fenxiang/aqfj.vue | 2 +- src/views/bggl/8000/dj/nd/fenxiang/bhcd.vue | 2 +- src/views/bggl/8000/dj/nd/fenxiang/dz.vue | 2 +- src/views/bggl/8000/dj/nd/fenxiang/mxb.vue | 2 +- src/views/bggl/8000/jj/fenxiang/aqjmfx.vue | 2 +- src/views/bggl/8000/jj/fenxiang/azzlsc.vue | 2 +- src/views/bggl/8000/jj/fenxiang/czsc.vue | 2 +- src/views/bggl/8000/jj/fenxiang/dtztsyx.vue | 2 +- src/views/bggl/8000/jj/fenxiang/jgzlsc.vue | 2 +- src/views/bggl/8000/jj/fenxiang/jsdw.vue | 2 +- src/views/bggl/8000/jj/fenxiang/nyxlsy.vue | 2 +- src/views/bggl/8000/jj/fenxiang/qxsc.vue | 2 +- src/views/bggl/8000/jj/fenxiang/ssaz.vue | 2 +- src/views/bggl/8000/jj/fenxiang/wtclyj.vue | 2 +- src/views/bggl/8000/jj/fenxiang/zlsc.vue | 2 +- src/views/bggl/8000/jj/mxb.vue | 4 +-- src/views/common/FxButton/index.vue | 4 +-- src/views/common/WsFxButton/index.vue | 4 +-- src/views/device_management/index.vue | 2 +- src/views/dwxx/zzdw.vue | 4 +-- src/views/tool/quartz.vue | 14 +++++------ src/views/user/role.vue | 25 +++++++++---------- src/views/user/user.vue | 10 ++++---- src/views/ysjl/1000/dj/nb/2.0/dznb.vue | 2 +- src/views/ysjl/1000/dj/nb/2.0/gynb.vue | 2 +- src/views/ysjl/1000/dj/nb/dznb.vue | 2 +- src/views/ysjl/1000/dj/nb/gynb.vue | 2 +- src/views/ysjl/1000/dj/sy/2.0/sysy.vue | 2 +- src/views/ysjl/1000/dj/sy/sysy.vue | 2 +- src/views/ysjl/1000/dj/wb/2.0/dzwb.vue | 2 +- src/views/ysjl/1000/dj/wb/2.0/gywb.vue | 2 +- src/views/ysjl/1000/dj/wb/dzwb.vue | 2 +- src/views/ysjl/1000/dj/wb/gywb.vue | 2 +- src/views/ysjl/1000/fenxiang/dxt.vue | 6 ++--- src/views/ysjl/1000/jj/2.0/fenxiang/aqfj.vue | 2 +- src/views/ysjl/1000/jj/2.0/fenxiang/bhcd.vue | 2 +- .../ysjl/1000/jj/2.0/fenxiang/sjwjsc.vue | 2 +- src/views/ysjl/1000/jj/2.0/fenxiang/wgjh.vue | 2 +- src/views/ysjl/2000/2100/fenxiang/ajlsy.vue | 2 +- src/views/ysjl/2000/2100/fenxiang/aqfj.vue | 2 +- src/views/ysjl/2000/2100/fenxiang/bhcd.vue | 2 +- src/views/ysjl/2000/2100/fenxiang/bhjh.vue | 2 +- src/views/ysjl/2000/2100/fenxiang/clcffx.vue | 2 +- src/views/ysjl/2000/2100/fenxiang/fjjy.vue | 2 +- src/views/ysjl/2000/2100/fenxiang/hlsjl.vue | 2 +- src/views/ysjl/2000/2100/fenxiang/jxfx.vue | 2 +- src/views/ysjl/2000/2100/fenxiang/nysy.vue | 2 +- src/views/ysjl/2000/2100/fenxiang/qmxsy.vue | 2 +- src/views/ysjl/2000/2100/fenxiang/sskzk.vue | 6 ++--- src/views/ysjl/2000/2100/fenxiang/sxjcfb.vue | 2 +- src/views/ysjl/2000/2100/fenxiang/tbl.vue | 2 +- src/views/ysjl/2000/2100/fenxiang/ydjc.vue | 2 +- src/views/ysjl/2000/2100/zbg/dj/edit.vue | 8 +++--- src/views/ysjl/2000/2200/fenxiang/aqfj.vue | 2 +- src/views/ysjl/2000/2200/fenxiang/bhcd.vue | 2 +- src/views/ysjl/2000/2200/fenxiang/bhjh.vue | 2 +- src/views/ysjl/2000/2200/fenxiang/clcffx.vue | 2 +- src/views/ysjl/2000/2200/fenxiang/fjjy.vue | 2 +- src/views/ysjl/2000/2200/fenxiang/jxfx.vue | 2 +- src/views/ysjl/2000/2200/fenxiang/nysy.vue | 2 +- src/views/ysjl/2000/2200/fenxiang/qmxsy.vue | 2 +- src/views/ysjl/2000/2200/fenxiang/ydjc.vue | 6 ++--- src/views/ysjl/2000/2300/zbg/jj/cyqp.vue | 2 +- src/views/ysjl/2000/2400/fenxiang/azdw.vue | 2 +- src/views/ysjl/2000/2400/fenxiang/ycjc.vue | 2 +- src/views/ysjl/2000/2400/fenxiang/ycqmx.vue | 2 +- src/views/ysjl/8000/dj/edit.vue | 8 +++--- src/views/ysjl/8000/dj/fenxiang/ajlsy.vue | 2 +- src/views/ysjl/8000/dj/fenxiang/aqfj.vue | 2 +- src/views/ysjl/8000/dj/fenxiang/bhcd.vue | 2 +- src/views/ysjl/8000/dj/fenxiang/dxt.vue | 2 +- src/views/ysjl/8000/dj/fenxiang/gzaqqrb.vue | 2 +- src/views/ysjl/8000/dj/fenxiang/hlsjl.vue | 2 +- src/views/ysjl/8000/dj/fenxiang/hxcf.vue | 2 +- src/views/ysjl/8000/dj/fenxiang/jxfx.vue | 2 +- src/views/ysjl/8000/dj/fenxiang/mxb.vue | 2 +- src/views/ysjl/8000/dj/fenxiang/nyjh.vue | 2 +- src/views/ysjl/8000/dj/fenxiang/nysy.vue | 2 +- src/views/ysjl/8000/dj/fenxiang/qmxsy.vue | 2 +- src/views/ysjl/8000/dj/fenxiang/sxjcfb.vue | 2 +- src/views/ysjl/8000/dj/fenxiang/ydjc.vue | 2 +- src/views/ysjl/8000/jj/fenxiang/ajlsy.vue | 2 +- src/views/ysjl/8000/jj/fenxiang/aqfj.vue | 2 +- src/views/ysjl/8000/jj/fenxiang/bhcd.vue | 2 +- src/views/ysjl/8000/jj/fenxiang/czmxb.vue | 2 +- src/views/ysjl/8000/jj/fenxiang/gzaqqrb.vue | 2 +- src/views/ysjl/8000/jj/fenxiang/hlsjl.vue | 2 +- src/views/ysjl/8000/jj/fenxiang/hxcf.vue | 2 +- src/views/ysjl/8000/jj/fenxiang/jxfx.vue | 2 +- src/views/ysjl/8000/jj/fenxiang/mxb.vue | 2 +- src/views/ysjl/8000/jj/fenxiang/mxb2.vue | 2 +- src/views/ysjl/8000/jj/fenxiang/nyjh.vue | 2 +- src/views/ysjl/8000/jj/fenxiang/nysy.vue | 2 +- src/views/ysjl/8000/jj/fenxiang/qmxsy.vue | 2 +- src/views/ysjl/8000/jj/fenxiang/sxjcfb.vue | 2 +- src/views/ysjl/8000/jj/fenxiang/sxzlcc.vue | 2 +- src/views/ysjl/8000/jj/fenxiang/wzt.vue | 2 +- src/views/ysjl/8000/jj/fenxiang/ydjc.vue | 2 +- src/views/ysjl/8000/jj/fenxiang/zlsspj.vue | 2 +- src/views/ysjl/8000/nd/fenxiang/aqfj.vue | 2 +- src/views/ysjl/8000/nd/fenxiang/bhcd.vue | 2 +- src/views/ysjl/8000/nd/fenxiang/dz.vue | 2 +- src/views/ysjl/8000/nd/fenxiang/mxb.vue | 2 +- .../ysjl/components/manufacture_db_list.vue | 2 +- 121 files changed, 167 insertions(+), 160 deletions(-) diff --git a/src/api/common.js b/src/api/common.js index 54d1a90..a6c076b 100644 --- a/src/api/common.js +++ b/src/api/common.js @@ -139,4 +139,14 @@ export function deleteDefinitionFn(params) { return require('qs').stringify(data, { indices: false }) } }) +} +export function deletejobFn(params) { + return api({ + url: '/job', + method: 'delete', + params: params, + paramsSerializer: function(data) { + return require('qs').stringify(data, { indices: false }) + } + }) } diff --git a/src/views/bggl/2000/jj/cyqp.vue b/src/views/bggl/2000/jj/cyqp.vue index dcdde03..ef74480 100644 --- a/src/views/bggl/2000/jj/cyqp.vue +++ b/src/views/bggl/2000/jj/cyqp.vue @@ -419,7 +419,7 @@ export default { }, getUserList() { this.api({ - url: '/user/getAllUserList', + url: '/user/all', method: 'get' }).then(data => { this.users = data diff --git a/src/views/bggl/8000/dj/dq/fenxiang/ajlsy.vue b/src/views/bggl/8000/dj/dq/fenxiang/ajlsy.vue index 0cb4019..f797eb4 100644 --- a/src/views/bggl/8000/dj/dq/fenxiang/ajlsy.vue +++ b/src/views/bggl/8000/dj/dq/fenxiang/ajlsy.vue @@ -141,7 +141,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/dj/dq/fenxiang/aqfj.vue b/src/views/bggl/8000/dj/dq/fenxiang/aqfj.vue index 3201f99..c7fe382 100644 --- a/src/views/bggl/8000/dj/dq/fenxiang/aqfj.vue +++ b/src/views/bggl/8000/dj/dq/fenxiang/aqfj.vue @@ -563,7 +563,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/dj/dq/fenxiang/bhcd.vue b/src/views/bggl/8000/dj/dq/fenxiang/bhcd.vue index d2155de..482a6f4 100644 --- a/src/views/bggl/8000/dj/dq/fenxiang/bhcd.vue +++ b/src/views/bggl/8000/dj/dq/fenxiang/bhcd.vue @@ -220,7 +220,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/dj/dq/fenxiang/dxt.vue b/src/views/bggl/8000/dj/dq/fenxiang/dxt.vue index f4a256d..4b93841 100644 --- a/src/views/bggl/8000/dj/dq/fenxiang/dxt.vue +++ b/src/views/bggl/8000/dj/dq/fenxiang/dxt.vue @@ -48,7 +48,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/dj/dq/fenxiang/gzaqqrb.vue b/src/views/bggl/8000/dj/dq/fenxiang/gzaqqrb.vue index e1b0116..7ff82d5 100644 --- a/src/views/bggl/8000/dj/dq/fenxiang/gzaqqrb.vue +++ b/src/views/bggl/8000/dj/dq/fenxiang/gzaqqrb.vue @@ -67,7 +67,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/dj/dq/fenxiang/hlsjl.vue b/src/views/bggl/8000/dj/dq/fenxiang/hlsjl.vue index f4e64a8..91135f2 100644 --- a/src/views/bggl/8000/dj/dq/fenxiang/hlsjl.vue +++ b/src/views/bggl/8000/dj/dq/fenxiang/hlsjl.vue @@ -138,7 +138,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/dj/dq/fenxiang/hxcf.vue b/src/views/bggl/8000/dj/dq/fenxiang/hxcf.vue index c464a12..111a13c 100644 --- a/src/views/bggl/8000/dj/dq/fenxiang/hxcf.vue +++ b/src/views/bggl/8000/dj/dq/fenxiang/hxcf.vue @@ -148,7 +148,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/dj/dq/fenxiang/jxfx.vue b/src/views/bggl/8000/dj/dq/fenxiang/jxfx.vue index 078b25c..c0989af 100644 --- a/src/views/bggl/8000/dj/dq/fenxiang/jxfx.vue +++ b/src/views/bggl/8000/dj/dq/fenxiang/jxfx.vue @@ -144,7 +144,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/dj/dq/fenxiang/mxb.vue b/src/views/bggl/8000/dj/dq/fenxiang/mxb.vue index 92dc917..f81f6d6 100644 --- a/src/views/bggl/8000/dj/dq/fenxiang/mxb.vue +++ b/src/views/bggl/8000/dj/dq/fenxiang/mxb.vue @@ -115,7 +115,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/dj/dq/fenxiang/nyjh.vue b/src/views/bggl/8000/dj/dq/fenxiang/nyjh.vue index bff1979..0eba938 100644 --- a/src/views/bggl/8000/dj/dq/fenxiang/nyjh.vue +++ b/src/views/bggl/8000/dj/dq/fenxiang/nyjh.vue @@ -95,7 +95,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/dj/dq/fenxiang/nysy.vue b/src/views/bggl/8000/dj/dq/fenxiang/nysy.vue index e99c90f..6073c43 100644 --- a/src/views/bggl/8000/dj/dq/fenxiang/nysy.vue +++ b/src/views/bggl/8000/dj/dq/fenxiang/nysy.vue @@ -225,7 +225,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/dj/dq/fenxiang/qmxsy.vue b/src/views/bggl/8000/dj/dq/fenxiang/qmxsy.vue index 112ea83..705e774 100644 --- a/src/views/bggl/8000/dj/dq/fenxiang/qmxsy.vue +++ b/src/views/bggl/8000/dj/dq/fenxiang/qmxsy.vue @@ -166,7 +166,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/dj/dq/fenxiang/sxjcfb.vue b/src/views/bggl/8000/dj/dq/fenxiang/sxjcfb.vue index 720e501..5b92c58 100644 --- a/src/views/bggl/8000/dj/dq/fenxiang/sxjcfb.vue +++ b/src/views/bggl/8000/dj/dq/fenxiang/sxjcfb.vue @@ -170,7 +170,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/dj/dq/fenxiang/ydjc.vue b/src/views/bggl/8000/dj/dq/fenxiang/ydjc.vue index 2a128ef..68d39bd 100644 --- a/src/views/bggl/8000/dj/dq/fenxiang/ydjc.vue +++ b/src/views/bggl/8000/dj/dq/fenxiang/ydjc.vue @@ -153,7 +153,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/dj/mxb.vue b/src/views/bggl/8000/dj/mxb.vue index 68b7a1f..d5b27ad 100644 --- a/src/views/bggl/8000/dj/mxb.vue +++ b/src/views/bggl/8000/dj/mxb.vue @@ -170,8 +170,8 @@ export default { saveMxb() { this.param.fubiao = this.tableData this.api({ - url: '/fx/saveFx', - method: 'post', + url: '/fx', + method: 'put', data: { ysjl: this.ysjl, jyxm: 'mxb', diff --git a/src/views/bggl/8000/dj/nd/fenxiang/aqfj.vue b/src/views/bggl/8000/dj/nd/fenxiang/aqfj.vue index 043a270..f1b8840 100644 --- a/src/views/bggl/8000/dj/nd/fenxiang/aqfj.vue +++ b/src/views/bggl/8000/dj/nd/fenxiang/aqfj.vue @@ -72,7 +72,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/dj/nd/fenxiang/bhcd.vue b/src/views/bggl/8000/dj/nd/fenxiang/bhcd.vue index 6c4c1f4..ec1ac49 100644 --- a/src/views/bggl/8000/dj/nd/fenxiang/bhcd.vue +++ b/src/views/bggl/8000/dj/nd/fenxiang/bhcd.vue @@ -218,7 +218,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/dj/nd/fenxiang/dz.vue b/src/views/bggl/8000/dj/nd/fenxiang/dz.vue index 972e31c..40441bd 100644 --- a/src/views/bggl/8000/dj/nd/fenxiang/dz.vue +++ b/src/views/bggl/8000/dj/nd/fenxiang/dz.vue @@ -184,7 +184,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/dj/nd/fenxiang/mxb.vue b/src/views/bggl/8000/dj/nd/fenxiang/mxb.vue index 8f46e69..bb970bd 100644 --- a/src/views/bggl/8000/dj/nd/fenxiang/mxb.vue +++ b/src/views/bggl/8000/dj/nd/fenxiang/mxb.vue @@ -125,7 +125,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/jj/fenxiang/aqjmfx.vue b/src/views/bggl/8000/jj/fenxiang/aqjmfx.vue index 57f99a4..6144af3 100644 --- a/src/views/bggl/8000/jj/fenxiang/aqjmfx.vue +++ b/src/views/bggl/8000/jj/fenxiang/aqjmfx.vue @@ -116,7 +116,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/jj/fenxiang/azzlsc.vue b/src/views/bggl/8000/jj/fenxiang/azzlsc.vue index fe02878..b50fbd7 100644 --- a/src/views/bggl/8000/jj/fenxiang/azzlsc.vue +++ b/src/views/bggl/8000/jj/fenxiang/azzlsc.vue @@ -91,7 +91,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/jj/fenxiang/czsc.vue b/src/views/bggl/8000/jj/fenxiang/czsc.vue index 1a7f4ba..c8722ef 100644 --- a/src/views/bggl/8000/jj/fenxiang/czsc.vue +++ b/src/views/bggl/8000/jj/fenxiang/czsc.vue @@ -92,7 +92,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/jj/fenxiang/dtztsyx.vue b/src/views/bggl/8000/jj/fenxiang/dtztsyx.vue index 97b92cb..5416d80 100644 --- a/src/views/bggl/8000/jj/fenxiang/dtztsyx.vue +++ b/src/views/bggl/8000/jj/fenxiang/dtztsyx.vue @@ -55,7 +55,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/jj/fenxiang/jgzlsc.vue b/src/views/bggl/8000/jj/fenxiang/jgzlsc.vue index 2c0527e..0f1d59a 100644 --- a/src/views/bggl/8000/jj/fenxiang/jgzlsc.vue +++ b/src/views/bggl/8000/jj/fenxiang/jgzlsc.vue @@ -67,7 +67,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/jj/fenxiang/jsdw.vue b/src/views/bggl/8000/jj/fenxiang/jsdw.vue index c05f6c7..763091a 100644 --- a/src/views/bggl/8000/jj/fenxiang/jsdw.vue +++ b/src/views/bggl/8000/jj/fenxiang/jsdw.vue @@ -49,7 +49,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/jj/fenxiang/nyxlsy.vue b/src/views/bggl/8000/jj/fenxiang/nyxlsy.vue index 2b99dc3..1b4678d 100644 --- a/src/views/bggl/8000/jj/fenxiang/nyxlsy.vue +++ b/src/views/bggl/8000/jj/fenxiang/nyxlsy.vue @@ -121,7 +121,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/jj/fenxiang/qxsc.vue b/src/views/bggl/8000/jj/fenxiang/qxsc.vue index 3a2fb43..c516137 100644 --- a/src/views/bggl/8000/jj/fenxiang/qxsc.vue +++ b/src/views/bggl/8000/jj/fenxiang/qxsc.vue @@ -92,7 +92,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/jj/fenxiang/ssaz.vue b/src/views/bggl/8000/jj/fenxiang/ssaz.vue index 8d40e11..16a3eb9 100644 --- a/src/views/bggl/8000/jj/fenxiang/ssaz.vue +++ b/src/views/bggl/8000/jj/fenxiang/ssaz.vue @@ -106,7 +106,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/jj/fenxiang/wtclyj.vue b/src/views/bggl/8000/jj/fenxiang/wtclyj.vue index ae2fee9..1536f95 100644 --- a/src/views/bggl/8000/jj/fenxiang/wtclyj.vue +++ b/src/views/bggl/8000/jj/fenxiang/wtclyj.vue @@ -55,7 +55,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/jj/fenxiang/zlsc.vue b/src/views/bggl/8000/jj/fenxiang/zlsc.vue index bc7da3f..4d9f6a9 100644 --- a/src/views/bggl/8000/jj/fenxiang/zlsc.vue +++ b/src/views/bggl/8000/jj/fenxiang/zlsc.vue @@ -101,7 +101,7 @@ export default { methods: { getInfo() { this.api({ - url: '/fx/getFxByYsjlId', + url: '/fx', method: 'get', params: { ysjlId: this.$route.query.id, diff --git a/src/views/bggl/8000/jj/mxb.vue b/src/views/bggl/8000/jj/mxb.vue index b6727e8..e918f6b 100644 --- a/src/views/bggl/8000/jj/mxb.vue +++ b/src/views/bggl/8000/jj/mxb.vue @@ -179,8 +179,8 @@ export default { saveMxb() { this.param.fubiao = this.tableData this.api({ - url: '/fx/saveFx', - method: 'post', + url: '/fx', + method: 'put', data: { ysjl: this.ysjl, jyxm: 'mxb', diff --git a/src/views/common/FxButton/index.vue b/src/views/common/FxButton/index.vue index 0a45fcc..6b12897 100644 --- a/src/views/common/FxButton/index.vue +++ b/src/views/common/FxButton/index.vue @@ -61,8 +61,8 @@ export default { this.$parent.$parent.$refs['ysjl'].validate(valid => { if (valid) { this.api({ - url: '/fx/saveFx', - method: 'post', + url: '/fx', + method: 'put', data: { ysjl: this.ysjl, param: this.param, diff --git a/src/views/common/WsFxButton/index.vue b/src/views/common/WsFxButton/index.vue index 7b7fda6..0db57a1 100644 --- a/src/views/common/WsFxButton/index.vue +++ b/src/views/common/WsFxButton/index.vue @@ -81,8 +81,8 @@ export default { */ saveFx() { this.api({ - url: '/fx/saveFx', - method: 'post', + url: '/fx', + method: 'put', data: { ysjl: this.ysjl, jyxm: this.jyxm, diff --git a/src/views/device_management/index.vue b/src/views/device_management/index.vue index dfcaf25..520266c 100644 --- a/src/views/device_management/index.vue +++ b/src/views/device_management/index.vue @@ -255,7 +255,7 @@ import { downloadFile, parseTime } from '@/utils' // crud交由presenter持有 const defaultCrud = presenter(CRUD({ title: '仪器设备', - url: '/instrument', + url: '/instrument/list', orderBy: ['id asc'], crudMethod: { ...CrudInstrument } })) diff --git a/src/views/dwxx/zzdw.vue b/src/views/dwxx/zzdw.vue index 18cd385..0c07874 100644 --- a/src/views/dwxx/zzdw.vue +++ b/src/views/dwxx/zzdw.vue @@ -524,8 +524,8 @@ export default { */ updateSwitch() { this.api({ - url: '/user/updateUser', - method: 'post', + url: '/user', + method: 'put', data: { user: this.user } diff --git a/src/views/tool/quartz.vue b/src/views/tool/quartz.vue index 8801a49..f7d340f 100644 --- a/src/views/tool/quartz.vue +++ b/src/views/tool/quartz.vue @@ -117,6 +117,7 @@