瀏覽代碼

需求池217

hbchen 1 年之前
父節點
當前提交
c09dca8d06
共有 2 個文件被更改,包括 14 次插入4 次删除
  1. 7 1
      src/api/modules/chartApi.js
  2. 7 3
      src/views/system_manage/operateAuthManage.vue

+ 7 - 1
src/api/modules/chartApi.js

@@ -811,7 +811,13 @@ const dataBaseInterface = {
 	getEDBInfoCalculateMap:params=>{
 		return http.get('/datamanage/edb_info/calculate/mapping',params)
 	},
-
+	/**
+	 * 获取创建人列表
+	 * Source - 来源 :1:手工数据指标 2:钢联化工数据库 3:ETA指标库 4:ETA预测指标 5:图库
+	 */
+	getEdbChartAdminList: params => {
+		return http.get('/datamanage/edb_chart/adminList',params)
+	},
 	/* eta图库 图表预览  启用之前根据传参刷数据的详情接口 
 		{
 			ChartType:1,

+ 7 - 3
src/views/system_manage/operateAuthManage.vue

@@ -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();
     },