ly преди 1 година
родител
ревизия
afab8cbb25

+ 2 - 2
src/views/business/crm/order/form.vue

@@ -8,7 +8,7 @@
             ><el-icon>
               <Document />
             </el-icon>
-            合同信息</span
+            合同信息222</span
           >
 
           <el-button
@@ -392,7 +392,7 @@
                             <div>{{ rowNum(item.amount) }}</div>
                           </el-form-item>
                         </el-col>
-                        <el-col :span="4" style="padding-top: 18px">
+                        <el-col :span="4" style="padding-top: 18px" v-if="item.taskTypeId ==4">
                           <el-form-item label="所属区">
                             <el-select
                             v-if="editStatus"

+ 25 - 2
src/views/business/production/IndividualIncomeTaxIs/index.vue

@@ -22,6 +22,11 @@
         <el-input v-model="queryParams.companyName" type="text" placeholder="请输入客户名称" :clearable="true"
           style="width: 220px" />
       </el-form-item>
+      <el-form-item label="客户标签:">
+        <el-select v-model="queryParams.customerLabelId" style="width:100%" clearable>
+          <el-option v-for="item in options" :key="item.id" :label="item.lable" :value="item.id" />
+        </el-select>
+      </el-form-item>
       <el-form-item label="个税所属期:" prop="year">
         <el-date-picker v-model="currentMonth" type="month" format="YYYY年MM月" style="width: 120px" :clearable="false"
           value-format="YYYY-MM-01" :disabled-date="disabledDateHandler" @change="monthChangeHandler" />
@@ -49,6 +54,18 @@
     <el-table v-loading="loading" :data="detailList" size="small" border  height="100%"
       @selection-change="handleSelectionChange">
       <el-table-column type="selection" width="55" align="center" />
+      <el-table-column label="客户名称" align="center" prop="companyName" min-width="250">
+        <template #default="scope">
+          <div style="display: flex; align-items: center; justify-content: center;">
+          <el-tooltip :content="scope.row.customerLabelName" placement="top">
+            <el-icon :size="15" >
+              <CollectionTag />
+            </el-icon>
+          </el-tooltip>
+            <span style="margin-left: 15px;">{{scope.row.companyName}}</span>
+          </div>
+        </template>
+      </el-table-column>
       <el-table-column label="客户名称" align="center" prop="companyName" min-width="250" />
       <el-table-column label="来源" align="center" prop="fromCompanyName" width="180" />
       <el-table-column label="税号" align="center" prop="socialCreditCode" width="180" />
@@ -199,7 +216,7 @@
   import MemberDialog from "./MemberDialog.vue";
   import FormDialog from "./FormDialog.vue";
   import useUserStore from "@/store/modules/user";
-
+  import { listLableNoPage } from "@/api/business/lable"
   const { proxy } = getCurrentInstance();
   const tenant = useUserStore().tenant;
   /** 字典数组区 */
@@ -219,6 +236,7 @@
   );
   const flag = ref(checkPermission(['business:individual:person']))
   const activeName = flag.value ? ref('first') : ref('second')
+  const options = ref([]);
   /** 查询对象 */
   const queryParams = ref({
     pageNum: 1,
@@ -244,7 +262,11 @@
   });
 
   /***********************  方法区  ****************************/
-
+  function getOption() {
+    listLableNoPage().then(res => {
+      options.value = res.data
+    })
+  }
   function showMember(row) {
     console.log(row);
     proxy.$refs.memberDialog.open(row);
@@ -420,4 +442,5 @@
   }
 
   getList();
+  getOption();
 </script>

+ 25 - 3
src/views/business/production/IndividualIncomeTaxIsZero/index.vue

@@ -22,6 +22,11 @@
         <el-form-item label="客户名称:">
           <el-input v-model="queryParams.companyName" placeholder="请输入客户名称" :clearable="true" style="width: 220px" />
         </el-form-item>
