Browse Source

咨询加上分类的管理

ccf 4 years ago
parent
commit
3a21d944e8
89 changed files with 188 additions and 168 deletions
  1. 2 2
      dist/200.html
  2. 1 0
      dist/_nuxt/249b986.js
  3. 1 1
      dist/_nuxt/1bdb7df.js
  4. 0 1
      dist/_nuxt/6d20221.js
  5. 0 1
      dist/_nuxt/832b064.js
  6. 1 0
      dist/_nuxt/bf12929.js
  7. 0 1
      dist/_nuxt/css/1551946.css
  8. 1 0
      dist/_nuxt/css/c91d18c.css
  9. 2 2
      dist/index.html
  10. 2 2
      dist/login/index.html
  11. 2 2
      dist/main/404/index.html
  12. 2 2
      dist/main/account_manager/index.html
  13. 2 2
      dist/main/artificial_order/index.html
  14. 2 2
      dist/main/artificial_orders/index.html
  15. 2 2
      dist/main/balance_change/index.html
  16. 2 2
      dist/main/cancel_account/index.html
  17. 2 2
      dist/main/card_conf/index.html
  18. 2 2
      dist/main/cash_form/index.html
  19. 2 2
      dist/main/cats/index.html
  20. 2 2
      dist/main/cert_check/index.html
  21. 2 2
      dist/main/cert_edit/index.html
  22. 2 2
      dist/main/cert_pro/index.html
  23. 2 2
      dist/main/chat_users/index.html
  24. 2 2
      dist/main/cloud_balance/index.html
  25. 2 2
      dist/main/cloud_developer/index.html
  26. 2 2
      dist/main/cloud_job/index.html
  27. 2 2
      dist/main/company_vip/index.html
  28. 2 2
      dist/main/cps_manage/index.html
  29. 2 2
      dist/main/dev_check/index.html
  30. 2 2
      dist/main/dev_check_detail/index.html
  31. 2 2
      dist/main/dev_show/index.html
  32. 2 2
      dist/main/free_work/index.html
  33. 2 2
      dist/main/gongmall/index.html
  34. 2 2
      dist/main/group_list/index.html
  35. 2 2
      dist/main/index.html
  36. 2 2
      dist/main/invoice_audit/index.html
  37. 2 2
      dist/main/jishuquan/index.html
  38. 2 2
      dist/main/job/index.html
  39. 2 2
      dist/main/jobs/index.html
  40. 2 2
      dist/main/jobs_behalf_post/index.html
  41. 2 2
      dist/main/jobs_publish_company/index.html
  42. 2 2
      dist/main/js/sale/index.html
  43. 2 2
      dist/main/js/sale_order/index.html
  44. 2 2
      dist/main/js/user_workfile_list/index.html
  45. 2 2
      dist/main/kaifabao/index.html
  46. 2 2
      dist/main/kaifawu_contact/index.html
  47. 2 2
      dist/main/occupation_setting/index.html
  48. 2 2
      dist/main/orders/index.html
  49. 2 2
      dist/main/orders_detail/index.html
  50. 2 2
      dist/main/orders_frozen/index.html
  51. 2 2
      dist/main/outsource_bill/index.html
  52. 2 2
      dist/main/persona/index.html
  53. 2 2
      dist/main/present_job_apply/index.html
  54. 2 2
      dist/main/project_form/index.html
  55. 2 2
      dist/main/publish_present/index.html
  56. 2 2
      dist/main/publish_recruit/index.html
  57. 2 2
      dist/main/qingtuanbao/index.html
  58. 2 2
      dist/main/quick_manage/index.html
  59. 2 2
      dist/main/recruit_manage/index.html
  60. 2 2
      dist/main/remark_list/index.html
  61. 2 2
      dist/main/report_business/index.html
  62. 2 2
      dist/main/report_cash/index.html
  63. 2 2
      dist/main/sale/index.html
  64. 2 2
      dist/main/sale_order/index.html
  65. 2 2
      dist/main/solution/index.html
  66. 2 2
      dist/main/solution_detail/index.html
  67. 2 2
      dist/main/solution_manage/index.html
  68. 2 2
      dist/main/user_bills/index.html
  69. 2 2
      dist/main/user_cards_list/index.html
  70. 2 2
      dist/main/user_credit_item/index.html
  71. 2 2
      dist/main/user_credit_list/index.html
  72. 2 2
      dist/main/user_credit_setting/index.html
  73. 2 2
      dist/main/user_homepwd/index.html
  74. 2 2
      dist/main/user_search/index.html
  75. 2 2
      dist/main/user_workfile_list/index.html
  76. 2 2
      dist/main/vip_info/index.html
  77. 2 2
      dist/main/vip_manager/index.html
  78. 2 2
      dist/main/vip_order/index.html
  79. 2 2
      dist/main/vip_setting/index.html
  80. 2 2
      dist/main/wage_details/index.html
  81. 2 2
      dist/main/wage_settlement/index.html
  82. 2 2
      dist/main/wait_expend/index.html
  83. 2 2
      dist/main/weight_restore/index.html
  84. 2 2
      dist/main/withdraw/index.html
  85. 2 2
      dist/main/work_bill/index.html
  86. 2 2
      dist/main/work_statistics/index.html
  87. 2 2
      dist/main/workorder/index.html
  88. 22 3
      pages/main/index/js/sale.js
  89. 2 1
      pages/main/index/sale.vue

