e vor 5 Jahren
Ursprung
Commit
3b00f48aa4
3 geänderte Dateien mit 13 neuen und 11 gelöschten Zeilen
  1. 5 5
      src/views/club/list.vue
  2. 6 6
      src/views/club/operateList.vue
  3. 2 0
      src/views/other/password.vue

+ 5 - 5
src/views/club/list.vue

@@ -125,7 +125,7 @@ export default {
       listQuery: {
       listQuery: {
         index: 1,
         index: 1,
         pageSize: 20,
         pageSize: 20,
-        userorganizeID: this.$store.getters.organizeID,
+        userOrganizeID: this.$store.getters.organizeID,
         name: '',
         name: '',
         linkName: '',
         linkName: '',
         bindMobile: '',
         bindMobile: '',
@@ -190,7 +190,7 @@ export default {
     handleCreateOperator() { // 保存
     handleCreateOperator() { // 保存
       this.$refs['dataForm'].validate((valid) => {
       this.$refs['dataForm'].validate((valid) => {
         if (valid) {
         if (valid) {
-          const Formobj = { userorganizeID: this.$store.getters.organizeID, configFlag: 1 }
+          const Formobj = { userOrganizeID: this.$store.getters.organizeID, configFlag: 1 }
           const params = Object.assign(Formobj, this.addPeople)
           const params = Object.assign(Formobj, this.addPeople)
           this.loadingbut = true
           this.loadingbut = true
           this.loadingbuttext = '保存中...'
           this.loadingbuttext = '保存中...'
@@ -206,7 +206,7 @@ export default {
     handlePreservOperator() { // 保存并生成邀请码
     handlePreservOperator() { // 保存并生成邀请码
       this.$refs['dataForm'].validate((valid) => {
       this.$refs['dataForm'].validate((valid) => {
         if (valid) {
         if (valid) {
-          const Formobj = { userorganizeID: this.$store.getters.organizeID, configFlag: 2 }
+          const Formobj = { userOrganizeID: this.$store.getters.organizeID, configFlag: 2 }
           const params = Object.assign(Formobj, this.addPeople)
           const params = Object.assign(Formobj, this.addPeople)
           preservOperator(params).then(response => {
           preservOperator(params).then(response => {
             this.dialogFormVisible = false
             this.dialogFormVisible = false
@@ -216,7 +216,7 @@ export default {
       })
       })
     },
     },
     handOnline(row) {
     handOnline(row) {
-      this.updateTemp = Object.assign({}, { clubID: row.clubID, userID: row.userID, clubStatus: row.clubStatus, userorganizeID: this.$store.getters.organizeID })
+      this.updateTemp = Object.assign({}, { clubID: row.clubID, userID: row.userID, clubStatus: row.clubStatus, userOrganizeID: this.$store.getters.organizeID })
       this.$confirm('确定上线该会所吗?', '系统提示', {
       this.$confirm('确定上线该会所吗?', '系统提示', {
         confirmButtonText: '确定',
         confirmButtonText: '确定',
         cancelButtonText: '取消',
         cancelButtonText: '取消',
@@ -228,7 +228,7 @@ export default {
       })
       })
     },
     },
     handOffline(row) {
     handOffline(row) {
-      this.updateTemp = Object.assign({}, { clubID: row.clubID, userID: row.userID, clubStatus: row.clubStatus, userorganizeID: this.$store.getters.organizeID })
+      this.updateTemp = Object.assign({}, { clubID: row.clubID, userID: row.userID, clubStatus: row.clubStatus, userOrganizeID: this.$store.getters.organizeID })
       this.$confirm('确定下线该会所吗?', '系统提示', {
       this.$confirm('确定下线该会所吗?', '系统提示', {
         confirmButtonText: '确定',
         confirmButtonText: '确定',
         cancelButtonText: '取消',
         cancelButtonText: '取消',

+ 6 - 6
src/views/club/operateList.vue

@@ -162,7 +162,7 @@ export default {
         pageSize: 20,
         pageSize: 20,
         clubID: this.$route.query.clubID,
         clubID: this.$route.query.clubID,
         userID: this.$route.query.userID,
         userID: this.$route.query.userID,
-        userorganizeID: this.$store.getters.organizeID,
+        userOrganizeID: this.$store.getters.organizeID,
         linkName: '',
         linkName: '',
         mobile: '',
         mobile: '',
         status: '',
         status: '',
@@ -170,7 +170,7 @@ export default {
         endAddTime: ''
         endAddTime: ''
       },
       },
       editTemp: {
       editTemp: {
-        userorganizeID: this.$store.getters.organizeID,
+        userOrganizeID: this.$store.getters.organizeID,
         linkName: '',
         linkName: '',
         mobile: ''
         mobile: ''
       },
       },
@@ -229,7 +229,7 @@ export default {
         id: row.id,
         id: row.id,
         clubID: row.clubID,
         clubID: row.clubID,
         userID: row.userID,
         userID: row.userID,
-        userorganizeID: this.$store.getters.organizeID
+        userOrganizeID: this.$store.getters.organizeID
       }
       }
     },
     },
     handleConfirm() {
     handleConfirm() {
@@ -261,7 +261,7 @@ export default {
       this.dialogStatus = 'untying'
       this.dialogStatus = 'untying'
       this.dialogVisibleText = '确定解绑该运营人员吗?'
       this.dialogVisibleText = '确定解绑该运营人员吗?'
       this.handleConfirmType = 'untying'
       this.handleConfirmType = 'untying'
-      this.editTemp = { userorganizeID: this.$store.getters.organizeID, id: row.id, clubID: row.clubID, userID: row.userID }
+      this.editTemp = { userOrganizeID: this.$store.getters.organizeID, id: row.id, clubID: row.clubID, userID: row.userID }
     },
     },
     unbindOperators() {
     unbindOperators() {
       const params = this.editTemp
       const params = this.editTemp
@@ -302,7 +302,7 @@ export default {
     handleCreateOperator() { // 保存
     handleCreateOperator() { // 保存
       this.$refs['dataForm'].validate((valid) => {
       this.$refs['dataForm'].validate((valid) => {
         if (valid) {
         if (valid) {
-          const params = Object.assign({ userorganizeID: this.$store.getters.organizeID, configFlag: 1 }, this.editTemp)
+          const params = Object.assign({ userOrganizeID: this.$store.getters.organizeID, configFlag: 1 }, this.editTemp)
           this.loadingbut = true
           this.loadingbut = true
           this.loadingbuttext = '保存中...'
           this.loadingbuttext = '保存中...'
           preservOperator(params).then(response => {
           preservOperator(params).then(response => {
@@ -326,7 +326,7 @@ export default {
     handlePreservOperator() { // 保存并生成邀请码
     handlePreservOperator() { // 保存并生成邀请码
       this.$refs['dataForm'].validate((valid) => {
       this.$refs['dataForm'].validate((valid) => {
         if (valid) {
         if (valid) {
-          const Formobj = { userorganizeID: this.$store.getters.organizeID, configFlag: 2 }
+          const Formobj = { userOrganizeID: this.$store.getters.organizeID, configFlag: 2 }
           const params = Object.assign(Formobj, this.editTemp)
           const params = Object.assign(Formobj, this.editTemp)
           preservOperator(params).then(response => {
           preservOperator(params).then(response => {
             this.dialogFormVisible = false
             this.dialogFormVisible = false

+ 2 - 0
src/views/other/password.vue

@@ -67,6 +67,8 @@ export default {
             this.$message({ message: response.msg, type: 'success', center: true })
             this.$message({ message: response.msg, type: 'success', center: true })
             this.loadingbut = false
             this.loadingbut = false
             this.loadingbuttext = '保存'
             this.loadingbuttext = '保存'
+            this.$store.dispatch('user/logout')
+            this.$router.push('/login')
           })
           })
         }
         }
       })
       })