|
@@ -174,7 +174,8 @@
|
|
|
|
|
|
<script>
|
|
|
import { operateAuthInterface } from '@/api/modules/setApi';
|
|
|
-import { customInterence } from '@/api/modules/crmApi';
|
|
|
+// import { customInterence } from '@/api/modules/crmApi';
|
|
|
+import {dataBaseInterface} from '@/api/modules/chartApi'
|
|
|
import mPage from '@/components/mPage';
|
|
|
import mDialog from '@/components/mDialog';
|
|
|
import edbSetDialog from './components/authSetDialog.vue';
|
|
@@ -265,10 +266,11 @@ export default {
|
|
|
},
|
|
|
/* 获取用户列表 */
|
|
|
getUserList() {
|
|
|
- customInterence.getSale({Status: 0,AllEnabled: true}).then(res => {
|
|
|
+ // customInterence.getSale({Status: 0,AllEnabled: true}).then(res => {
|
|
|
+ dataBaseInterface.getEdbChartAdminList({Source: this.default_tab}).then(res=>{
|
|
|
if(res.Ret !== 200) return
|
|
|
|
|
|
- this.userList = res.Data.List || [];
|
|
|
+ this.userList = res.Data || [];
|
|
|
})
|
|
|
},
|
|
|
/* 获取分类列表 */
|
|
@@ -283,8 +285,10 @@ export default {
|
|
|
changeTab({key}) {
|
|
|
this.default_tab = key;
|
|
|
this.searchForm.classification=[]
|
|
|
+ this.searchForm.user=''
|
|
|
this.page_no = 1;
|
|
|
this.getClassificationList()
|
|
|
+ this.getUserList()
|
|
|
this.getTableData();
|
|
|
},
|
|
|
|