Browse Source

feat: 销售端添加上传个微二维码功能

xdd 2 months ago
parent
commit
446b3d0a96
1 changed files with 1 additions and 33 deletions
  1. 1 33
      src/views/company/companyUser/index.vue

+ 1 - 33
src/views/company/companyUser/index.vue

@@ -100,8 +100,7 @@
                 style="width: 80px; height: 80px; margin-bottom: 5px; display: block; margin-left: auto; margin-right: auto;"
                 :src="scope.row.qrCodeWeixin"
                 :preview-src-list="[scope.row.qrCodeWeixin]"
-                fit="contain"
-              >
+                fit="contain">
                 <div slot="error" class="image-slot">
                   <i class="el-icon-picture-outline"></i>
                 </div>
@@ -365,7 +364,6 @@
     <el-dialog :title="user.title" :visible.sync="user.open" width="800px" append-to-body>
       <selectUser ref="selectUser" @bindQwUser="bindQwUser"></selectUser>
     </el-dialog>
-    <gw-query-list-dialog :visible="gwSearchOpen"/>
     <el-dialog :title="companyUserArea.title" :visible.sync="companyUserArea.open" width="300px" append-to-body>
       <el-select v-model="addressId"  filterable placeholder="请选择所属销售的区域" style="width: 200px;">
         <el-option
@@ -414,13 +412,6 @@ export default {
   data() {
     return {
       uploadUrl: process.env.VUE_APP_BASE_API+"/company/user/common/uploadOSS",
-      companyUserArea:{
-        open:false,
-        title:"分配区域",
-      },
-      //选择的区域
-      addressId:null,
-      citysAreaList:[],
       // 遮罩层
       loading: false,
       qwUserList:[],
@@ -693,13 +684,6 @@ export default {
       })
 
     },
-    cancelArea(){
-      this.companyUserArea.open=false;
-      this.addressId=null;
-    },
-    handerCompanyUserAreaList(){
-      this.companyUserArea.open=true;
-    },
     // 绑定个微
     gwBind(row){
       this.gwOpen = true
@@ -774,22 +758,6 @@ export default {
       this.open = false;
       this.reset();
     },
-
-    submitFormArea(address){
-      const uIds = this.ids;
-
-      if (address == null){
-        this.$message.error("请选择地区");
-        return;
-      }
-      updateCompanyUserAreaList({userIds:uIds,addressId:address}).then(res=>{
-        this.companyUserArea.open=false;
-        this.getList();
-        this.msgSuccess("操作成功");
-
-      })
-
-    },
     cancelArea(){
       this.companyUserArea.open=false;
       this.addressId=null;