qymljy 2 rokov pred
rodič
commit
73f47ff5f2

+ 0 - 14
src/HDrpManagement/dataanalysis/index.vue

@@ -1,7 +1,6 @@
 <template>
   <normalLayout>
     <template #refresh>
-<!--      <el-button icon="el-icon-refresh-right" type="text" size="small" style="color: #606266" @click="refresh" v-loading.fullscreen.lock="fullscreenLoading"></el-button>-->
       <i class="el-icon-refresh-right" @click="refresh" v-loading.fullscreen.lock="fullscreenLoading"></i>
     </template>
     <template #content>
@@ -131,28 +130,15 @@ export default {
     },
     refresh(){
       this.fullscreenLoading = true;
-
-     /* this.dataParam.content.type = ''
-      this.dataParam.content.dataid = ''
-      this.tableParam.content.type = ''
-      this.tableParam.content.dataid = ''
-      this.range = ''
-      this.dataid = ''*/
       this.$refs.assignment.queryList()
       this.$refs.sales.queryList()
       this.$refs.performance.queryList()
-   /*   this.$refs.clueModel.$refs.quickAdd.select = '周'
-      this.$refs.clueModel.$refs.quickUpd.select = '周'
-      this.$refs.clueModel.$refs.quickFow.select = '周'*/
       this.$refs.clue.queryAdd()
       this.$refs.clue.queryUpdate()
       this.$refs.clue.queryFollow()
       setTimeout(() => {
         this.fullscreenLoading = false;
       }, 2000);
-      /*this.$nextTick(()=>{
-        this.fullscreenLoading = false
-      })*/
     },
     createMenu (array) {
       var that = this

+ 0 - 6
src/HDrpManagement/projectChange/modules/modules/clue/index.vue

@@ -17,12 +17,6 @@
     <div style="margin-top: 15px">
       <tableLayout :layout="tablecols" :data="list" :opwidth="200"  :custom="true" :width="false"  :height="tableHieght" fixedName="operation">
         <template v-slot:customcol="scope">
-<!--          <p v-if="scope.column.columnname == 'leader'">
-            <span v-if="scope.column.data[scope.column.columnname]">
-              {{scope.column.data[scope.column.columnname][0].name}}
-            </span>
-            <span v-else>&#45;&#45;</span>
-          </p>-->
           <div v-if="scope.column.columnname == 'status'">
             <span style="color:#999999" v-if="scope.column.data[[scope.column.columnname]] == '已过期'">{{scope.column.data[[scope.column.columnname]]}}</span>
             <span style="color:#52c41a" v-else-if="scope.column.data[[scope.column.columnname]] == '跟进中'">{{scope.column.data[[scope.column.columnname]]}}</span>

+ 6 - 31
src/HDrpManagement/publicCustomer/index.vue

@@ -1,10 +1,10 @@
 <template>
   <div>
-    <basicLayout 
+    <basicLayout
       ref="basicLayout"
-      formPath="publicCustomer" 
-      tableName="publicCustomerTable" 
-      idName="sa_customersid" 
+      formPath="publicCustomer"
+      tableName="publicCustomerTable"
+      idName="sa_customersid"
       :apiId="{query:20221011133602,del:''}"
       :options="options"
       :autoQuery="false"
@@ -255,7 +255,7 @@ export default {
       /* 获取客户等级 */
       let res2 = await this.$store.dispatch('optiontypeselect','customergrade')
       this.customerLead = res2.data
-      
+
     },
     /* 获取公海数据 */
     async getPublicList() {
@@ -280,22 +280,6 @@ export default {
       })
       this.arealist = this.tool.createMenu(res.data)
     },
-    /*/!*获取公海列表*!/
-    async queryPool(){
-      const res = await this.$api.requested({
-        "id": 20221009100702,
-        "content": {
-          "pageNumber": 1,
-          "pageSize": 99,
-          "where": {
-            "condition": "",
-            "startdate": "",
-            "enddate": ""
-          }
-        },
-      })
-      this.option.poolList = res.data
-    },*/
     handleCommand(command){
       this.tabIndex = command.sa_customerpoolid
       this.poolValue = command.poolname
@@ -335,16 +319,7 @@ export default {
           }
         }
       })
-      console.log("客户等级",res.data)
-      /*for (var i=0;i<res.data.length; i++){
-        if (res.data[i].remarks !== ''){
-          this.options.gradeData[i] = res.data[i].value + "——" + res.data[i].remarks
-        }else{
-          this.options.gradeData[i] = res.data[i].value
-        }
-      }*/
       this.option.customerClassification = res.data
-      console.log("处理后客户等级",this.options.customerClassification)
     },
     /*客户等级*/
     queryCustomerGrade(){
@@ -483,4 +458,4 @@ export default {
 .s_panel{
   margin-bottom: 10px;
 }
-</style>
+</style>

+ 5 - 5
src/HDrpManagement/publicCustomer/modules/detail.vue

@@ -204,10 +204,10 @@ export default {
         }
       })
       this.tagObj = res.data
