This commit is contained in:
zhaoxinyu
2024-08-26 14:28:02 +08:00
170 changed files with 17605 additions and 7509 deletions
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 64 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 21 KiB

@@ -48,8 +48,8 @@ const getDbt = async (jdhId) => {
* 获取院级工会
* @returns {Promise<*>}
*/
const getUnions = async (delegationId) => {
const {data} = await $.get("/platform/vi/common/unions", {delegationId})
const getUnions = async (delegationId = null, isPermission = false) => {
const {data} = await $.get("/platform/vi/common/unions", {delegationId, isPermission})
return data
}
@@ -55,6 +55,10 @@ const FILE_PREVIEW_ADDRESS = '/file_server/preview'
const FILE_DOWNLOAD_ADDRESS = '/file_server/download'
const FILE_STREAM_PREVIEW_ADDRESS = '/file_server/fileStreamPreview'
const CREATE_PREVIEW_URL = (val) => {
return FILE_STREAM_PREVIEW_ADDRESS + "?id=" + val
}
const preview = async (filename, id) => {
const suffix = filename.substring(filename.lastIndexOf('.') + 1)
@@ -1955,4 +1959,4 @@ const loc = () => {
const clone = (obj) => {
return JSON.parse(JSON.stringify(obj))
}
}