Просмотр исходного кода

协议调度-排序、任务池-归属信息

yaoyao 1 год назад
Родитель
Сommit
9a8816d46b

+ 9 - 0
src/http/moudules/insCompany.js

@@ -1130,4 +1130,13 @@ export const findTree = (data) => {
     method: 'post',
     data
   })
+}
+
+// 协议调度排序
+export const modifySort = (params) => {
+  return axios({
+    url: '/tax/manager/modifySort',
+    method: "get",
+    params,
+  })
 }

+ 50 - 0
src/views/AgreementManage/CarInsurance/SourceManagement.vue

@@ -200,6 +200,20 @@
         <el-button size="small" type="primary" @click="configAdd">确 定</el-button>
       </span>
     </el-dialog>
+
+    <el-dialog title="排序" :visible.sync="paixudialogVisible" width="30%">
+      <div>
+        <el-form size="small">
+          <el-form-item label="排序">
+            <el-input size="small" v-model="paixuData.sort" placeholder="请输入排序" style="width: 300px;"></el-input>
+          </el-form-item>
+        </el-form>
+      </div>
+      <span slot="footer" class="dialog-footer">
+        <el-button @click="paixudialogVisible = false">取 消</el-button>
+        <el-button type="primary" @click="subPaixu">确 定</el-button>
+      </span>
+    </el-dialog>
   </div>
 </template>
 <script>
@@ -306,6 +320,13 @@ export default {
               return this.configuration(row);
             },
           },