-      
+
     },
     async queryMainData (id) {
-     
+
       const res = await this.$api.requested({
         "id": "20221012164302",
         "content": {
@@ -274,7 +274,7 @@ export default {
                 break;
             }
             return style
-            
+
           }
         },
         {
@@ -296,7 +296,7 @@ export default {
                 break;
             }
             return style
-            
+
           }
         },
         {
@@ -381,4 +381,4 @@ export default {
 
 </script>
 <style>
-</style>
+</style>

+ 0 - 14
src/HManagement/clueManage/clue_private/index.vue

@@ -1,6 +1,5 @@
 
 <template>
-      <!-- :tableName="value == '经销商' ? 'cluePrivateTable' : 'cluePrivateSalerTable'"  -->
   <div>
     <basicLayout
       ref="basicLayout"
@@ -19,22 +18,10 @@
       @checkboxCallBack="checkboxCallBack"
     >
       <div slot="titleRight" >
-        <!-- <distribution class="inline-16" v-if="tool.checkAuth($route.name,'distributionAgent')" @onSuccess="$refs.basicLayout.listData()"></distribution> -->
         <distributionSaler type="线索管理" v-if="tool.checkAuth($route.name,'distributionSaler')" @onSuccess="$refs.basicLayout.listData($refs.basicLayout.param.content.pageNumber = 1)" class="inline-16"></distributionSaler>
         <changeSite v-if="tool.checkAuth($route.name,'changeSite')" class="inline-16" :selectList="selectList" @onSuccess="$refs.basicLayout.listData($refs.basicLayout.param.content.pageNumber = 1)"></changeSite>
       </div>
       <template #custom>
-        <!-- <div class="label_center" style="display:flex;margin-right:10px">
-          <p class="search__label">人员类别:</p>
-          <el-select size="small" v-model="value" placeholder="请选择人员类别" @change="selectChange">
-            <el-option
-              v-for="item in select"
-              :key="item.value"
-              :label="item.label"
-              :value="item.value">
-            </el-option>
-          </el-select>
-        </div> -->
         <div class="mt-10">
           <p class="search__label">跟进状态:</p>
           <el-select v-model="status" clearable style="margin-right:10px" size="small" placeholder="请选择线索状态" @change="$refs.basicLayout.param.content.pageNumber = 1 ;$refs.basicLayout.param.content.where.status = status;$refs.basicLayout.listData()">
@@ -114,7 +101,6 @@
         <div v-else>
           {{scope.data.column.data[[scope.data.column.columnname]]?scope.data.column.data[[scope.data.column.columnname]]:'--'}}
         </div>
-<!--        <span v-if="!scope.data.column.data[scope.data.column.columnname] ">&#45;&#45;</span>-->
       </template>
     </basicLayout>
   </div>

+ 1 - 1
src/HManagement/clueManage/clue_private/modules/distobutionOne.vue

@@ -10,7 +10,7 @@
         <tableLayout :layout="tablecols2" :data="agentlist" :custom="true" :height="tableHieght">
           <template v-slot:customcol="scope">
             <div v-if="scope.column.columnname === 'ismatch'">
-              <p :style="scope.column.data.ismatch === 1?'color:#52c41a':''">{{scope.column.data.ismatch === 1?'是':'否'}}</p>
+              <p :style="scope.column.data.ismatch === 1?'color:#52c41a':''">{{scope.column.data.ismatch === 1?'是':'否'}}</p>
             </div>
             <div v-else-if="scope.column.columnname === 'province'">
               <span>{{scope.column.data.province}} - {{scope.column.data.city}} - {{scope.column.data.county}}</span>

+ 6 - 10
src/HManagement/clueManage/m_activity/index.vue

@@ -1,15 +1,15 @@
 
 <template>
   <div>
-    <basicLayout 
-      ref="basicLayout" 
+    <basicLayout
+      ref="basicLayout"
       :oldFormPath="{
         add:'HManagement/clueManage/m_activity/modules',
         edit:'HManagement/clueManage/m_activity/modules',
       }"
-      tableName="activitylist" 
-      idName="sat_campaignid" 
-      :apiId="{query:20221101095102,del:''}" 
+      tableName="activitylist"
+      idName="sat_campaignid"
+      :apiId="{query:20221101095102,del:''}"
       :options="options"
       :detailPath="{path:'/marketing_activityDetails',param:{tabIndex:tabIndex}}"
       :specialKey="[{key:'leader',value:'name'}]"
@@ -77,7 +77,6 @@
         <div v-else>
           {{scope.data.column.data[[scope.data.column.columnname]]?scope.data.column.data[[scope.data.column.columnname]]:'--'}}
         </div>
-<!--        <span v-if="!scope.data.column.data[scope.data.column.columnname] && scope.data.column.data[scope.data.column.columnname] !== 0">&#45;&#45;</span>-->
       </template>
     </basicLayout>
   </div>
@@ -162,12 +161,9 @@ export default {
   created () {
     this.campaigntype()
     this.querytemplet()
-   /* const res = await this.$store.dispatch('optiontypeselect','dataarea')
-    this.areaList2 = res.data
-    console.log(this.areaList2)*/
   }
 }
 
 </script>
 <style>
-</style>
+</style>

+ 4 - 4
src/HManagement/roleManage/modules/auth_list2.vue

@@ -51,7 +51,7 @@ export default {
             "pageSize": 10,
             "where":{
               "condition":"",
-            
+
             }
         }
       },
@@ -72,7 +72,7 @@ export default {
       this.list = res.data
       this.total = res.total
       console.log(this.list);
-      
+
     },
     onShow () {
       this.dialogTableVisible = true
@@ -92,7 +92,7 @@ export default {
         this.$emit('onSuccess')
         this.dialogTableVisible = false
       })
-      
+
     },
     handleSizeChange(val) {
       // console.log(`每页 ${val} 条`);
@@ -115,4 +115,4 @@ export default {
 .auth-container .el-tabs--border-card>.el-tabs__content{
   padding: 0;
 }
-</style>
+</style>

+ 1 - 1
src/HManagement/roleManage/modules/reportCenter.vue

@@ -76,7 +76,7 @@ export default {
     this.listData()
     this.tablecols = this.tool.tabelCol(this.$route.name).reportCenter.tablecols
     console.log(this.tablecols);
-    
+
   },
   methods: {
     async listData () {

+ 0 - 4
src/SDrpManagement/QuotedPrice/detail/index.vue

@@ -15,10 +15,6 @@
         :tabs="['产品明细折扣','产品类别折扣','详细信息','其他费用','历史报价']"
         @pageChange="pageChange"
         @onEditSuccess="queryMainData($route.query.id)">
-      <div slot="tags">
-        <!-- 使用此插槽可不传[tags] -->
-        <!-- :tabs="['经销商团队','代理区域','营销类别','账户余额']" -->
-      </div>
       <div slot="customOperation">
         <!-- 此区域提供了自定义操作按钮 -->
         <submit_to class="inline-16" v-if="tool.checkAuth($route.name,'submit') && mainData.status === '新建'" :disabled="mainData.disabled" :sa_quotedpriceid="mainData.sa_quotedpriceid" @onSubmit="onSuccess"></submit_to>

+ 1 - 1
src/SDrpManagement/QuotedPrice/detail/modules/itemClass/index.vue

@@ -242,4 +242,4 @@ export default {
   color: #666666;
 }
 
-</style>
+</style>

+ 0 - 19
src/SDrpManagement/salerPrivatecustomer/index.vue

@@ -18,12 +18,6 @@
         <div class="mt-10">
           <label class="search__label">范围:</label>
           <el-select class="inline-16" v-model="value" size="small" placeholder="请选择数据分类" @change="selectChange" >
-            <!-- <el-option
-              v-for="item in editableTabs"
-              :key="item.index"
-              :label="item.title"
-              :value="item.name">
-            </el-option> -->
             <el-option
               v-for="item in editableTabs"
               :key="item.index"
@@ -273,10 +267,6 @@ export default {
       this.tabIndex = command.name
       this.editableTabsValue = command.title
       this.selectChange()
-      /*this.$refs['list'].param.content.type = command.name
-      this.$refs['list'].param.content.isExport = 0
-      this.$refs['list'].listData()*/
-      // this.$store.dispatch('sendDataToForm',)
     },
     /*客户类型列表*/
     async typeList(){
@@ -313,16 +303,7 @@ export default {
           }
         }
       })
-      console.log("客户等级",res.data)
-      /*for (var i=0;i<res.data.length; i++){
-        if (res.data[i].remarks !== ''){
-          this.options.gradeData[i] = res.data[i].value + "——" + res.data[i].remarks
-        }else{
-          this.options.gradeData[i] = res.data[i].value
-        }
-      }*/
       this.option.customerClassification = res.data
-      console.log("处理后客户等级",this.options.customerClassification)
     },
     /*客户等级*/
     queryCustomerGrade(){

+ 1 - 10
src/SManagement/project_target/modules/components/projectAdd/project.vue

@@ -96,29 +96,20 @@ export default {
       this.$emit("onProject")
     },
     onRow(row){
-      console.log("**********************---------------------")
-      console.log(row)
       this.row = row
     },
     onSubmit(){
-      console.log("**********************---------------------")
       this.dialogProjectVisible = false
       this.$emit("onProject",this.row)
-      console.log(this.row)
     },
     addProject(val){
-      console.log(val,"选择的项目")
       this.$emit("onProject",val)
     }
 
   },
-
-  /*created() {
-    this.tablecols = this.tool.tabelCol(this.$route.name).projectTable.tablecols
-  }*/
 }
 </script>
 
 <style scoped>
 
-</style>
+</style>