Browse Source

样式调整

huangb 7 years ago
parent
commit
a27b8b82eb
1 changed files with 12 additions and 10 deletions
  1. 12 10
      components/mobile/staffManagement/StaffList.vue

+ 12 - 10
components/mobile/staffManagement/StaffList.vue

@@ -238,23 +238,24 @@
       staffList () {
       staffList () {
         this.$store.dispatch('staff/loadStaffList', {count: this.count, page: this.page, enuu: this.userInfo.enterprise.uu})
         this.$store.dispatch('staff/loadStaffList', {count: this.count, page: this.page, enuu: this.userInfo.enterprise.uu})
       },
       },
+      // 员工列表下拉加载更多
       onPullUpAction: function () {
       onPullUpAction: function () {
         this.page++
         this.page++
         this.staffList()
         this.staffList()
         this.isValid = true
         this.isValid = true
       },
       },
-      // 员工搜索
+      // 员工列表搜索
       staffRecord () {
       staffRecord () {
         this.role = '全部角色'
         this.role = '全部角色'
         this.showRole = false
         this.showRole = false
         this.$store.dispatch('staff/loadStaffList', {count: this.count, page: this.page, enuu: this.user.data.enterprise.uu, keyword: this.staffSearch})
         this.$store.dispatch('staff/loadStaffList', {count: this.count, page: this.page, enuu: this.user.data.enterprise.uu, keyword: this.staffSearch})
       },
       },
-      // 删除员工
+      // 员工列表删除员工
       openDelete (item) {
       openDelete (item) {
         this.currentObject = item
         this.currentObject = item
         this.showDelete = true
         this.showDelete = true
       },
       },
-      // 确认删除
+      // 员工列表确认删除
       sureDelete () {
       sureDelete () {
         this.$http.delete('/basic/user/' + this.currentObject.userUU)
         this.$http.delete('/basic/user/' + this.currentObject.userUU)
           .then(response => {
           .then(response => {
@@ -311,7 +312,7 @@
             }
             }
           })
           })
       },
       },
-      // 当前选中对象
+      // 员工列表当前选中对象
       goEdit (item) {
       goEdit (item) {
         let currentData = item
         let currentData = item
         this.currentStaff = this.baseUtils.deepCopy(currentData)
         this.currentStaff = this.baseUtils.deepCopy(currentData)
@@ -325,15 +326,15 @@
           }
           }
         }
         }
       },
       },
-      // 选择角色
+      // 员工列表选择角色
       checkRole (role) {
       checkRole (role) {
         role.checked = !role.checked
         role.checked = !role.checked
       },
       },
-      // 取消编辑
+      // 员工列表取消编辑
       cancelBind () {
       cancelBind () {
         this.activeTab = 0
         this.activeTab = 0
       },
       },
-      // 确定编辑
+      // 员工列表确定编辑
       sureEdit () {
       sureEdit () {
         this.currentStaff.roles = []
         this.currentStaff.roles = []
         for (var i = 0 ; i< this.rolesList.length; i++) {
         for (var i = 0 ; i< this.rolesList.length; i++) {
@@ -352,9 +353,10 @@
       },
       },
       // 申请绑定搜索
       // 申请绑定搜索
       auditRecord () {
       auditRecord () {
+        console.log(this.user.data.enterprise.uu)
         this.$store.dispatch('staff/loadBindAudit', {count: this.count, page: this.page, speaceUU: this.user.data.enterprise.uu, status: 311, keyword: this.auditSearch})
         this.$store.dispatch('staff/loadBindAudit', {count: this.count, page: this.page, speaceUU: this.user.data.enterprise.uu, status: 311, keyword: this.auditSearch})
       },
       },
-      // 绑定下拉
+      // 申请绑定下拉更多
       onPullUpAudit () {
       onPullUpAudit () {
         this.page++
         this.page++
         this.auditRecord()
         this.auditRecord()
@@ -381,8 +383,8 @@
       background: #fff;
       background: #fff;
       span {
       span {
         font-size: .29rem;
         font-size: .29rem;
-        &:first-child {
-          margin-right: 2.6rem;
+        &:last-child {
+          margin-left: 2.6rem;
         }
         }
         &.active {
         &.active {
           color: $base-color;
           color: $base-color;