+          {
+            label: "排序",
+            type: "text",
+            click: (row, index) => {
+              return this.openPaixu(row);
+            },
+          },
         ],
       },
       pageData: {
@@ -321,6 +342,11 @@ export default {
         insCompanyId: "",
         agreementTaxExcludeDeptList: [],
       },
+      paixudialogVisible: false,
+      paixuData: {
+        companyId: '',
+        sort: '',
+      },
     };
   },
   created() {
@@ -358,6 +384,30 @@ export default {
     this.findPage();
   },
   methods: {
+    closePaixu() {
+      this.paixudialogVisible = false
+      this.paixuData = {
+        companyId: '',
+        sort: '',
+      }
+    },
+    subPaixu() {
+      this.$api.insCompany.modifySort(this.paixuData).then((res) => {
+        if (res.code == 200) {
+          this.$message.success(res.msg)
+          this.findPage()
+          this.closePaixu()
+        } else {
+          this.$message.error(res.msg)
+        }
+      })
+    },
+    openPaixu(row) {
+      // this.rowData = row
+      console.log(row)
+      this.paixuData.companyId = row.id
+      this.paixudialogVisible = true
+    },
     agreementChange(e) {
       this.agreementList.forEach((val, index) => {
         if (val.id ==  e) {

+ 1 - 0
src/views/Task/AgentPoolChannel/AgentPoolChannel1.vue

@@ -103,6 +103,7 @@ export default {
       columns: [
         { prop: "subOrderId", label: "订单号", minWidth: 180 },
         { prop: "product", label: "投保险种", minWidth: 100 },
+        { prop: "areaInfo", label: "归属信息", minWidth: 150 },
         { prop: "username", label: "业务员姓名", minWidth: 180 },
         { prop: "leaderName", label: "管理人", minWidth: 160, },
         { prop: "managementSource", label: "业务来源", minWidth: 160, formatter: this.managementSourceFormatter },

+ 1 - 0
src/views/Task/AgentPoolChannel/AgentPoolChannel2.vue

@@ -110,6 +110,7 @@ export default {
       columns: [
         { prop: "subOrderId", label: "订单号", minWidth: 180 },
         { prop: "product", label: "投保险种", minWidth: 100 },
+        { prop: "areaInfo", label: "归属信息", minWidth: 150 },
         { prop: "username", label: "业务员姓名", minWidth: 180 },
         { prop: "leaderName", label: "管理人", minWidth: 160, },
         { prop: "managementSource", label: "业务来源", minWidth: 160, formatter: this.managementSourceFormatter },

+ 1 - 0
src/views/Task/AgentPoolChannel/AgentPoolChannel3.vue

@@ -84,6 +84,7 @@ export default {
       columns1: [
         { prop: "subOrderId", label: "订单号", minWidth: 180 },
         { prop: "product", label: "投保险种", minWidth: 100 },
+        { prop: "areaInfo", label: "归属信息", minWidth: 150 },
         { prop: "username", label: "业务员姓名", minWidth: 180 },
         { prop: "leaderName", label: "管理人", minWidth: 160, },
         { prop: "managementSource", label: "业务来源", minWidth: 160, formatter: this.managementSourceFormatter },

+ 1 - 0
src/views/Task/AgentPoolChannel/AgentPoolChannel4.vue

@@ -105,6 +105,7 @@ export default {
       ], columns: [
         { prop: "subOrderId", label: "订单号", minWidth: 180 },
         { prop: "product", label: "投保险种", minWidth: 100 },
+        { prop: "areaInfo", label: "归属信息", minWidth: 150 },
         { prop: "username", label: "业务员姓名", minWidth: 180 },
         { prop: "leaderName", label: "管理人", minWidth: 160, },
         { prop: "managementSource", label: "业务来源", minWidth: 160, formatter: this.managementSourceFormatter },

+ 1 - 0
src/views/Task/CompanyPoolChannel/CompanyPoolChannel1.vue

@@ -104,6 +104,7 @@ export default {
       columns: [
         { prop: "subOrderId", label: "订单号", minWidth: 180 },
         { prop: "product", label: "投保险种", minWidth: 100 },
+        { prop: "areaInfo", label: "归属信息", minWidth: 150 },
         { prop: "username", label: "业务员姓名", minWidth: 180 },
         { prop: "leaderName", label: "管理人", minWidth: 160, },
         { prop: "managementSource", label: "业务来源", minWidth: 160, formatter: this.managementSourceFormatter },

+ 1 - 0
src/views/Task/CompanyPoolChannel/CompanyPoolChannel2.vue

@@ -181,6 +181,7 @@ export default {
       columns: [
         { prop: "subOrderId", label: "订单号", minWidth: 180 },
         { prop: "product", label: "投保险种", minWidth: 100 },
+        { prop: "areaInfo", label: "归属信息", minWidth: 150 },
         { prop: "username", label: "业务员姓名", minWidth: 180 },
         { prop: "leaderName", label: "管理人", minWidth: 160, },
         { prop: "managementSource", label: "业务来源", minWidth: 160, formatter: this.managementSourceFormatter },

+ 1 - 0
src/views/Task/CompanyPoolChannel/CompanyPoolChannel3.vue

@@ -222,6 +222,7 @@ export default {
       columns1: [
         { prop: "subOrderId", label: "订单号", minWidth: 180 },
         { prop: "product", label: "投保险种", minWidth: 100 },
+        { prop: "areaInfo", label: "归属信息", minWidth: 150 },
         { prop: "username", label: "业务员姓名", minWidth: 180 },
         { prop: "leaderName", label: "管理人", minWidth: 160, },
         { prop: "managementSource", label: "业务来源", minWidth: 160, formatter: this.managementSourceFormatter },

+ 1 - 0
src/views/Task/CompanyPoolChannel/CompanyPoolChannel4.vue

@@ -109,6 +109,7 @@ export default {
       columns: [
         { prop: "subOrderId", label: "订单号", minWidth: 180 },
         { prop: "product", label: "投保险种", minWidth: 100 },
+        { prop: "areaInfo", label: "归属信息", minWidth: 150 },
         { prop: "username", label: "业务员姓名", minWidth: 180 },
         { prop: "leaderName", label: "管理人", minWidth: 160, },
         { prop: "managementSource", label: "业务来源", minWidth: 160, formatter: this.managementSourceFormatter },

+ 1 - 0
src/views/Task/ElectricSales/AgentPoolChannel.vue

@@ -79,6 +79,7 @@ export default {
       columns: [
         { prop: "subOrderId", label: "订单号", minWidth: 180 },
         { prop: "product", label: "投保险种", minWidth: 100 },
+        { prop: "areaInfo", label: "归属信息", minWidth: 150 },
         { prop: "username", label: "业务员姓名", minWidth: 180 },
         { prop: "managementSource", label: "业务来源", minWidth: 160, formatter: this.managementSourceFormatter },
         { prop: "entryStatus", label: "录入来源", minWidth: 160, formatter: this.entryStatusFormatter },

+ 1 - 0
src/views/Task/ElectricSales/AgentPoolChannel1.vue

@@ -102,6 +102,7 @@ export default {
       ], columns: [
         { prop: "subOrderId", label: "订单号", minWidth: 180 },
         { prop: "product", label: "投保险种", minWidth: 100 },
+        { prop: "areaInfo", label: "归属信息", minWidth: 150 },
         { prop: "username", label: "业务员姓名", minWidth: 180 },
         // { prop: "userid", label: "业务员", minWidth: 160, formatter: this.useridFormatter },
         { prop: "managementSource", label: "业务来源", minWidth: 160, formatter: this.managementSourceFormatter },

+ 1 - 0
src/views/Task/ElectricSales/AgentPoolChannel2.vue

@@ -110,6 +110,7 @@ export default {
       columns: [
         { prop: "subOrderId", label: "订单号", minWidth: 180 },
         { prop: "product", label: "投保险种", minWidth: 100 },
+        { prop: "areaInfo", label: "归属信息", minWidth: 150 },
         { prop: "username", label: "业务员姓名", minWidth: 180 },
         // { prop: "userid", label: "业务员", minWidth: 160, formatter: this.useridFormatter },
         { prop: "managementSource", label: "业务来源", minWidth: 160, formatter: this.managementSourceFormatter },

+ 1 - 0
src/views/Task/ElectricSales/AgentPoolChannel3.vue

@@ -84,6 +84,7 @@ export default {
       columns1: [
         { prop: "subOrderId", label: "订单号", minWidth: 180 },
         { prop: "product", label: "投保险种", minWidth: 100 },
+        { prop: "areaInfo", label: "归属信息", minWidth: 150 },
         { prop: "username", label: "业务员姓名", minWidth: 180 },
         // { prop: "userid", label: "业务员", minWidth: 160, formatter: this.useridFormatter },
         { prop: "managementSource", label: "业务来源", minWidth: 160, formatter: this.managementSourceFormatter },

+ 1 - 0
src/views/Task/ElectricSales/AgentPoolChannel4.vue

@@ -106,6 +106,7 @@ export default {
       columns: [
         { prop: "subOrderId", label: "订单号", minWidth: 180 },
         { prop: "product", label: "投保险种", minWidth: 100 },
+        { prop: "areaInfo", label: "归属信息", minWidth: 150 },
         { prop: "username", label: "业务员姓名", minWidth: 180 },
         // { prop: "userid", label: "业务员", minWidth: 160, formatter: this.useridFormatter },
         { prop: "managementSource", label: "业务来源", minWidth: 160, formatter: this.managementSourceFormatter },

+ 1 - 0
src/views/Task/TaskPoolChannel/TaskPoolChannel1.vue

@@ -101,6 +101,7 @@ export default {
       columns: [
         { prop: "subOrderId", label: "订单号", minWidth: 180 },
         { prop: "product", label: "投保险种", minWidth: 100 },
+        { prop: "areaInfo", label: "归属信息", minWidth: 150 },
         { prop: "username", label: "业务员姓名", minWidth: 180 },
         { prop: "leaderName", label: "管理人", minWidth: 160, },
         { prop: "managementSource", label: "业务来源", minWidth: 160, formatter: this.managementSourceFormatter },

+ 1 - 0
src/views/Task/TaskPoolChannel/TaskPoolChannel2.vue

@@ -110,6 +110,7 @@ export default {
       columns: [
         { prop: "subOrderId", label: "订单号", minWidth: 180 },
         { prop: "product", label: "投保险种", minWidth: 100 },
+        { prop: "areaInfo", label: "归属信息", minWidth: 150 },
         { prop: "username", label: "业务员姓名", minWidth: 180 },
         { prop: "leaderName", label: "管理人", minWidth: 160, },
         { prop: "managementSource", label: "业务来源", minWidth: 160, formatter: this.managementSourceFormatter },

+ 1 - 0
src/views/Task/TaskPoolChannel/TaskPoolChannel3.vue

@@ -81,6 +81,7 @@ export default {
       columns1: [
         { prop: "subOrderId", label: "订单号", minWidth: 180 },
         { prop: "product", label: "投保险种", minWidth: 100 },
+        { prop: "areaInfo", label: "归属信息", minWidth: 150 },
         { prop: "username", label: "业务员姓名", minWidth: 180 },
         { prop: "leaderName", label: "管理人", minWidth: 160, },
         { prop: "managementSource", label: "业务来源", minWidth: 160, formatter: this.managementSourceFormatter },

+ 1 - 0
src/views/Task/TaskPoolChannel/TaskPoolChannel4.vue

@@ -106,6 +106,7 @@ export default {
       columns: [
         { prop: "subOrderId", label: "订单号", minWidth: 180 },
         { prop: "product", label: "投保险种", minWidth: 100 },
+        { prop: "areaInfo", label: "归属信息", minWidth: 150 },
         { prop: "username", label: "业务员姓名", minWidth: 180 },
         { prop: "leaderName", label: "管理人", minWidth: 160, },
         { prop: "managementSource", label: "业务来源", minWidth: 160, formatter: this.managementSourceFormatter },

+ 2 - 0
src/views/Task/mixin.js

@@ -146,6 +146,7 @@ export const mixin = { // 导出混入对象
       columns: [
         { prop: "subOrderId", label: "订单号", minWidth: 180 },
         { prop: "product", label: "投保险种", minWidth: 100 },
+        { prop: "areaInfo", label: "归属信息", minWidth: 150 },
         { prop: "username", label: "业务员姓名", minWidth: 180 },
         { prop: "leaderName", label: "管理人", minWidth: 160, },
         { prop: "managementSource", label: "业务来源", minWidth: 160, formatter: this.managementSourceFormatter },
@@ -167,6 +168,7 @@ export const mixin = { // 导出混入对象
       columns1: [
         { prop: "subOrderId", label: "订单号", minWidth: 180 },
         { prop: "product", label: "投保险种", minWidth: 100 },
+        { prop: "areaInfo", label: "归属信息", minWidth: 150 },
         { prop: "username", label: "业务员姓名", minWidth: 180 },
         { prop: "leaderName", label: "管理人", minWidth: 160, },
         { prop: "managementSource", label: "业务来源", minWidth: 160, formatter: this.managementSourceFormatter },