提交结果暂存时不保存评分等级

This commit is contained in:
wulin 2021-06-03 20:50:22 +08:00
parent 492aba9701
commit 05886843fc
2 changed files with 8 additions and 3 deletions

View File

@ -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
}
}
}

View File

@ -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) {