+        <el-form-item label="客户标签:">
+          <el-select v-model="queryParams.customerLabelId" style="width:100%" clearable>
+            <el-option v-for="item in options" :key="item.id" :label="item.lable" :value="item.id" />
+          </el-select>
+        </el-form-item>
         <el-form-item label="个税所属期:" prop="year">
           <el-date-picker v-model="currentMonth" type="month" format="YYYY年MM月" style="width: 120px"
             value-format="YYYY-MM-01" :disabled-date="disabledDateHandler" @change="monthChangeHandler"
@@ -49,7 +54,18 @@
       <el-table v-loading="loading" :data="detailList" size="small" border height="100%"
         @selection-change="handleSelectionChange" >
         <el-table-column type="selection" width="55" align="center" />
-        <el-table-column label="客户名称" align="center" prop="companyName" min-width="250" />
+        <el-table-column label="客户名称" align="center" prop="companyName" min-width="250">
+          <template #default="scope">
+            <div style="display: flex; align-items: center; justify-content: center;">
+            <el-tooltip :content="scope.row.customerLabelName" placement="top">
+              <el-icon :size="15" >
+                <CollectionTag />
+              </el-icon>
+            </el-tooltip>
+              <span style="margin-left: 15px;">{{scope.row.companyName}}</span>
+            </div>
+          </template>
+        </el-table-column>
         <el-table-column label="来源" align="center" prop="fromCompanyName" min-width="100" />
         <el-table-column label="税号" align="center" prop="socialCreditCode" min-width="180" />
         <el-table-column label="纳税性质" align="center" width="100" prop="taxType" />
@@ -201,7 +217,7 @@
   import MemberDialog from "./MemberDialog.vue";
   import FormDialog from "./FormDialog";
   import { get } from "@vueuse/core";
-
+  import { listLableNoPage } from "@/api/business/lable"
   const { proxy } = getCurrentInstance();
   /** 字典数组区 */
   /** 查询 对象 */
@@ -215,6 +231,7 @@
   const multiple = ref(true);
   const total = ref(0);
   const moreSearch = ref(false);
+  const options = ref([]);
   const currentMonth = ref(
     proxy.moment().subtract(1, "month").format("YYYY-MM-01")
   );
@@ -256,7 +273,11 @@
   });
 
   /***********************  方法区  ****************************/
-
+  function getOption() {
+    listLableNoPage().then(res => {
+      options.value = res.data
+    })
+  }
   /** 导出按钮操作 */
   function handleExport() {
     exportIndividualIncome(queryParams.value);
@@ -429,4 +450,5 @@
   }
 
   getList();
+  getOption();
 </script>

+ 25 - 2
src/views/business/production/archiveTicket/index.vue

@@ -21,6 +21,11 @@
         <el-input v-model.trim="queryParams.companyName" size="small" type="text" placeholder="客户名称" :clearable="true"
           style="width: 140px" />
       </el-form-item>
+      <el-form-item label="客户标签:">
+        <el-select v-model="queryParams.customerLabelId" style="width:100%" clearable>
+          <el-option v-for="item in options" :key="item.id" :label="item.lable" :value="item.id" />
+        </el-select>
+      </el-form-item>
       <el-form-item label="所属月:">
         <el-date-picker v-model="currentMonth" type="month" format="YYYY年MM月" :clearable="false" value-format="YYYY-MM-01"
           @change="currentMonthChange" :disabled-date="disabledDateHandler" />
@@ -46,7 +51,18 @@
     <!-- 列表区 -->
     <el-table v-loading="loading"  :data="list" size="small" border height="100%"
       @selection-change="handleSelectionChange">
-      <el-table-column label="客户名称" prop="companyName" min-width="150" align="center" />
+      <el-table-column label="客户名称" align="center" prop="companyName" min-width="250">
+        <template #default="scope">
+          <div style="display: flex; align-items: center; justify-content: center;">
+          <el-tooltip :content="scope.row.customerLabelName" placement="top">
+            <el-icon :size="15" >
+              <CollectionTag />
+            </el-icon>
+          </el-tooltip>
+            <span style="margin-left: 15px;">{{scope.row.companyName}}</span>
+          </div>
+        </template>
+      </el-table-column>
       <el-table-column label="来源" align="center" min-width="80" prop="fromCompanyName" />
       <el-table-column label="纳税性质" prop="taxType" min-width="110" align="center" />
       <el-table-column label="操作" width="130" align="center" class-name="small-padding fixed-width">
@@ -111,6 +127,7 @@
 </template>
 
 <script setup name="Company">
+import { listLableNoPage } from "@/api/business/lable"
 import { listArchiveTicket } from "@/api/business/production/archiveTicket";
 import { uploadFile } from "@/api/tool/file";
 import { listCompany } from "@/api/business/crm/company";
@@ -147,6 +164,7 @@ const formDialogRef = ref(null);
 const viewDialogRef = ref(null);
 const flag = ref(checkPermission(['business:upload:person']))
 const activeName = flag.value ? ref('first') : ref('second');
+const options = ref([]);
 const form = ref({
   id: null,
   companyName: "",
@@ -243,7 +261,11 @@ function handleSelectionChange(selection) {
   single.value = selection.length != 1;
   multiple.value = !selection.length;
 }
-
+function getOption() {
+    listLableNoPage().then(res => {
+      options.value = res.data
+    })
+  }
 /** 新增按钮操作 */
 function handleAdd() {
   // proxy.$refs.DepositRef.open();
@@ -479,4 +501,5 @@ function viewHandle(row) {
   });
 }
 getList();
+getOption();
 </script>

+ 25 - 3
src/views/business/production/financialReportTax/index.vue

@@ -22,6 +22,11 @@
         <el-input v-model="queryParams.companyName" type="text" placeholder="请输入客户名称" :clearable="true"
           style="width: 220px" />
       </el-form-item>
+      <el-form-item label="客户标签:">
+        <el-select v-model="queryParams.customerLabelId" style="width:100%" clearable>
+          <el-option v-for="item in options" :key="item.id" :label="item.lable" :value="item.id" />
+        </el-select>
+      </el-form-item>
       <el-form-item label="报税所属期:" prop="year">
         <el-date-picker v-model="currentMonth" type="month" format="YYYY年MM月" style="width: 120px" :clearable="false"
           value-format="YYYY-MM-01" :disabled-date="disabledDateHandler" @change="monthChangeHandler" />
@@ -48,7 +53,18 @@
     <el-table v-loading="loading" :data="taxList" size="small" border height="100%"
       @selection-change="handleSelectionChange">
       <el-table-column type="selection" width="55" align="center" />
-      <el-table-column label="客户名称" align="center" prop="companyName" min-width="250" />
+      <el-table-column label="客户名称" align="center" prop="companyName" min-width="250">
+        <template #default="scope">
+          <div style="display: flex; align-items: center; justify-content: center;">
+          <el-tooltip :content="scope.row.customerLabelName" placement="top">
+            <el-icon :size="15" >
+              <CollectionTag />
+            </el-icon>
+          </el-tooltip>
+            <span style="margin-left: 15px;">{{scope.row.companyName}}</span>
+          </div>
+        </template>
+      </el-table-column>
       <el-table-column label="来源" align="center" prop="fromCompanyName" min-width="100" />
       <el-table-column label="税号" align="center" prop="socialCreditCode" min-width="180" />
       <el-table-column label="纳税性质" align="center" width="100" prop="taxType" />
@@ -201,7 +217,7 @@
     exportFinalTax,
   } from "@/api/business/production/tax";
   import FormDialog from "./FormDialog.vue";
-
+ import { listLableNoPage } from "@/api/business/lable"
   const { proxy } = getCurrentInstance();
   /** 字典数组区 */
   /** 查询 对象 */
@@ -210,6 +226,7 @@
   const loading = ref(true);
   const moreSearch = ref(false);
   const ids = ref([]);
+  const options = ref([]);
   const oneself = ref(false);
   const single = ref(true);
   const multiple = ref(true);
@@ -341,7 +358,11 @@
       });
     getList();
   }
-
+  function getOption() {
+    listLableNoPage().then(res => {
+      options.value = res.data
+    })
+  }
   /** 填写按钮操作 */
   function fillIn(row) {
     if (row.detail == null) {
@@ -414,4 +435,5 @@
   }
 
   getList();
+  getOption();
 </script>

+ 25 - 8
src/views/business/production/financialReportTaxIsZero/index.vue

@@ -37,6 +37,11 @@
           style="width: 220px"
         />
       </el-form-item>
+      <el-form-item label="客户标签:">
+        <el-select v-model="queryParams.customerLabelId" style="width:100%" clearable>
+          <el-option v-for="item in options" :key="item.id" :label="item.lable" :value="item.id" />
+        </el-select>
+      </el-form-item>
       <el-form-item label="报税所属期:" prop="year">
         <el-date-picker
           v-model="currentMonth"
@@ -91,12 +96,18 @@
       @selection-change="handleSelectionChange"
     >
       <el-table-column type="selection" width="55" align="center" />
-      <el-table-column
-        label="客户名称"
-        align="center"
-        prop="companyName"
-        min-width="250"
-      />
+      <el-table-column label="客户名称" align="center" prop="companyName" min-width="250">
+        <template #default="scope">
+          <div style="display: flex; align-items: center; justify-content: center;">
+          <el-tooltip :content="scope.row.customerLabelName" placement="top">
+            <el-icon :size="15" >
+              <CollectionTag />
+            </el-icon>
+          </el-tooltip>
+            <span style="margin-left: 15px;">{{scope.row.companyName}}</span>
+          </div>
+        </template>
+      </el-table-column>
       <el-table-column
         label="来源"
         align="center"
@@ -361,7 +372,7 @@ import {
 } from "@/api/business/production/taxIsZero";
 import useUserStore from "@/store/modules/user";
 import FormDialog from "./FormDialog.vue";
-
+  import { listLableNoPage } from "@/api/business/lable"
 const { proxy } = getCurrentInstance();
 /** 字典数组区 */
 /** 查询 对象 */
@@ -376,6 +387,7 @@ const ids = ref([]);
 const single = ref(true);
 const multiple = ref(true);
 const total = ref(0);
+const options = ref([]);
 const currentMonth = ref(
   proxy.moment().subtract(1, "month").format("YYYY-MM-01")
 );
@@ -396,7 +408,11 @@ const queryParams = ref({
 });
 
 /***********************  方法区  ****************************/
-
+function getOption() {
+    listLableNoPage().then(res => {
+      options.value = res.data
+    })
+  }
 /** 查询报税列表 */
 function getList() {
   console.log("查询", queryParams.value);
@@ -575,4 +591,5 @@ function monthChangeHandler(arg) {
 }
 
 getList();
+getOption();
 </script>

+ 25 - 2
src/views/business/production/keepAccount/index.vue

@@ -21,6 +21,11 @@
         <el-input v-model="queryParams.companyName" placeholder="请输入客户名称" style="width: 150px" clearable
           @keyup.enter="handleQuery" />
       </el-form-item>
+      <el-form-item label="客户标签:">
+        <el-select v-model="queryParams.customerLabelId" style="width:100%" clearable>
+          <el-option v-for="item in options" :key="item.id" :label="item.lable" :value="item.id" />
+        </el-select>
+      </el-form-item>
       <el-form-item label="月份:">
         <el-select v-model.trim="queryParams.month" size="small" placeholder="月份" :clearable="false"
           style="width: 130px" @change="handleQuery">
@@ -53,7 +58,18 @@
     <el-table v-loading="loading" :data="list" size="small" border  height="100%"
       @selection-change="handleSelectionChange">
       <el-table-column type="selection" width="55" align="center" />
-      <el-table-column label="客户名称" align="center" prop="companyName" min-width="250" />
+      <el-table-column label="客户名称" align="center" prop="companyName" min-width="250">
+        <template #default="scope">
+          <div style="display: flex; align-items: center; justify-content: center;">
+          <el-tooltip :content="scope.row.customerLabelName" placement="top">
+            <el-icon :size="15" >
+              <CollectionTag />
+            </el-icon>
+          </el-tooltip>
+            <span style="margin-left: 15px;">{{scope.row.companyName}}</span>
+          </div>
+        </template>
+      </el-table-column>
       <el-table-column label="来源" align="center" prop="fromCompanyName" min-width="100" />
       <el-table-column label="纳税性质" min-width="100" align="center" prop="taxType" />
       <el-table-column label="税号" align="center" prop="socialCreditCode" min-width="200" />
@@ -167,6 +183,7 @@
     listKeepAccount,
     exportKeepAccount,
   } from "@/api/business/production/keepAccount";
+   import { listLableNoPage } from "@/api/business/lable"
   import { listCompany } from "@/api/business/crm/company";
   import { reactive, ref, toRefs } from "vue";
   import formDialog from "./form";
@@ -181,6 +198,7 @@
   const loading = ref(true);
   const oneself = ref(false);
   const ids = ref([]);
+  const options = ref([]);
   const single = ref(true);
   const moreSearch = ref(false);
   const multiple = ref(true);
@@ -302,7 +320,11 @@
   };
 
   /***********************  方法区  ****************************/
