Merge remote-tracking branch 'origin/main' into main

This commit is contained in:
junjie 2021-05-12 12:02:33 +08:00
commit b56add58af
17 changed files with 0 additions and 38 deletions

View File

@ -124,7 +124,6 @@ export default {
},
getData(id) {
if (id) {
debugger
this.requestStatus = 'waiting'
this.message = null
viewData(id, this.filter).then(response => {

View File

@ -157,7 +157,6 @@ export function formatCondition(param) {
}
const result = { conditions: [] }
for (const [key, value] of Object.entries(param)) {
console.log(`${key}`)
result.conditions.push(value)
}
return result

View File

@ -43,7 +43,6 @@ service.interceptors.request.use(
error => {
error.config.loading && tryHideLoading(store.getters.currentPath)
// do something with request error
console.log(error) // for debug
return Promise.reject(error)
}
)
@ -147,7 +146,6 @@ service.interceptors.response.use(response => {
checkPermission(error.response)
msg = error.response.data.message || error.response.data
} else {
console.log('error: ' + error) // for debug
msg = error.message
}
!error.config.hideMsg && $error(msg)

View File

@ -13,7 +13,6 @@ export function hexColorToRGBA(hex, alpha) {
})
return `rgba(${rgb.join(',')},${alpha / 100})` // 输出RGB格式颜色
} else {
console.log(`Input ${hex} is wrong!`)
return 'rgb(0,0,0)'
}
}

View File

@ -545,7 +545,6 @@ export default {
},
createChart() {
console.log(this.table)
if (!this.table.name) {
this.$message({
message: this.$t('chart.name_can_not_empty'),

View File

@ -356,7 +356,6 @@ export default {
},
watch: {
'param': function() {
console.log(this.param)
this.getData(this.param.id)
}
},

View File

@ -123,7 +123,6 @@ export default {
this.loading = false
})
} else {
console.log('error submit!!')
return false
}
})

View File

@ -116,7 +116,6 @@ export default {
this.loading = false
})
} else {
console.log('error submit!!')
return false
}
})

View File

@ -73,7 +73,6 @@ export default {
value: this.keyWord
}
this.search(condition)
console.log('start execute search')
}
this.destryTimeMachine()
}, 1500)
@ -169,10 +168,8 @@ export default {
this.$error(err.message)
return false
})
console.log('dept save')
},
cancel() {
console.log('dept cancel')
},
buildRequest(rows) {

View File

@ -127,7 +127,6 @@ export default {
},
methods: {
subjectDelete(id) {
debugger
deleteSubject(id).then(response => {
this.$message({
message: '删除成功',
@ -141,7 +140,6 @@ export default {
const request = {
details: JSON.stringify(this.canvasStyleData)
}
debugger
saveSubject(request).then(response => {
this.$message({
message: '保存成功',

View File

@ -163,7 +163,6 @@ export default {
watch: {
subjectItem: {
handler(newVal, oldVla) {
debugger
this.subjectItemDetails = chartTransStr2Object(JSON.parse(newVal.details), 'Y')
},
deep: true

View File

@ -25,7 +25,6 @@ export default {
},
mounted() {
bus.$on('PanelSwitchComponent', (c) => {
console.log(c)
this.param = c.param
switch (c.name) {
case 'PanelEdit':

View File

@ -72,7 +72,6 @@ export default {
},
methods: {
clickMore(param) {
console.log(param)
switch (param.type) {
case 'edit':
this.templateEdit(param.data)

View File

@ -95,7 +95,6 @@ export default {
})
},
handleExceed(file) {
console.log(file.name)
},
cancel() {
this.$emit('closeEditPanelDialog')
@ -123,7 +122,6 @@ export default {
this.editPanel.panelInfo.name = this.importTemplateInfo.name
this.editPanel.panelInfo.panelStyle = this.importTemplateInfo.panelStyle
this.editPanel.panelInfo.panelData = this.importTemplateInfo.panelData
console.log(this.importTemplateInfo)
}
reader.readAsText(file)
},

View File

@ -394,7 +394,6 @@ export default {
},
saveGroup(group) {
// console.log(group);
this.$refs['groupForm'].validate((valid) => {
if (valid) {
addGroup(group).then(res => {

View File

@ -101,7 +101,6 @@ export default {
},
clickMore(param) {
console.log(param)
switch (param.type) {
case 'edit':
this.templateEdit(param.data)

View File

@ -122,19 +122,6 @@ export default {
this.uploading = false
},
uploadSuccess(response, file, fileList) {
console.log(response)
console.log(file)
console.log(fileList)
// this.path = response.data.path
// this.fields = response.data.fields
// this.data = response.data.data
// const datas = this.data
// this.$refs.plxTable.reloadData(datas)
// if (file.name.lastIndexOf('.') > 0) {
// this.name = file.name.substring(0, file.name.lastIndexOf('.'))
// }
// this.fileList = fileList
this.uploading = false
},
@ -144,10 +131,6 @@ export default {
cancelButtonText: this.$t('commons.cancel'),
type: 'warning'
}).then(() => {
// delUser(encodeURIComponent(row.userId)).then(res => {
// this.$success(this.$t('commons.delete_success'))
// this.search()
// })
}).catch(() => {
this.$info(this.$t('commons.delete_cancel'))
})