|
@@ -72,16 +72,16 @@ export default defineComponent({
|
|
|
|
|
|
/* 处理图表来源 只限第三方 */
|
|
|
const dealSourceHandle = (): void => {
|
|
|
- const thirdArr = [1,2,3,10,11,15,16,17,18,19,20,21];
|
|
|
+ // const thirdArr = [1,2,3,10,11,15,16,17,18,19,20,21];
|
|
|
|
|
|
// 取出第三方来源
|
|
|
- const arr = state.dataList.map(item => ({
|
|
|
- key: item.Source,
|
|
|
- name: item.SourceName
|
|
|
- })).filter(item => thirdArr.includes(item.key));
|
|
|
+ const arr = state.dataList.filter(item => item.EdbType === 1 && item.Source!== 9).map(item => ({
|
|
|
+ key: item.Source,
|
|
|
+ name: item.SourceName,
|
|
|
+ })
|
|
|
+ );
|
|
|
|
|
|
let res_arr = arr.length ? _.uniqBy(arr,'key') : [];
|
|
|
- // console.log(res_arr)
|
|
|
|
|
|
let str = '';
|
|
|
res_arr.forEach((item: any) => {
|