Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
jml0128
/
xrk-bi
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8c7157c1
authored
May 17, 2022
by
web
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 添加mock接口
1 parent
46dfe96f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
0 deletions
src/App.vue
src/App.vue
View file @
8c7157c
...
...
@@ -342,6 +342,51 @@ export default {
data
:
{
data
:
[],
message
:
'操作成功'
,
status
:
'1'
}
};
},
// 当期BI-保持选择的图片
saveBiPicList
()
{
return
{
data
:
{
data
:
[],
message
:
'操作成功'
,
status
:
'1'
}
};
},
// 当期BI-保持选择的图片
getTaskPicList
()
{
return
{
data
:
{
data
:
{
taskImages
:
[
{
biInfoId
:
123
,
//BI主键
taskId
:
123
,
//任务记录ID
imageUrl
:
'图片地址'
}
]
},
message
:
'操作成功'
,
status
:
'1'
}
};
},
// 累计BI、自定义BI获取随机50张图片
getImageList
()
{
return
{
data
:
{
data
:
{
imageStyle
:
1
,
//展示样式 1 流式 2平铺
imageSize
:
2
,
//图片大小 1 大 2中 3小
imageUrls
:
[
{
id
:
1
,
biInfoId
:
123
,
//BI主键
taskId
:
123
,
//任务记录ID
imageUrl
:
'图片地址'
}
]
},
message
:
'操作成功'
,
status
:
'1'
}
};
},
saveInfo
()
{
return
null
;
},
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment