Howie 1 рік тому
батько
коміт
2553c21ff4
1 змінених файлів з 10 додано та 6 видалено
  1. 10 6
      src/views/setting/engineeringSubAccount.vue

+ 10 - 6
src/views/setting/engineeringSubAccount.vue

@@ -23,12 +23,10 @@
       </Collapse>
       <div class="btn-group clearfix">
         <div style="display: flex">
-          <el-button v-if="checkBtnRole('add')" size="mini" type="primary"  @click="addOrEdit('add')"
+          <el-button v-if="checkBtnRole('add')" size="mini" type="primary" @click="addOrEdit('add')"
             >新增账号</el-button
           >
-          <el-button size="small" type="primary" @click="handleExport"
-            >导出数据</el-button
-          >
+          <el-button size="small" type="primary" @click="handleExport">导出数据</el-button>
         </div>
         <!--        <div class="fr">-->
         <!--          <ImportButton :im-url="'stock/importToll'" @importSuccess="getList" />-->
@@ -284,14 +282,20 @@ export default {
     getDealerListV2() {
       getDealerListV2({
         pageNum: 1,
-        pageSize: -1
+        pageSize: -1,
+        params: [
+          {
+            param: 'a.jiaxian_type',
+            compare: '=',
+            value: 'KING'
+          }
+        ]
       }).then(res => {
         this.subCustomerList = res.data.records
       })
     },
     // 导出
     handleExport() {
-
       let screenData = {
         pageNum: this.currentPage,
         pageSize: -1,