zhaoxiaoqiang
2021-07-20 438088cf1f19324b6c21430f2a64a24b92664b30
店员管理权限
2 files modified
7 ■■■■ changed files
src/views/mine/stores/storeOprs-add.vue 1 ●●●● patch | view | raw | blame | history
src/views/mine/stores/storeOprs-detail.vue 6 ●●●●● patch | view | raw | blame | history
src/views/mine/stores/storeOprs-add.vue
@@ -36,7 +36,6 @@
          priEmail:'',  //联系邮箱
          priMblNo:'',  //负责人手机
        },
        rule:[
          {key:"priName",message:"请输入负责人姓名",type:"isEmpty"},
          {key:"priName",message:"请输入正确的负责人姓名",rule:/^[\u4e00-\u9fa50-9a-zA-Z]{1,6}$/},
src/views/mine/stores/storeOprs-detail.vue
@@ -25,8 +25,12 @@
  import { mapState } from 'vuex';
  export default {
    name: "stores-detail",
    computed: {
      ...mapState(["userinfo"]),
    },
    data(){
      return {
        orgType:"",
        isShowArea:false,
        dialogShow:false,
        menText:'冻结店员',
@@ -44,6 +48,7 @@
      }
    },
    created(){
      this.orgType = this.userinfo.orgType;
      this.init();
    },
    methods:{
@@ -87,6 +92,7 @@
          orgId:this.queryStoreId,
          id:this.$route.query.mgrId
        };
        list.menuPower = [100001, 100006]
        if(this.$validator(this.form,this.rule).check(item=>{
          this.$notify(item.message);
        })){