提交结果暂存时不保存评分等级
This commit is contained in:
parent
492aba9701
commit
05886843fc
@ -12,8 +12,8 @@ module.exports = {
|
|||||||
assetsPublicPath: '/',
|
assetsPublicPath: '/',
|
||||||
proxyTable: {
|
proxyTable: {
|
||||||
'/lz_management': {
|
'/lz_management': {
|
||||||
target: `https://tlzmanagement.ldxinyong.com`,
|
// target: `https://tlzmanagement.ldxinyong.com`,
|
||||||
// target: `http://192.168.4.12:8080`,
|
target: `http://127.0.0.1:8080`,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
// secure: false ,
|
// secure: false ,
|
||||||
// pathRewrite: {
|
// pathRewrite: {
|
||||||
|
|||||||
@ -510,6 +510,11 @@ export default {
|
|||||||
},
|
},
|
||||||
async handleSaveDetail (params = Object.assign({}, this.obj, this.score, { save: 1 })) {
|
async handleSaveDetail (params = Object.assign({}, this.obj, this.score, { save: 1 })) {
|
||||||
this.loadingZan = true
|
this.loadingZan = true
|
||||||
|
if (this.tableInfo.result) {
|
||||||
|
params.lastScore = null
|
||||||
|
params.allScore = null
|
||||||
|
params.scoreLevel = null
|
||||||
|
}
|
||||||
let res = await apiSaveDetail(params)
|
let res = await apiSaveDetail(params)
|
||||||
this.loadingZan = false
|
this.loadingZan = false
|
||||||
if (res.code !== 200) {
|
if (res.code !== 200) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user