Browse Source

增加客服类型选项(发版)

shipeng 1 week ago
parent
commit
0c1f104b60

+ 11 - 11
src/views/officesale/ticketingSales.vue

@@ -376,7 +376,7 @@ import { mapGetters } from 'vuex'
                 param.status  = 1;
                 let res = await merchantPerformTimeListNew(param)
                 if(res.code == 200){
-                    console.log('merchantPerformTimeListS',res.data.rows);
+                    // console.log('merchantPerformTimeListS',res.data.rows);
                     this.merchantPerformTimeListS = res.data.list
                 }
             } catch (error) {
@@ -501,12 +501,12 @@ import { mapGetters } from 'vuex'
                     return a.sort - b.sort
                 })
                 this.seatMapListKey = seatMapListKey
-                console.log("seatMapListKey=====",seatMapListKey)
+                // console.log("seatMapListKey=====",seatMapListKey)
                 this.width = 70*(flog + 1)
                 this.$nextTick(()=>{
                     if(this.$refs.seatbox) {
                         var ele = this.$refs.seatbox
-                        console.log(ele.getBoundingClientRect().width); // 100
+                        // console.log(ele.getBoundingClientRect().width); // 100
                         if(this.width<ele.getBoundingClientRect().width) {
                             this.justifyContent = true
                         }else {
@@ -517,7 +517,7 @@ import { mapGetters } from 'vuex'
                     }
                 })
                 
-                console.log("list====",listCopy)
+                // console.log("list====",listCopy)
                 
                 let columnList = []
                 listCopy[seatMapListKey[0].key].forEach((item,index)=>{
@@ -550,7 +550,7 @@ import { mapGetters } from 'vuex'
         },
         /**  选择场次时间  */
         changeTime(value,type){
-            console.log("fsdfsdf----",value,type)
+            // console.log("fsdfsdf----",value,type)
             if(type == 'timeId') {
                 this.$set(this.queryParams,'goodsId','')
                 this.stockType = null
@@ -578,9 +578,9 @@ import { mapGetters } from 'vuex'
         },
         /**  选择场次时间  */
         async changeTimeCheck(value,type){
-            console.log("fsdfsdf")
+            // console.log("fsdfsdf")
             if(this.queryParams && this.queryParams.timeId && type != 'timeId' && type != 'goodsId') {
-                console.log('sdfsdfsdf',this.queryParams)
+                // console.log('sdfsdfsdf',this.queryParams)
                 this.$set(this.queryParams,'timeId','')
                 this.$set(this.queryParams,'goodsId','')
                 this.merchantPerformTimeListS = []
@@ -593,7 +593,7 @@ import { mapGetters } from 'vuex'
             if(type == 'goodsId'){
                 //this.$refs.queryForm.clearValidate("goodsId")
                 if(value) {
-                    console.log("dsfsdfdsfds===",value)
+                    // console.log("dsfsdfdsfds===",value)
                     await this.getGoodsPerformFun(value);
 
                     this.handleQuery()
@@ -615,7 +615,7 @@ import { mapGetters } from 'vuex'
         },
         /**  设置 场次 对应得剧目ID */
         changePerformId(value){
-            console.log("value=====",value)
+            // console.log("value=====",value)
             this.performId = ''
             this.merchantPerformTimeListS.forEach((item,index)=>{
                 if(item.id == value){
@@ -625,7 +625,7 @@ import { mapGetters } from 'vuex'
         },
         /**  设置 票务 对应价格 */
         changeSalePrice(value){
-            console.log("value=====",value)
+            // console.log("value=====",value)
             this.salePrice = null
             this.goodsPageListS.forEach((item,index)=>{
                 if(item.goodsId == value){
@@ -892,7 +892,7 @@ import { mapGetters } from 'vuex'
                             left: (e.x + 10)+ 'px',
                             zIndex: 999999
                         }
-                        console.log('dsfdsff====',this.lockObj,this.lockStyle)
+                        // console.log('dsfdsff====',this.lockObj,this.lockStyle)
                         return
                     }else {
                         this.isLcokShow = false

+ 2 - 1
src/views/system/menu/index.vue

@@ -72,7 +72,7 @@
       </el-table-column>
       <el-table-column prop="menuScope" label="菜单范围" align="center" width="100">
         <template slot-scope="scope">
-          {{ scope.row.menuScope == 1? "后台": "窗口" }}
+          {{ scope.row.menuScope == 1? "后台":scope.row.menuScope == 2 ? "窗口" : '客服' }}
         </template>
       </el-table-column>
       <el-table-column label="创建时间" align="center" prop="createTime">
@@ -136,6 +136,7 @@
               <el-radio-group v-model="form.menuScope">
                 <el-radio :label="1">后台</el-radio>
                 <el-radio :label="2">窗口</el-radio>
+                <el-radio :label="3">客服</el-radio>
               </el-radio-group>
             </el-form-item>
           </el-col>

+ 2 - 1
src/views/system/role/index.vue

@@ -103,7 +103,7 @@
       <el-table-column label="角色名称" prop="roleName" :show-overflow-tooltip="true" width="150" />
       <el-table-column label="权限字符" prop="roleKey" :show-overflow-tooltip="true" width="150" />
       <el-table-column label="类型" prop="roleType" width="100">
-        <template slot-scope="scope">{{ scope.row.roleType === 1? '管理员' : '售票员' }}</template>
+        <template slot-scope="scope">{{ scope.row.roleType === 1? '管理员' :scope.row.roleType === 2? '售票员' : '客服' }}</template>
       </el-table-column>
       <el-table-column label="显示顺序" prop="roleSort" align="center" width="100" />
       <el-table-column label="状态" align="center" width="100">
@@ -180,6 +180,7 @@
           <el-radio-group v-model="form.roleType" @input="inputChange">
             <el-radio :label="1">管理员</el-radio>
             <el-radio :label="2">售票员</el-radio>
+            <el-radio :label="3">客服</el-radio>
           </el-radio-group>
         </el-form-item>
         <el-form-item label="状态">