-
+  function getOption() {
+    listLableNoPage().then(res => {
+      options.value = res.data
+    })
+  }
   /** 查询company列表 */
   function getList() {
     loading.value = true;
@@ -511,4 +533,5 @@
   }
 
   getList();
+  getOption();
 </script>

+ 25 - 1
src/views/business/production/receiveTicket/index.vue

@@ -21,6 +21,11 @@
         <el-input v-model="queryParams.companyName" placeholder="请输入客户名称" style="width: 150px" clearable
           @keyup.enter="handleQuery" />
       </el-form-item>
+      <el-form-item label="客户标签:">
+        <el-select v-model="queryParams.customerLabelId" style="width:100%" clearable>
+          <el-option v-for="item in options" :key="item.id" :label="item.lable" :value="item.id" />
+        </el-select>
+      </el-form-item>
       <el-form-item label="月份:">
         <el-select v-model.trim="queryParams.month" size="small" placeholder="月份" :clearable="false"
           style="width: 130px" @change="handleQuery">
@@ -54,7 +59,18 @@
     <el-table v-loading="loading" :data="list" size="small" border height="100%"
       @selection-change="handleSelectionChange">
       <el-table-column type="selection" width="55" align="center" />
-      <el-table-column label="客户名称" align="center" prop="companyName" min-width="250" />
+      <el-table-column label="客户名称" align="center" prop="companyName" min-width="250">
+        <template #default="scope">
+          <div style="display: flex; align-items: center; justify-content: center;">
+          <el-tooltip :content="scope.row.customerLabelName" placement="top">
+            <el-icon :size="15" >
+              <CollectionTag />
+            </el-icon>
+          </el-tooltip>
+            <span style="margin-left: 15px;">{{scope.row.companyName}}</span>
+          </div>
+        </template>
+      </el-table-column>
       <el-table-column label="来源" align="center" prop="fromCompanyName" min-width="90" />
       <el-table-column label="纳税性质" min-width="90" align="center" prop="taxType" />
       <el-table-column label="税号" align="center" prop="socialCreditCode" min-width="180" />
@@ -221,9 +237,11 @@
   } from "@/api/business/production/receiveTicket";
   import { taxTypes } from "@/utils/default";
   import { listCompany } from "@/api/business/crm/company";
