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

This commit is contained in:
wangjiahao 2021-06-23 15:28:22 +08:00
commit 9cf6919b2e
4 changed files with 4 additions and 3 deletions

View File

@ -899,7 +899,7 @@ export default {
authModel(queryCondition).then(res => { authModel(queryCondition).then(res => {
// this.highlights(res.data) // this.highlights(res.data)
this.tData = this.buildTree(res.data) this.tData = this.buildTree(res.data)
console.log(this.tData) // console.log(this.tData)
}) })
}, },

View File

@ -468,7 +468,7 @@ export default {
post('/dataset/table/incrementalConfig', { tableId: this.table.id }).then(response => { post('/dataset/table/incrementalConfig', { tableId: this.table.id }).then(response => {
this.incrementalConfig = response.data this.incrementalConfig = response.data
this.incrementalUpdateType = 'incrementalAdd' this.incrementalUpdateType = 'incrementalAdd'
console.log(this.sql) // console.log(this.sql)
if (this.incrementalConfig.incrementalAdd) { if (this.incrementalConfig.incrementalAdd) {
this.sql = this.incrementalConfig.incrementalAdd this.sql = this.incrementalConfig.incrementalAdd
} else { } else {

View File

@ -857,7 +857,7 @@ export default {
authModel(queryCondition).then(res => { authModel(queryCondition).then(res => {
// this.highlights(res.data) // this.highlights(res.data)
this.tData = this.buildTree(res.data) this.tData = this.buildTree(res.data)
console.log(this.tData) // console.log(this.tData)
}) })
}, },

View File

@ -285,6 +285,7 @@ export default {
save() { save() {
this.$refs.createUserForm.validate(valid => { this.$refs.createUserForm.validate(valid => {
if (valid) { if (valid) {
!this.form.deptId && (this.form.deptId = 0)
const method = this.formType === 'add' ? addUser : editUser const method = this.formType === 'add' ? addUser : editUser
method(this.form).then(res => { method(this.form).then(res => {
this.$success(this.$t('commons.save_success')) this.$success(this.$t('commons.save_success'))