File diff suppressed because it is too large
+ 2 - 2
dist/200.html


File diff suppressed because it is too large
+ 1 - 0
dist/_nuxt/249b986.js


File diff suppressed because it is too large
+ 1 - 1
dist/_nuxt/1bdb7df.js


File diff suppressed because it is too large
+ 0 - 1
dist/_nuxt/6d20221.js


File diff suppressed because it is too large
+ 0 - 1
dist/_nuxt/832b064.js


File diff suppressed because it is too large
+ 1 - 0
dist/_nuxt/bf12929.js


File diff suppressed because it is too large
+ 0 - 1
dist/_nuxt/css/1551946.css


File diff suppressed because it is too large
+ 1 - 0
dist/_nuxt/css/c91d18c.css


File diff suppressed because it is too large
+ 2 - 2
dist/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/login/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/404/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/account_manager/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/artificial_order/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/artificial_orders/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/balance_change/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cancel_account/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/card_conf/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cash_form/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cats/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cert_check/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cert_edit/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cert_pro/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/chat_users/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cloud_balance/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cloud_developer/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cloud_job/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/company_vip/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cps_manage/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/dev_check/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/dev_check_detail/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/dev_show/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/free_work/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/gongmall/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/group_list/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/invoice_audit/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/jishuquan/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/job/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/jobs/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/jobs_behalf_post/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/jobs_publish_company/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/js/sale/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/js/sale_order/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/js/user_workfile_list/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/kaifabao/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/kaifawu_contact/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/occupation_setting/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/orders/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/orders_detail/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/orders_frozen/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/outsource_bill/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/persona/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/present_job_apply/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/project_form/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/publish_present/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/publish_recruit/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/qingtuanbao/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/quick_manage/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/recruit_manage/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/remark_list/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/report_business/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/report_cash/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/sale/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/sale_order/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/solution/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/solution_detail/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/solution_manage/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/user_bills/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/user_cards_list/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/user_credit_item/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/user_credit_list/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/user_credit_setting/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/user_homepwd/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/user_search/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/user_workfile_list/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/vip_info/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/vip_manager/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/vip_order/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/vip_setting/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/wage_details/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/wage_settlement/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/wait_expend/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/weight_restore/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/withdraw/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/work_bill/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/work_statistics/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/workorder/index.html


+ 22 - 3
pages/main/index/js/sale.js

@@ -39,7 +39,6 @@ export default {
   },
   mounted() {
     this.getAuditList();
-    this.getTableData();
   },
   methods: {
     addDialogEvent(row) {
@@ -52,7 +51,7 @@ export default {
     formAdd() {
       this.$post("/api/admin/common/addCategory", this.add_form).then(res => {
         if (res && res.status === 1) {
-          this.getTableData();
+          this.getCategoryMap();
           this.$message.success('操作成功')
           this.addDialog = false;
           this.add_form.parent_id =0;
@@ -134,10 +133,30 @@ export default {
     },
     //筛选类型
     async typechange(val) {
+      let form = this.add_form;
       this.page=1;
       this.type=val;
       this.keywords="";
+      if(val==1)
+      {
+        this.catetype=2;
+        form.type=2;
+        this.add_form=form;
+      }
+      else if(val==2)
+      {
+        this.catetype=3;
+        form.type=3;
+        this.add_form=form;
+      }
+      else
+      {
+        this.catetype=0;
+        form.type=0;
+        this.add_form=form;
+      }
       this.getAuditList();
+      this.getCategoryMap();
     },
     //删选状态
     async statuschange(val) {
@@ -153,7 +172,7 @@ export default {
       this.getAuditList();
     },
     //获取分类列表
-    async getTableData() {
+    async getCategoryMap() {
       let id = 1;
       let arr = [];
       let where={type:this.catetype};

+ 2 - 1
pages/main/index/sale.vue

@@ -6,7 +6,8 @@
       <el-radio-button :label="2">咨询服务({{ count.type2}})</el-radio-button>
     </el-radio-group>
 
-    <el-button type="primary" @click="outerVisible = true" style="margin-top: 15px;margin-right: 30px;float: right">分类管理</el-button>
+    <el-button type="primary" v-if="type===1" @click="outerVisible = true" style="margin-top: 15px;margin-right: 30px;float: right">技术分类</el-button>
+    <el-button type="primary" v-if="type===2" @click="outerVisible = true" style="margin-top: 15px;margin-right: 30px;float: right">咨询分类</el-button>
 
     <div style="clear: both;"></div>
     <el-radio-group v-model="status" size="medium" @change="statuschange" style="margin-top: 15px;">