+   import { listLableNoPage } from "@/api/business/lable"
   import { reactive, ref, toRefs } from "vue";
   import formDialog from "./form";
   import viewDialog from "./view";
+  const options = ref([]);
   // import workorderForm from "./form"
   const { proxy } = getCurrentInstance();
   /** 字典数组区 */
@@ -368,6 +386,11 @@
 
   /***********************  方法区  ****************************/
 
+  function getOption() {
+    listLableNoPage().then(res => {
+      options.value = res.data
+    })
+  }
   /** 查询company列表 */
   function getList() {
     loading.value = true;
@@ -574,4 +597,5 @@
   }
 
   getList();
+  getOption();
 </script>

+ 25 - 1
src/views/business/production/salary/index.vue

@@ -23,6 +23,11 @@
         <el-input v-model="queryParams.companyName" style="width: 150px" placeholder="请输入客户名称" clearable
           @keyup.enter="handleQuery" />
       </el-form-item>
+      <el-form-item label="客户标签:">
+        <el-select v-model="queryParams.customerLabelId" style="width:100%" clearable>
+          <el-option v-for="item in options" :key="item.id" :label="item.lable" :value="item.id" />
+        </el-select>
+      </el-form-item>
       <el-form-item label="月份:">
         <el-select v-model.trim="queryParams.month" size="small" placeholder="月份" style="width: 130px"
           :clearable="false" @change="handleQuery">
@@ -57,7 +62,18 @@
     <el-table v-loading="loading" :data="list" size="small" border height="100%"
       @selection-change="handleSelectionChange">
       <el-table-column type="selection" width="55" align="center" />
-      <el-table-column label="客户名称" align="center" prop="companyName" min-width="250" />
+      <el-table-column label="客户名称" align="center" prop="companyName" min-width="250">
+        <template #default="scope">
+          <div style="display: flex; align-items: center;justify-content: center;">
+          <el-tooltip :content="scope.row.customerLabelName" placement="top">
+            <el-icon :size="15" >
+              <CollectionTag />
+            </el-icon>
+          </el-tooltip>
+            <span style="margin-left: 15px;">{{scope.row.companyName}}</span>
+          </div>
+        </template>
+      </el-table-column>
       <el-table-column label="来源" align="center" min-width="80" prop="fromCompanyName" />
       <el-table-column label="纳税性质" min-width="100" align="center" prop="taxType" />
       <el-table-column label="税号" align="center" prop="socialCreditCode" min-width="200" />
@@ -183,6 +199,7 @@
   import { listSalary, exportSalary } from "@/api/business/production/salary";
   import { listCompany } from "@/api/business/crm/company";
   import importExcelDialog from "./importExcelDialog.vue";
+  import { listLableNoPage } from "@/api/business/lable"
   import { reactive, ref, toRefs } from "vue";
   import formDialog from "./form";
   import viewDialog from "./view";
@@ -205,6 +222,7 @@
   const all_permission = "*:*:*";
   const flag = ref(checkPermission(['business:noindividual:person']))
   const activeName = flag.value ? ref('first') : ref('second');
+  const options = ref([]);
   const data = reactive({
     selectMonths: [
       {
@@ -327,6 +345,11 @@
     });
     return hasPermissions;
   }
+  function getOption() {
+    listLableNoPage().then(res => {
+      options.value = res.data
+    })
+  }
   function handleClick(tab) {
     console.log(tab.props.name)
     if (tab.props.name === "second") {
@@ -545,4 +568,5 @@
   }
 
   getList();
+  getOption();
 </script>

+ 32 - 10
src/views/business/production/salaryZero/index.vue

@@ -23,6 +23,11 @@
         <el-input v-model="queryParams.companyName" placeholder="请输入客户名称" clearable style="width: 150px"
           @keyup.enter="handleQuery" />
       </el-form-item>
+      <el-form-item label="客户标签:">
+        <el-select v-model="queryParams.customerLabelId" style="width:100%" clearable>
+          <el-option v-for="item in options" :key="item.id" :label="item.lable" :value="item.id" />
+        </el-select>
+      </el-form-item>
       <el-form-item label="月份:">
         <el-select v-model.trim="queryParams.month" size="small" placeholder="月份" style="width: 130px"
           @change="handleQuery" :clearable="false">
@@ -46,19 +51,30 @@
     </el-form>
     <el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick" v-if="flag">
       <el-tab-pane label="全部" name="first">
-     
+
       </el-tab-pane>
 
       <el-tab-pane label="我的" name="second">
-     
-         
+
+
       </el-tab-pane>
     </el-tabs>
     <!-- 列表区 -->
     <el-table v-loading="loading" :data="list" size="small" border height="100%"
-      @selection-change="handleSelectionChange" >
+      @selection-change="handleSelectionChange">
       <el-table-column type="selection" width="55" align="center" />
-      <el-table-column label="客户名称" align="center" prop="companyName" min-width="250" />
+      <el-table-column label="客户名称" align="center" prop="companyName" min-width="250">
+        <template #default="scope">
+          <div style="display: flex; align-items: center; justify-content: center;">
+          <el-tooltip :content="scope.row.customerLabelName" placement="top">
+            <el-icon :size="15" >
+              <CollectionTag />
+            </el-icon>
+          </el-tooltip>
+            <span style="margin-left: 15px;">{{scope.row.companyName}}</span>
+          </div>
+        </template>
+      </el-table-column>
       <el-table-column label="来源" align="center" prop="fromCompanyName" min-width="100" />
       <el-table-column label="纳税性质" align="center" min-width="130" prop="taxType" />
       <el-table-column label="税号" align="center" prop="socialCreditCode" min-width="200" />
@@ -117,11 +133,11 @@
     <!-- 分页 -->
     <pagination v-show="total > 0" :total="total" v-model:page="queryParams.pageNum"
       v-model:limit="queryParams.pageSize" @pagination="getList" />
-    <form-dialog ref="formDialogRef" :get-list="getList" @getList = "getList"/>/>
+    <form-dialog ref="formDialogRef" :get-list="getList" @getList="getList" />
     <view-dialog ref="viewDialogRef" :get-list="getList" />
     <import-excel-dialog ref="importExcelDialogRef" :get-list="getList" />
     <!-- 更多搜索弹窗 -->
-    <el-dialog title="更多搜索" v-model="moreSearch" width="620px" append-to-body draggable :close-on-click-modal = "false">
+    <el-dialog title="更多搜索" v-model="moreSearch" width="620px" append-to-body draggable :close-on-click-modal="false">
       <el-form :model="queryParams" ref="queryRef" size="small" label-width="100">
         <el-row :gutter="20">
           <el-col :span="12">
@@ -174,6 +190,7 @@
   import { listCompany } from "@/api/business/crm/company";
   import importExcelDialog from "./importExcelDialog.vue";
   import { compile, reactive, ref, toRefs } from "vue";
+  import { listLableNoPage } from "@/api/business/lable"
 
   import formDialog from "./form";
   import viewDialog from "./view";
@@ -194,7 +211,7 @@
   const prev = ref([]);
   const permissions = useUserStore().permissions;
   const all_permission = "*:*:*";
-
+  const options = ref([]);
   const data = reactive({
     selectMonths: [
       {
@@ -312,7 +329,11 @@
   };
 
   /***********************  方法区  ****************************/
-
+  function getOption() {
+    listLableNoPage().then(res => {
+      options.value = res.data
+    })
+  }
   /** 查询company列表 */
   function getList() {
     loading.value = true;
@@ -369,7 +390,7 @@
       companyName: "",
     };
     if (activeName.value != null && activeName.value === 'second') {
-        queryParams.value.principal = useUserStore().user.userId;
+      queryParams.value.principal = useUserStore().user.userId;
     }
     handleQuery();
   }
@@ -519,4 +540,5 @@
   }
 
   getList();
+  getOption();
 </script>