diff --git a/config/index.js b/config/index.js index 8b471d0..93e08d6 100644 --- a/config/index.js +++ b/config/index.js @@ -12,8 +12,8 @@ module.exports = { assetsPublicPath: '/', proxyTable: { '/lz_management': { - target: `https://tlzmanagement.ldxinyong.com`, - // target: `http://192.168.4.12:8080`, + // target: `https://tlzmanagement.ldxinyong.com`, + target: `http://127.0.0.1:8080`, changeOrigin: true, // secure: false , // pathRewrite: { @@ -80,4 +80,4 @@ module.exports = { // Set to `true` or `false` to always turn it on or off bundleAnalyzerReport: process.env.npm_config_report } -} \ No newline at end of file +} diff --git a/src/views/kpi/assessment/performance/components/table.vue b/src/views/kpi/assessment/performance/components/table.vue index c79ae13..1c09fbb 100644 --- a/src/views/kpi/assessment/performance/components/table.vue +++ b/src/views/kpi/assessment/performance/components/table.vue @@ -510,6 +510,11 @@ export default { }, async handleSaveDetail (params = Object.assign({}, this.obj, this.score, { save: 1 })) { this.loadingZan = true + if (this.tableInfo.result) { + params.lastScore = null + params.allScore = null + params.scoreLevel = null + } let res = await apiSaveDetail(params) this.loadingZan = false if (res.code !== 200) {