diff --git a/src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/controller/UnionReimburseApplyController.java b/src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/controller/UnionReimburseApplyController.java index 6829946..560284e 100644 --- a/src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/controller/UnionReimburseApplyController.java +++ b/src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/controller/UnionReimburseApplyController.java @@ -4,18 +4,11 @@ import cn.dev33.satoken.annotation.SaCheckLogin; import cn.dev33.satoken.annotation.SaCheckPermission; import cn.dev33.satoken.annotation.SaMode; import cn.hutool.core.date.DateUtil; -import cn.hutool.core.lang.Dict; import cn.hutool.core.util.StrUtil; import com.budwk.app.base.annotation.SLog; import com.budwk.app.base.constant.RoleConstant; import com.budwk.app.base.page.Pagination; import com.budwk.app.base.result.Result; -import com.budwk.app.flow.constant.FlowConst; -import com.budwk.app.flow.engine.FlowEngine; -import com.budwk.app.flow.entity.ProcessInstance; -import com.budwk.app.flow.entity.ProcessTask; -import com.budwk.app.flow.enums.ProcessSubmitTypeEnum; -import com.budwk.app.flow.service.FlowCommonService; import com.budwk.app.sys.models.Sys_unit; import com.budwk.app.sys.views.View_user; import com.budwk.app.web.commons.auth.utils.AuthUtil; @@ -63,14 +56,10 @@ public class UnionReimburseApplyController { @Inject private Dao dao; @Inject - private FlowEngine flowEngine; - @Inject private UnionReimburseService unionReimburseService; @Inject private UnionReimburseBankAccountService unionReimburseBankAccountService; @Inject - private FlowCommonService flowCommonService; - @Inject private CondolenceTypeService typeService; @@ -103,18 +92,6 @@ public class UnionReimburseApplyController { if (result.getCode() != 0) { return result; } -// // 开启流程实例 -// Dict args = Dict.create(); -// args.set(FlowConst.SUBMIT_TYPE, ProcessSubmitTypeEnum.APPLY.getCode()); -// args.set(FlowConst.FORM_DATA, unionReimburse); -// args.set("userId", unionReimburse.getCondolenceUserId()); -// ProcessInstance instance = flowEngine.startProcessInstanceByKey("GHBX", unionReimburse.getId(), SecurityUtil.getUserId(), args); -// -// // 自动完成第一个申请任务 -// List doingTaskList = flowEngine.processTaskService().getDoingTaskList(instance.getId(), null); -// for (ProcessTask task : doingTaskList) { -// flowEngine.executeProcessTask(task.getId(), SecurityUtil.getUserId(), args); -// } return Result.success(); } @@ -129,10 +106,6 @@ public class UnionReimburseApplyController { return result; } - Dict dict = Dict.create(); - dict.set(FlowConst.PROCESS_TASK_ID_KEY, taskId); - dict.set(FlowConst.SUBMIT_TYPE, ProcessSubmitTypeEnum.RE_APPLY.getCode()); - flowCommonService.executeTask(dict); return Result.success(); } diff --git a/src/main/resources/application-dev.yaml b/src/main/resources/application-dev.yaml index 4e0444e..0273310 100644 --- a/src/main/resources/application-dev.yaml +++ b/src/main/resources/application-dev.yaml @@ -38,7 +38,7 @@ sdk: server-url-prefix: https://authserver.zjnu.edu.cn/authserver server-login-url: https://authserver.zjnu.edu.cn/authserver/login qi-wx-server-login-url: https://authserver.zjnu.edu.cn/authserver/login - client-host-url: https://lxy.zjnu.edu.cn + client-host-url: https://zhgh.zjnu.edu.cn client-call-back-url: /platform/sso/login validation-type: cas minio: diff --git a/src/main/resources/application-prd.yaml b/src/main/resources/application-prd.yaml index 60875f8..67328d7 100644 --- a/src/main/resources/application-prd.yaml +++ b/src/main/resources/application-prd.yaml @@ -39,7 +39,7 @@ sdk: server-url-prefix: https://authserver.zjnu.edu.cn/authserver server-login-url: https://authserver.zjnu.edu.cn/authserver/login qi-wx-server-login-url: https://authserver.zjnu.edu.cn/authserver/login - client-host-url: https://lxy.zjnu.edu.cn + client-host-url: https://zhgh.zjnu.edu.cn client-call-back-url: /platform/sso/login validation-type: cas minio: @@ -83,3 +83,9 @@ custom: encrypted-secret-key: '' connect-timeout: 5000 read-timeout: 10000 +invoice: + tencent: + # 发票 OCR 使用腾讯云 SecretId/SecretKey;为空时会回退读取 secret-file 指向的 csv。 + secret-id: AKID1473y253saFsMelgS4TjnfLofMrAHDyX + secret-key: TlrlTzIRNjtIj296riPuISbmqplnhQDy + secret-file: C:/Users/Administrator/Desktop \ No newline at end of file diff --git a/src/main/resources/static/assets/platform/js/mixin/initTableMixins.js b/src/main/resources/static/assets/platform/js/mixin/initTableMixins.js index 4e62470..a425d95 100644 --- a/src/main/resources/static/assets/platform/js/mixin/initTableMixins.js +++ b/src/main/resources/static/assets/platform/js/mixin/initTableMixins.js @@ -35,6 +35,64 @@ const initTableMixins = { } }, methods: { + openGuavaDetail(slot, ref, method, ...args) { + if (!this._guavaDetails) this._guavaDetails = {}; + this._guavaDetails[ref] = {method, args}; + this.$refs.guava[slot](() => this.initializeGuavaDetail(ref)); + }, + initializeGuavaDetail(ref) { + const pending = this._guavaDetails && this._guavaDetails[ref]; + const component = this.$refs[ref]; + if (!pending || !component) return; + delete this._guavaDetails[ref]; + component[pending.method](...pending.args); + }, + validateForm(form) { + return new Promise((resolve) => { + if (!form) { + this.$message.error('表单尚未加载完成'); + resolve(false); + return; + } + const uploading = (component) => { + const files = component.uploadFiles || component.fileList; + return (Array.isArray(files) && files.some(file => file.status === 'uploading' || file.status === 'ready')) + || (component.$children || []).some(uploading); + }; + if (uploading(form)) { + this.$message.warning('请等待图片或附件上传完成后再提交'); + resolve(false); + return; + } + form.validate((valid, fields) => { + if (!valid) { + const errors = Object.values(fields || {}).flat(); + this.$message.warning(errors.length ? errors[0].message : '请检查必填项和填写格式'); + } + resolve(valid); + }); + }); + }, + async confirmAction(...args) { + try { + return await this.$confirm(...args); + } catch (error) { + if (error === 'cancel' || error === 'close') return false; + throw error; + } + }, + actionError(error) { + if (error === 'cancel' || error === 'close') return; + this.$message.error(error && (error.responseJSON && error.responseJSON.msg || error.msg || error.message) || '操作失败,请稍后重试'); + }, + importExcel(url, files) { + const data = new FormData(); + files.forEach(file => data.append('file', file.raw, file.raw.name)); + return this.$axios.post(url, data, {headers: {'Content-Type': 'multipart/form-data'}}); + }, + downloadFile(url) { + window.location.href = url; + }, dropdownCommand({ action, value }) { if (action) action(value) }, @@ -136,7 +194,7 @@ const initTableMixins = { removeFile() } - if (size && !file.size < size) { + if (size && file.size > size) { this.notifyWarning(`文件大小不能超过 ${size / 1024 / 1024}MB!`) removeFile() } @@ -147,4 +205,8 @@ const initTableMixins = { created() { this.initApprovalFromUrl(); }, + updated() { + // 公共 guava 按需挂载详情,异步组件就绪后再调用详情方法。 + Object.keys(this._guavaDetails || {}).forEach(ref => this.initializeGuavaDetail(ref)); + }, } diff --git a/src/main/resources/static/assets/platform/js/util/commonUtil.js b/src/main/resources/static/assets/platform/js/util/commonUtil.js index af6f72a..39445db 100644 --- a/src/main/resources/static/assets/platform/js/util/commonUtil.js +++ b/src/main/resources/static/assets/platform/js/util/commonUtil.js @@ -1,4 +1,9 @@ const commonUtil = { + getFileUrl(value) { + if (!value) return "" + return /^(https?:|data:|blob:|\/)/.test(value) + ? value : "/platform/sys/file/download?id=" + encodeURIComponent(value) + }, //axios配置 axiosService() { // 创建 axios 实例 diff --git a/src/main/resources/static/assets/staffbenefit/therapyRecuperation/basic.js b/src/main/resources/static/assets/staffbenefit/therapyRecuperation/basic.js deleted file mode 100644 index 0632e45..0000000 --- a/src/main/resources/static/assets/staffbenefit/therapyRecuperation/basic.js +++ /dev/null @@ -1,185 +0,0 @@ - -/** - * 民族 - * @type {string[]} - */ -const nation = [ - '汉族', - '蒙古族', - '回族', - '藏族', - '维吾尔族', - '苗族', - '彝族', - '壮族', - '布依族', - '朝鲜族', - '满族', - '侗族', - '瑶族', - '白族', - '土家族', - '哈尼族', - '哈萨克族', - '傣族', - '黎族', - '傈僳族', - '佤族', - '畲族', - '高山族', - '拉祜族', - '水族', - '东乡族', - '纳西族', - '景颇族', - '柯尔克孜族', - '土族', - '达翰尔族', - '么佬族', - '羌族', - '布朗族', - '撒拉族', - '毛南族', - '仡佬族', - '锡伯族', - '阿昌族', - '普米族', - '塔吉克族', - '怒族', - '乌孜别克族', - '俄罗斯族', - '鄂温克族', - '德昂族', - '保安族', - '裕固族', - '京族', - '塔塔尔族', - '独龙族', - '鄂伦春族', - '赫哲族', - '门巴族', - '珞巴族', - '基诺族' -]; - -const uploadFileType = ['jpg', 'png', 'doc', 'docx', 'xls', 'xlsx', 'pdf'] -const docType = ['doc', 'docx', 'xls', 'xlsx', 'pdf'] - -const FILE_UPLOAD_ADDRESS = '/platform/inclusiveTherapyV3/common/uploadFile' -const FILE_DELETE_ADDRESS = '/platform/inclusiveTherapyV3/common/deleteFile' -const FILE_STREAM_PREVIEW_ADDRESS = '/platform/inclusiveTherapyV3/common/preview' - -Vue.component('m-page-loading', httpVueLoader('/components/staffbenefit/therapyRecuperation/mobile/MLoading.vue')) -Vue.component('m-table-loading', httpVueLoader('/components/staffbenefit/therapyRecuperation/mobile/MTableLoading.vue')) -Vue.component('m-card', httpVueLoader('/components/staffbenefit/therapyRecuperation/mobile/MCard.vue')) -Vue.component('vant-file-upload', httpVueLoader('/components/staffbenefit/therapyRecuperation/mobile/VantFileUpload.vue')) - -const GetQueryString = (name) => { - const reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); - const r = window.location.search.substr(1).match(reg); - if (r != null) return unescape(r[2]); - return ""; -} -const removeHTMLTag = (str) => { - str = str.replace(/<\/?[^>]*>/g, ''); //去除HTML tag - str = str.replace(/[ | ]*\n/g, '\n'); //去除行尾空白 - str = str.replace(/\n[\s| | ]*\r/g, '\n'); //去除多余空行 - str = str.replace(/ /ig, '');//去掉  - return str; -} - -const CREATE_PREVIEW_URL = (val) => { - return /^(https?:|data:|blob:|\/)/.test(val || "") ? val : FILE_STREAM_PREVIEW_ADDRESS + "?id=" + encodeURIComponent(val) -} - -const clone = (val) => { - return JSON.parse(JSON.stringify(val)) -} - -const toChinesNum = (num) => { - let changeNum = ['零', '一', '二', '三', '四', '五', '六', '七', '八', '九']; - let unit = ["", "十", "百", "千", "万"]; - num = parseInt(num); - let getWan = (temp) => { - let strArr = temp.toString().split("").reverse(); - let newNum = ""; - for (let i = 0; i < strArr.length; i++) { - newNum = (i == 0 && strArr[i] == 0 ? "" : (i > 0 && strArr[i] == 0 && strArr[i - 1] == 0 ? "" : changeNum[strArr[i]] + (strArr[i] == 0 ? unit[0] : unit[i]))) + newNum; - } - return newNum; - } - let overWan = Math.floor(num / 10000); - let noWan = num % 10000; - if (noWan.toString().length < 4) { - noWan = "0" + noWan; - } - return overWan ? getWan(overWan) + "万" + getWan(noWan) : getWan(num); -} - -const loc = () => { - return location.href.replace(location.search, "").replace(location.hash, "") -} - -const modal = { - // 消息提示 - msg(content) { - vant.Toast(content) - }, - // 错误消息 - msgError(content) { - vant.Toast.fail(content) - }, - // 成功消息 - msgSuccess(content) { - vant.Toast.success(content) - }, - // 弹出提示 - alert(content) { - vant.Dialog.alert({ - title: '提示', - message: content - }).then(() => { - // on close - }); - }, - // 确认窗体 - confirm(content) { - return new Promise((resolve, reject) => { - vant.Dialog.confirm({ - title: '提示', - message: content, - }).then(() => { - resolve() - }).catch(() => { - // reject() - }) - }) - }, - // 提示信息 - showToast(option) { - if (typeof option === "object") { - vant.Toast(option) - } else { - vant.Toast.loading({ - message: option, - forbidClick: true, - loadingType: 'spinner', - duration: 2500 - }); - } - }, - // 打开遮罩层 - loading(content) { - vant.Toast.loading({ - message: content, - forbidClick: true, - overlay: true, - duration: 0 - }); - }, - // 关闭遮罩层 - closeLoading() { - vant.Toast.clear(); - } -} -Vue.prototype.$modal = modal diff --git a/src/main/resources/static/assets/staffbenefit/therapyRecuperation/basics.js b/src/main/resources/static/assets/staffbenefit/therapyRecuperation/basics.js deleted file mode 100644 index 99e8af7..0000000 --- a/src/main/resources/static/assets/staffbenefit/therapyRecuperation/basics.js +++ /dev/null @@ -1,125 +0,0 @@ -var uploadFileType = ['jpg', 'png', 'doc', 'docx', 'xls', 'xlsx', 'pdf'] -var docType = ['doc', 'docx', 'xls', 'xlsx', 'pdf'] - -var FILE_UPLOAD_ADDRESS = '/platform/inclusiveTherapyV3/common/uploadFile' -var FILE_DELETE_ADDRESS = '/platform/inclusiveTherapyV3/common/deleteFile' -var FILE_STREAM_PREVIEW_ADDRESS = '/platform/inclusiveTherapyV3/common/preview' -var FILE_STREAM_DOWNLOAD_ADDRESS = '/platform/inclusiveTherapyV3/common/download' - -var preview = async (filename, id) => { - const suffix = filename.substring(filename.lastIndexOf('.') + 1) - if (!docType.includes(suffix.toLowerCase())) { - let image = new Image(); - image.src = FILE_STREAM_PREVIEW_ADDRESS + "?id=" + id - let viewer = new Viewer(image); - viewer.show(); - } else { - let pdfStreamUrl = encodeURIComponent(FILE_STREAM_PREVIEW_ADDRESS + '?id=' + id) //将路径转码 - window.open('/assets/platform/plugins/pdfJs/web/viewer.html?file=' + pdfStreamUrl, filename) - } -} - -var download = (id) => { - window.open(FILE_STREAM_DOWNLOAD_ADDRESS + '?id=' + id) -} - - -var PREVIEW_IMAGE = (val) => { - let image = new Image(); - image.src = FILE_STREAM_PREVIEW_ADDRESS + "?id=" + val - let viewer = new Viewer(image); - viewer.show(); -} - -var CREATE_PREVIEW_URL = (val) => { - return /^(https?:|data:|blob:|\/)/.test(val || "") ? val : FILE_STREAM_PREVIEW_ADDRESS + "?id=" + encodeURIComponent(val) -} - - -/** - * 遮盖层颜色 - * @type {string} - */ -var COVER_LAYER_COLOR = "rgba(0,0,0,.45)" - -/** - * 民族 - * @type {string[]} - */ -var nation = [ - '汉族', - '蒙古族', - '回族', - '藏族', - '维吾尔族', - '苗族', - '彝族', - '壮族', - '布依族', - '朝鲜族', - '满族', - '侗族', - '瑶族', - '白族', - '土家族', - '哈尼族', - '哈萨克族', - '傣族', - '黎族', - '傈僳族', - '佤族', - '畲族', - '高山族', - '拉祜族', - '水族', - '东乡族', - '纳西族', - '景颇族', - '柯尔克孜族', - '土族', - '达翰尔族', - '么佬族', - '羌族', - '布朗族', - '撒拉族', - '毛南族', - '仡佬族', - '锡伯族', - '阿昌族', - '普米族', - '塔吉克族', - '怒族', - '乌孜别克族', - '俄罗斯族', - '鄂温克族', - '德昂族', - '保安族', - '裕固族', - '京族', - '塔塔尔族', - '独龙族', - '鄂伦春族', - '赫哲族', - '门巴族', - '珞巴族', - '基诺族' -]; - -function loc() { - return location.href.replace(location.search, "").replace(location.hash, "") -} - -function clone(obj) { - return JSON.parse(JSON.stringify(obj)) -} - -var calcTableHeight = (eleIds = []) => { - if (eleIds) { - eleIds.forEach(e_id => { - const ele = document.querySelector('#' + e_id) - if (ele) { - ele.style.height = (innerHeight - ele.getBoundingClientRect().top - parseInt(ele.dataset.bottom)) + 'px' - } - }) - } -} diff --git a/src/main/resources/static/assets/staffbenefit/therapyRecuperation/compat.js b/src/main/resources/static/assets/staffbenefit/therapyRecuperation/compat.js deleted file mode 100644 index b377d43..0000000 --- a/src/main/resources/static/assets/staffbenefit/therapyRecuperation/compat.js +++ /dev/null @@ -1,115 +0,0 @@ -var sublime = { - jumpPagePjax(url) { - window.location.href = url; - } -}; - -Vue.prototype.$validateForm = function(form) { - return new Promise(resolve => { - if (!form) { - this.$message.error('表单尚未加载完成'); - resolve(false); - return; - } - const uploading = component => { - if (Array.isArray(component.uploadFiles) && component.uploadFiles.some(file => file.status === 'uploading')) return true; - return (component.$children || []).some(uploading); - }; - if (uploading(form)) { - this.$message.warning('请等待图片或附件上传完成后再提交'); - resolve(false); - return; - } - form.validate((valid, fields) => { - if (!valid) { - const errors = Object.values(fields || {}).flat(); - this.$message.warning(errors.length ? errors[0].message : '请检查必填项和填写格式'); - } - resolve(valid); - }); - }); -}; - -Vue.prototype.$confirmAction = async function(...args) { - try { - return await this.$confirm(...args); - } catch (error) { - if (error === 'cancel' || error === 'close') return false; - throw error; - } -}; - -Vue.prototype.$actionError = function(error) { - if (error === 'cancel' || error === 'close') return; - const message = error && (error.responseJSON && error.responseJSON.msg || error.msg || error.message); - this.$message.error(message || '操作失败,请稍后重试'); -}; - -Vue.prototype.$downloadFile = function(url) { - window.location.href = url; -}; - -Vue.prototype.$importExcel = function(url, files) { - const data = new FormData(); - files.forEach(file => data.append('file', file.raw, file.raw.name)); - return $.ajax({url: url, type: 'POST', data: data, processData: false, contentType: false}); -}; - -Vue.directive('throttle', { - bind(el) { - let lastClick = 0; - el.therapyThrottleHandler = event => { - const now = Date.now(); - if (now - lastClick < 1000) { - event.preventDefault(); - event.stopImmediatePropagation(); - return; - } - lastClick = now; - }; - el.addEventListener('click', el.therapyThrottleHandler, true); - }, - unbind(el) { - el.removeEventListener('click', el.therapyThrottleHandler, true); - delete el.therapyThrottleHandler; - } -}); - -$.ajaxSetup({ - traditional: true, - error(xhr) { - const message = xhr.responseJSON && xhr.responseJSON.msg || '请求失败,请稍后重试'; - if (window.ELEMENT) ELEMENT.Message.error(message); - else if (window.vant) vant.Toast.fail(message); - } -}); - -Vue.prototype.$downLoad = function(url, data = {}) { - const query = $.param(data, true); - window.open(url + (url.includes('?') ? '&' : '?') + query); -}; -Vue.prototype.$download = Vue.prototype.$downLoad; -Vue.prototype.$viewImage = function(url) { - const address = CREATE_PREVIEW_URL(url); - if (window.vant) vant.ImagePreview([address]); - else window.open(address); -}; -window.viewImage = Vue.prototype.$viewImage; - -// v3 views use the same helper for stored file IDs and v4 download URLs. -window.therapyPreview = function(value) { - if (!value) return ''; - return /^(https?:|data:|blob:|\/)/.test(value) ? value : - '/platform/inclusiveTherapyV3/common/preview?id=' + encodeURIComponent(value); -}; - -if (window.vant) { - window.preview = function(filename, id) { - const address = therapyPreview(id); - if (/\.(jpe?g|png|gif|bmp|webp|svg)$/i.test(filename || '')) { - vant.ImagePreview([address]); - } else { - window.open(address); - } - }; -} diff --git a/src/main/resources/static/assets/staffbenefit/therapyRecuperation/component.js b/src/main/resources/static/assets/staffbenefit/therapyRecuperation/component.js deleted file mode 100644 index e1dfa83..0000000 --- a/src/main/resources/static/assets/staffbenefit/therapyRecuperation/component.js +++ /dev/null @@ -1,130 +0,0 @@ -Vue.component('vi-title', { - props: ['title'], - template: ` -
-
-
- {{ title }} -
-
- ` -}) - -Vue.component('vi-title2', { - props: ['title'], - template: ` - -
- -
- -
- -
-
- - ` -}) - -Vue.component('vi-table-state', { - props: ['state'], - template: ` - {{ state.stateName }} - ` -}) -Vue.component('more', { - props: {more: {type: Boolean, default: false}}, - template: ` - - {{ more ? '收起' : '展开' }} - `, - model: { - prop: 'more', - event: 'change' - } -}) - -Vue.component('therapy-table-tool', { - props: { - label: {type: String}, - app: {} - }, - data() { - return { - checkedFields: [], - columns: [], - } - }, - methods: { - tableSizeChange(command) { - const {size} = command - this.app.tableSizeChange(size) - }, - columnChange() { - this.app.columnChange(this.columns.filter(v => this.checkedFields.includes(v.prop))) - }, - getColumns() { - const {tableColumns} = this.app - if (!tableColumns) { - return - } - this.columns = tableColumns - this.checkedFields = this.columns.filter(v => v.checked !== 0).map(v => v.prop) - this.columnChange() - }, - }, - created() { - this.getColumns() - }, - template: ` - - -
- -
- -
- - -
-
- -
- - -
- - Mini - Small - Medium - Large - -
- - - -
- - {{ - field.label - }} - - -
- -
- -
-
- - -
-
-
- `, -}) -Vue.component('table-tool', Vue.options.components['therapy-table-tool']) diff --git a/src/main/resources/static/assets/staffbenefit/therapyRecuperation/css/desktop.css b/src/main/resources/static/assets/staffbenefit/therapyRecuperation/css/desktop.css deleted file mode 100644 index 2ed99e1..0000000 --- a/src/main/resources/static/assets/staffbenefit/therapyRecuperation/css/desktop.css +++ /dev/null @@ -1,189 +0,0 @@ -.therapy-desktop { - font-family: "Helvetica Neue", "Microsoft YaHei", Arial, sans-serif; - font-size: 14px; - color: #303133; -} - -.therapy-desktop #app { - height: auto; - min-height: 100%; - overflow: visible; - background: transparent; -} - -.therapy-desktop #app .el-card__header { - padding: 16px 20px; - color: #303133; - font-size: 16px; - font-weight: 600; - line-height: 24px; -} - -.therapy-desktop #app .el-form-item__label { - color: #606266; - font-weight: 400; -} - -.therapy-desktop #app .search { - display: grid; - grid-template-columns: repeat(3, minmax(0, 1fr)); - gap: 16px 24px; - margin: 0; -} - -.therapy-desktop #app .search .search-item { - width: auto; - min-width: 0; - margin: 0; - padding: 0; - overflow: visible; -} - -.therapy-desktop #app .search .search-item-label { - flex: 0 0 90px; - width: 90px; - min-width: 0; - margin-right: 12px; - color: #606266; - text-align: right; - line-height: 20px; - overflow: visible; -} - -.therapy-desktop #app .search .search-item-option { - flex: 1; - width: 0; - min-width: 0; - overflow: visible; -} - -.therapy-desktop #app .search-item-option > .el-input, -.therapy-desktop #app .search-item-option > .el-select, -.therapy-desktop #app .search-item-option > .el-date-editor { - width: 100%; - max-width: 100%; -} - -.therapy-desktop #app .search-item-option > .el-radio-group { - display: flex; - flex-wrap: wrap; - gap: 4px 0; -} - -.therapy-desktop #app .search .search-query { - display: flex; - align-items: center; - gap: 10px; - width: auto; - margin: 0; - padding-left: 102px; - overflow: visible; -} - -.therapy-desktop #app .query-row { - height: auto; - min-height: 56px; - padding: 12px 0; -} - -.therapy-desktop #app .query-row > .query-row-title:empty { - display: none; -} - -.therapy-desktop #app .query-row .el-col { - min-width: 0; - overflow: visible; -} - -.therapy-desktop #app .query-row-content { - flex: 1; -} - -.therapy-desktop #app .query-row-content > .el-row { - display: flex; - flex-wrap: wrap; - row-gap: 12px; -} - -.therapy-desktop #app .query-row-content > .el-row > .el-col { - display: flex; - align-items: center; - gap: 12px; - padding-right: 24px; -} - -.therapy-desktop #app .query-row-content > .el-row > .el-col > span:first-child { - flex: 0 0 90px; - color: #606266; - text-align: right; -} - -.therapy-desktop #app .query-row-content > .el-row > .el-col > .el-input, -.therapy-desktop #app .query-row-content > .el-row > .el-col > .el-select { - flex: 1; - width: 0 !important; - min-width: 0; -} - -.therapy-desktop .therapy-table-tool { - flex-wrap: wrap; - gap: 12px; -} - -.therapy-desktop .therapy-table-tool > div { - min-width: 0; - max-width: 100%; - flex-wrap: wrap; - gap: 10px; -} - -.therapy-desktop .therapy-title { - display: flex; - align-items: center; - min-width: 0; - margin-bottom: 16px; - color: #303133 !important; - font-size: 16px; - font-weight: 600 !important; - line-height: 24px; - overflow-wrap: anywhere; -} - -.therapy-desktop .therapy-title .therapy-title-marker { - flex: 0 0 3px; - height: 16px !important; -} - -.therapy-desktop .therapy-title .therapy-title-text { - margin-left: 10px !important; - font-size: 16px !important; - letter-spacing: normal !important; -} - -.therapy-desktop #app .chart-title, -.therapy-desktop #app .col-title { - color: #303133; - font-size: 16px; - font-weight: 600; -} - -@media (max-width: 1199px) { - .therapy-desktop #app .search { - grid-template-columns: repeat(2, minmax(0, 1fr)); - } -} - -@media (max-width: 767px) { - .therapy-desktop #app .search { - grid-template-columns: minmax(0, 1fr); - } - - .therapy-desktop #app .query-row-content > .el-row > .el-col { - width: 100%; - padding-right: 0; - } - - .therapy-desktop .therapy-table-tool > div { - width: 100%; - } -} diff --git a/src/main/resources/static/assets/staffbenefit/therapyRecuperation/initTableMixins.js b/src/main/resources/static/assets/staffbenefit/therapyRecuperation/initTableMixins.js deleted file mode 100644 index 8e3cf64..0000000 --- a/src/main/resources/static/assets/staffbenefit/therapyRecuperation/initTableMixins.js +++ /dev/null @@ -1,166 +0,0 @@ -var therapyTableMixins = { - data() { - return { - festival: ['元旦', '春节', '清明节', '劳动节', '端午节', '中秋节', '国庆节', '其它'], - submitLoading: false, - searchMore: false, - tableSize: '', - tableKey: '', - formData: {}, - formRules: {}, - formLoading: false, - tableLoading: false, - tableData: [], - tableColumns: [], - pageForm: { - searchName: "", - searchKeyword: "", - pageNumber: 1, - pageSize: 10, - totalCount: 0, - pageOrderName: "", - pageOrderBy: "" - }, - guavaIndex: 'index', - unionGroups: [], - threeUnits: [] - } - }, - filters: { - date(value) { - return value ? moment(value).format('YYYY-MM-DD') : '' - } - }, - methods: { - dropdownCommand({action, value}) { - if (action) action(value) - }, - - fileHandleRemove(file, fileList) { - return fileList; - }, - fileHandleChange(file, fileList, {type, size}) { - const removeFile = () => { - fileList.splice(fileList.findIndex(v => v === file)) - } - - if (!file.size) { - this.notifyWarning('您选择的是空文件!') - removeFile() - } - - if (type && type.length && !type.includes(file.name.split('.').pop().toLowerCase())) { - this.notifyWarning(`文件只能是 ${type.map(v => v.toUpperCase()).join('/')} 格式!`) - removeFile() - } - - if (size && file.size > size) { - this.notifyWarning(`文件大小不能超过 ${size / 1024 / 1024}MB!`) - removeFile() - } - - return fileList; - }, - - columnChange(val) { - this.tableLoading = true - this.tableColumns = val - this.tableLoading = false - }, - tableSizeChange(size) { - this.tableSize = size - }, - indexMethod(index) { - return index + (this.pageForm.pageNumber - 1) * this.pageForm.pageSize + 1 - }, - doSearch() { - this.tableKey = new Date().getTime() - this.pageForm.pageNumber = 1 - this.pageData() - }, - pageOrder(column) { - this.pageForm.pageOrderName = column.prop; - this.pageForm.pageOrderBy = column.order; - this.pageData(); - }, - pageNumberChange(val) { - this.pageForm.pageNumber = val; - this.pageData(); - }, - pageSizeChange(val) { - this.pageForm.pageSize = val; - this.pageData(); - }, - pageData(url) { - const address = url ? url : loc() + "/pageData" - this.tableLoading = true - $.post(address, this.pageForm, (data) => { - this.tableLoading = false - if (data.code == 0) { - this.tableData = data.data.list; - this.pageForm.totalCount = data.data.totalCount; - } else { - this.$message.error(data.msg); - } - }, "json").always(() => { - this.tableLoading = false; - }); - }, - notifySuccess(msg) { - this.$notify({ - title: '成功', - message: msg, - type: 'success' - }); - }, - notifyWarning(msg) { - this.$notify({ - title: '警告', - message: msg, - type: 'warning' - }); - }, - notifyError(msg) { - this.$notify.error({ - title: '错误', - message: msg - }); - }, - async getThreeUnits() { - this.$set(this.pageForm, 'threeUnitId', null) - this.threeUnits = [] - this.threeUnits = await threeUnitsByUnionGroupOrUnitId(this.pageForm.unitId, this.pageForm.unionGroupId) - }, - launchFullscreen() { - const element = document.documentElement - if (element.requestFullscreen) { - element.requestFullscreen(); - } else if (element.mozRequestFullScreen) { - element.mozRequestFullScreen(); - } else if (element.webkitRequestFullscreen) { - element.webkitRequestFullscreen(); - } else if (element.msRequestFullscreen) { - element.msRequestFullscreen(); - } - this.calcSignTableHeight() - }, - exitFullscreen() { - if (document.exitFullscreen) { - document.exitFullscreen(); - } else if (document.mozCancelFullScreen) { - document.mozCancelFullScreen(); - } else if (document.webkitExitFullscreen) { - document.webkitExitFullscreen(); - } - }, - toggleFullScreen() { - if (!document.fullscreenElement) { - document.documentElement.requestFullscreen(); - } else { - if (document.exitFullscreen) { - document.exitFullscreen(); - } - } - } - } -} diff --git a/src/main/resources/static/assets/staffbenefit/therapyRecuperation/mobile/main.css b/src/main/resources/static/assets/staffbenefit/therapyRecuperation/mobile/main.css deleted file mode 100644 index 88ef59d..0000000 --- a/src/main/resources/static/assets/staffbenefit/therapyRecuperation/mobile/main.css +++ /dev/null @@ -1,119 +0,0 @@ -html { - display: block; - font-size: 16px; - min-height: 100vh; - background-color: #f6f7f9; -} - -body { - min-width: 320px; - max-width: 640px; - margin: 0 auto; - padding: 0; - font-family: "微软雅黑", Helvetica, STHeiTi, sans-serif; - color: #000000; - -webkit-text-size-adjust: 100% !important; -} - -#app { - min-height: 100vh; - background-color: #f9f9f9; - display: block; -} - -[v-cloak] { - display: none; -} - -a, img { - -webkit-touch-callout: none; - text-decoration: none; - color: #000000; -} - -.text-center { - text-align: center; -} - -.text-right { - text-align: right; -} - -.text-left { - text-align: left; -} - -.m5 { - margin: 5px; -} - -.m10 { - margin: 10px; -} - -.mb5 { - margin-bottom: 5px; -} - -.mb10 { - margin-bottom: 10px; -} - -.mt5 { - margin-top: 5px; -} - -.mt10 { - margin-top: 10px; -} - -.ml5 { - margin-left: 5px; -} - -.ml15 { - margin-left: 15px; -} - - -.ml10 { - margin-left: 10px; -} - -.mr5 { - margin-right: 5px; -} - -.mr10 { - margin-right: 10px; -} - -.mt20 { - margin-top: 20px; -} - -.p10 { - padding: 10px; -} - -.mb20 { - margin-bottom: 20px; -} - -.flex-box { - display: flex; -} - -.font-bold { - font-weight: bold; -} - -.text-overflow { - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; -} - - - - diff --git a/src/main/resources/static/assets/staffbenefit/therapyRecuperation/mobile/theme.css b/src/main/resources/static/assets/staffbenefit/therapyRecuperation/mobile/theme.css deleted file mode 100644 index 3c89dda..0000000 --- a/src/main/resources/static/assets/staffbenefit/therapyRecuperation/mobile/theme.css +++ /dev/null @@ -1,177 +0,0 @@ -.van-pagination__item--active { - background-color: #1867b0; - color: #FFFFFF !important; -} - -.van-pagination__item:active { - background-color: #1867b0 !important; -} - -.van-pagination__item { - color: #1867b0; -} - -.van-dropdown-menu__bar { - border-top: 1px solid #f8f8f8; - border-bottom: 1px solid #f8f8f8; - box-shadow: none; - overflow-x: auto; - -} - -/*.van-dropdown-menu__bar > .van-dropdown-menu__item:not(:last-child) {*/ -/* border-right: 1px solid #f0f0f0;*/ -/*}*/ - -.van-dropdown-menu__title--active, .van-dropdown-item__option--active, .van-dropdown-item__option--active .van-dropdown-item__icon { - color: #1867b0; -} - -.van-tabs { - z-index: 1; -} - -.van-tabs__line { - background-color: #1867b0; -} - -.font-theme-color { - color: #1867b0; -} - -.van-nav-bar { - /*background-color: #1867b0;*/ - background-color: #FFFFFF; - z-index: 11; -} - -.van-nav-bar .van-nav-bar__left > .van-icon-arrow-left { - /*color: #FFFFFF;*/ - color: #000; -} - -.van-nav-bar .van-nav-bar__title { - /*color: #FFFFFF;*/ - color: #000; -} - - -.van-dropdown-menu__title { - font-size: 14px; -} - -.layui-table th, .layui-table td { - text-align: center !important; -} - -.layui-table-fixed { - z-index: 9 !important; -} - -.search-fixed { - position: fixed; - top: 46px; - left: 0; - width: 100%; - z-index: 1; - box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%); -} - -.van-empty { - background-color: #FFFFFF; - position: absolute; - left: 50%; - top: 50%; - transform: translate(-50%, -50%); - width: 100%; - height: 100%; - z-index: 0; -} - -.van-dropdown-item__content { - border-bottom-right-radius: 15px; - border-bottom-left-radius: 15px; -} - -.van-dropdown-menu__bar { -} - -.van-dropdown-menu__item { - flex: unset; - flex-shrink: 0; -} - -.van-dropdown-menu__title { - padding: 0 25px; -} - -.list-card { - margin-bottom: 20px; -} - -.list-card .van-cell { - padding: 8px 16px; -} - -.list-card .van-cell__title { - flex: 1; - color: #969799; - /*font-weight: 500;*/ -} - -.list-card .van-cell__title:after { - content: ':'; - margin-left: 2px; -} - - -.list-card .van-cell__value { - text-align: left; - flex: 2.5; - color: #323233; - /*font-weight: 500;*/ -} - -.van-cell-group__title { - padding: 5px 0 5px 16px; -} - -.van-calendar__confirm { - height: 45px; -} - -.van-index-bar__sidebar { - top: -webkit-calc(20% + 20px); - top: calc(20% + 20px); - height: -webkit-calc(80% - 100px); - height: calc(80% - 100px); - -webkit-transform: unset; - -ms-transform: unset; - transform: unset; -} - -.van-index-bar__index { - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - font-weight: 500; - font-size: 14px; -} - -.van-sidebar-item { - margin: 0 !important; - padding: 10px 12px !important; -} - -.van-sidebar-item--select::before { - background-color: #373AA3; - left: 5px; -} - -.van-sidebar-item--select { - text-indent: 5px; -} - - - diff --git a/src/main/resources/static/assets/staffbenefit/therapyRecuperation/mobileMixins.js b/src/main/resources/static/assets/staffbenefit/therapyRecuperation/mobileMixins.js deleted file mode 100644 index 7f92f00..0000000 --- a/src/main/resources/static/assets/staffbenefit/therapyRecuperation/mobileMixins.js +++ /dev/null @@ -1,106 +0,0 @@ -const mobileMixins = { - data() { - return { - tableData: [], - mLoading: false, - finished: false, - loading: false, - refreshing: false, - formData: {}, - pageForm: { - pageNumber: 1, - pageSize: 5, - totalCount: 0 - }, - themeColor: '#373AA3', - pageDataUrl: null, - yearList: [] - } - }, - filters: { - date(value) { - return value ? moment(value).format('YYYY-MM-DD') : '' - } - }, - methods: { - historyBack(callback) { - if (window.history.length > 1) { - window.history.back() - } else { - window.location.href = '/platform/h5/home' - } - if (typeof callback === 'function') callback() - }, - async pageData() { - this.mLoading = true - if (this.pageDataUrl == null) { - this.pageDataUrl = loc() + '/pageData' - } - $.post(this.pageDataUrl, this.pageForm, (res) => { - const {code, data} = res - if (this.refreshing) { - this.tableData = []; - this.refreshing = false; - } - this.loading = false; - - if (code === 0) { - this.tableData = this.tableData.concat(data.list) - this.pageForm.totalCount = data.totalCount - - if (this.tableData.length === 0) { - this.finished = true; - } else { - this.none_data = false - if (this.tableData.length >= this.pageForm.totalCount) { - this.finished = true; - this.pageForm.pageNumber++ - } - } - } - }) - this.mLoading = false - }, - async onRefresh() { - this.tableData = [] - this.refreshing = true; - this.finished = false; - this.pageForm.pageNumber = 0 - this.loading = true; - await this.pageData(); - }, - GetQueryString(name) { - const reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); - const r = window.location.search.substr(1).match(reg); - if (r != null) return unescape(r[2]); - return ""; - }, - createYearList() { - for (let i = new Date().getFullYear() - 50; i <= new Date().getFullYear(); i++) { - this.yearList.unshift({value: i, text: i + '年'},) - } - }, - startLoading() { - this.vLoading = vant.Toast.loading({ - message: '加载中...', - forbidClick: true, - duration: 0 - }) - }, - closeLoading() { - setTimeout(() => { - this.vLoading.close() - }, 500) - }, - doSearch() { - this.tableKey = new Date().getTime() - this.pageForm.pageNumber = 1 - this.pageForm.totalCount = 0 - this.tableData = [] - this.pageData() - } - }, - created() { - this.createYearList() - } -} diff --git a/src/main/resources/static/assets/staffbenefit/therapyRecuperation/v.js b/src/main/resources/static/assets/staffbenefit/therapyRecuperation/v.js deleted file mode 100644 index c84791a..0000000 --- a/src/main/resources/static/assets/staffbenefit/therapyRecuperation/v.js +++ /dev/null @@ -1,426 +0,0 @@ -/** - * 根据enum获取选项 - * @returns {Promise<*>} - */ -var getEnumOptions = async (enumName) => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/enumOptions", {enumName}) - return data -} - -/** - * 根据code获取字典选项 - * @returns {Promise<*>} - */ -var getDictOptions = async (code) => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/dictOptions", {code}) - return data -} - -/** - * 根据code获取字典选项信息 - * @returns {Promise<*>} - */ -var getDictState = async (code) => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/dictState", {code}) - return data -} - -/** - * 获取校区 - * @returns {Promise<*>} - */ -var getCampus = async () => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/getCampus") - return data -} - - -/** - * 获取代表团 - * @returns {Promise<*>} - */ -var getDbt = async (jdhId) => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/getDbt", {jdhId}) - return data -} - -//查询当前用户管理的院级工会 -var getUnion = async () => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/getUnion") - return data -} - -//查询当前用户管理的院级工会下的单位 -var getUnit = async (unionid) => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/getUnit", {unionid: unionid}) - return data -} - -/** - * 获取代表小组 - * @returns {Promise<*>} - */ -var getGroup = async (jdhId) => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/getGroup", {jdhId}) - return data -} - -//获取所有开启的教代会 -var getOpenJdh = async () => { - const {data} = await $.get("/platform/jdh/Common/getOpenJdhxx") - return data -} - -/** - * 获取院级工会 - * @returns {Promise<*>} - */ -var getUnions = async (delegationId = null, isPermission = false) => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/unions", {delegationId, isPermission}) - return data -} - -/** - * 获取活动院级工会 - * @returns {Promise<*>} - */ -var getActivityUnions = async () => { - const {data} = await $.get("/platform/activity/basic/union/getActivityUnions",) - return data -} - -/** - * 获取单位 - * @returns {Promise<*>} - */ -var getUnits = async (unionId = null) => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/units", {unionId}) - return data -} - -var getClubUnits = async () => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/getClubUnits", {}) - return data -} - -/** - * 获取单位 - * @returns {Promise<*>} - */ -var getActivityUnits = async (unionId) => { - const {data} = await $.get("/platform/activity/basic/union/getActivityUnits", {unionId}) - return data -} - - -/** - * 获取本分工会的单位 - * @returns {Promise<*>} - */ -var getUnionUnits = async () => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/unionUnits") - return data -} - -/** - * 获取福利单位 - * @returns {Promise<*>} - */ -var getWelfareUnits = async () => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/welfareUnits") - return data -} - -/** - * 获取福利单位的二级单位 - * @returns {Promise<*>} - */ -var getUnitsByWelfareUnit = async (welfareUnitId) => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/unitsByWelfareUnit", {welfareUnitId}) - return data -} - -/** - * 获取协会 - * @returns {Promise<*>} - */ -var getClubs = async () => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/clubs", {}) - return data -} - -/** - * 获取届次 - * @returns {Promise<*>} - */ -var getJc = async () => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/getJcByDict") - return data -} - -/** - * 获取当前人所管理的协会 - * @returns {Promise<*>} - */ -var getClubsByRole = async () => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/getClubsByRole", {}) - return data -} -/** - * 获取当前人所在的协会 - * @returns {Promise<*>} - */ -var getClubsByUser = async () => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/getClubsByUser", {}) - return data -} - -/** - * 获取文件类型 - * @returns {Promise<*>} - */ -var getFileType = async () => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/getFileTypeByDict") - return data -} - -/** - * 获取基层干部的角色 - * @returns {Promise<*>} - */ -var getJcgbJs = async () => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/getJcgbJsByDict") - return data -} - -/** - * 获取审批员的角色 - * @returns {Promise<*>} - */ -var getSpyJs = async () => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/getSpyJsByDict") - return data -} - -/** - * 获取协会类型 - * @returns {Promise<*>} - */ -var getClubType = async () => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/getClubTypeByDict") - return data -} - -/** - * 获取系统名称 - * @returns {Promise<*>} - */ -var getSystemName = async () => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/getSystemNameByDict") - return data -} - -/** - * 获取工代会 - * @returns {Promise<*>} - */ -var getGdh = async (open = true) => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/getGdh", {open}) - return data -} - -/** - * 获取工代会代表团 - * @returns {Promise<*>} - */ -var getGdhDbt = async (jdhId) => { - const {data} = await $.get("/platform/gdh/common/getDbt", {jdhId}) - return data -} - -/** - * 根据id查用户 - * @returns {Promise<*>} - */ -var queryUserByIds = async (ids) => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/queryUserByIds", {ids: JSON.stringify(ids)}) - return data -} - -/** - * 根据id查用户 - * @returns {Promise<*>} - */ -var queryUserById = async (id) => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/queryUserById", {id: id}) - return data -} - -/** - * 查询用户 - * @param query - * @param unionId - * @param unitId - * @param sex - * @param member - * @returns {Promise<*>} - */ -var searchUser = async (query, unionId = null, unitId = null, sex = null, member = null) => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/searchUser", { - query, - unionId, - unitId, - sex, - member - }) - return data.list -} - -/** - * 获取代表可以操作的教代会 - * @returns {Promise<*>} - */ -var getJdhByDb = async () => { - const {data} = await $.get("/platform/proposal/common/getJdhByDb") - return data -} - -/** - * 获取代表可以操作的开启的教代会 - * @returns {Promise<*>} - */ -var getOpenJdhByDb = async () => { - const {data} = await $.get("/platform/proposal/common/getOpenMeeting") - return data -} - -/** - * 获取教代会工作资料类型 - * @returns {Promise<*>} - */ -var getGzzllx = async () => { - const {data} = await $.get("/platform/jdh/Common/getGzzllx") - return data -} - -/** - * 获取疗休养活动 - * @returns {Promise<*>} - */ -var getLxyHd = async () => { - const {data} = await $.get("/platform/zgfw/lxy/common/getHdList") - return data -} -var getlxyHdCd = async () => { - const {data} = await $.get("/platform/zgfw/lxy/common/getlxyHdCd") - return data -} - -var getNowLxyHd = async () => { - const {data} = await $.get("/platform/zgfw/lxy/common/getNowHdList") - return data -} - -/** - * 获取基层工会 - * @returns {Promise<*>} - */ -var getUnionList = async (unionId) => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/unionList", {unionId}) - return data -} -var threeUnitsByUnionGroupOrUnitId = async (unitId, groupId) => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/threeUnitsByUnionGroupOrUnitId", { - unitId, - groupId - }) - return data -} - -var unionGroupsByUnionId = async (unionId) => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/unionGroupsByUnionId", {unionId}) - return data -} - -/** - * 获取活动人员范围 - * @returns {Promise<*>} - */ -var getActivityGroup = async () => { - const {data} = await $.get('/platform/activity/basic/scope/getActivityUserScopeGroup') - return data -} -/** - * 查看该人员是否在活动范围中 - * @returns {Promise<*>} - */ -var getScopeUser = async (activityGroupId) => { - const {data} = await $.get('/platform/activity/basic/scope/getScopeUser', {activityGroupId}) - return data -} - -/** - * 根据code查询活动项目下面的类型 - * @param id - * @returns {Promise<*>} - */ -var getActivityTwoLevelType = async (code) => { - const {data} = await $.get("/platform/activity/basic/basic/settings/getActivityTwoLevelType", {code}) - return data -} - -//获取二级教代会(双代会)工作资料类型 -var getJdh2Gzzllx = async () => { - const {data} = await $.get("/platform/jdh/Common/getJdh2Gzzllx") - return data -} - -var getLocationVariable = (variable) => { - var query = window.location.search.substring(1); - var vars = query.split("&"); - for (let i = 0; i < vars.length; i++) { - var pair = vars[i].split("="); - if (pair[0] == variable) { - return pair[1]; - } - } - return ''; -} - -var getConfigKey = async (key) => { - const {data} = await $.get('/platform/inclusiveTherapyV3/common/getValue', {key}) - return data -} - -/** - * 根据多个工会获取单位 - * @returns {Promise<*>} - */ -var getUnitByUnions = async (unionId = null) => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/getUnitsByUnions", {unionId}) - return data -} - -/** - * 多个单位或小组获取三级单位 - * @param unitId - * @param groupId - * @returns {Promise<*>} - */ -var getThreeUnitsByUnionGroupsOrUnitIds = async (unitId, groupId) => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/getThreeUnitsByUnionGroupsOrUnitIds", { - unitId, - groupId - }) - return data -} - -/** - * 多个工会获取工会小组 - * @param unionId - * @returns {Promise<*>} - */ -var getUnionGroupsByUnions = async (unionId) => { - const {data} = await $.get("/platform/inclusiveTherapyV3/common/getUnionGroupsByUnions", {unionId}) - return data -} diff --git a/src/main/resources/static/components/staffbenefit/therapyRecuperation/BorderTable.vue b/src/main/resources/static/components/staffbenefit/therapyRecuperation/BorderTable.vue deleted file mode 100644 index ea639c8..0000000 --- a/src/main/resources/static/components/staffbenefit/therapyRecuperation/BorderTable.vue +++ /dev/null @@ -1,82 +0,0 @@ -/** -*Desc: -*Create by: jug -*Create time:2023/11/10/11:07 -*/ - - - - - \ No newline at end of file diff --git a/src/main/resources/static/components/staffbenefit/therapyRecuperation/FileUpload.vue b/src/main/resources/static/components/staffbenefit/therapyRecuperation/FileUpload.vue deleted file mode 100644 index 4beb27f..0000000 --- a/src/main/resources/static/components/staffbenefit/therapyRecuperation/FileUpload.vue +++ /dev/null @@ -1,53 +0,0 @@ - - diff --git a/src/main/resources/static/components/staffbenefit/therapyRecuperation/Guava.vue b/src/main/resources/static/components/staffbenefit/therapyRecuperation/Guava.vue deleted file mode 100644 index 7e52bee..0000000 --- a/src/main/resources/static/components/staffbenefit/therapyRecuperation/Guava.vue +++ /dev/null @@ -1,150 +0,0 @@ - - - - - diff --git a/src/main/resources/static/components/staffbenefit/therapyRecuperation/ImageUpload.vue b/src/main/resources/static/components/staffbenefit/therapyRecuperation/ImageUpload.vue deleted file mode 100644 index 9afe483..0000000 --- a/src/main/resources/static/components/staffbenefit/therapyRecuperation/ImageUpload.vue +++ /dev/null @@ -1,61 +0,0 @@ - - - diff --git a/src/main/resources/static/components/staffbenefit/therapyRecuperation/mobile/MCard.vue b/src/main/resources/static/components/staffbenefit/therapyRecuperation/mobile/MCard.vue deleted file mode 100644 index 074cb62..0000000 --- a/src/main/resources/static/components/staffbenefit/therapyRecuperation/mobile/MCard.vue +++ /dev/null @@ -1,50 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/main/resources/static/components/staffbenefit/therapyRecuperation/mobile/MLoading.vue b/src/main/resources/static/components/staffbenefit/therapyRecuperation/mobile/MLoading.vue deleted file mode 100644 index 43fa4c3..0000000 --- a/src/main/resources/static/components/staffbenefit/therapyRecuperation/mobile/MLoading.vue +++ /dev/null @@ -1,89 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/main/resources/static/components/staffbenefit/therapyRecuperation/mobile/MTableLoading.vue b/src/main/resources/static/components/staffbenefit/therapyRecuperation/mobile/MTableLoading.vue deleted file mode 100644 index 934cc76..0000000 --- a/src/main/resources/static/components/staffbenefit/therapyRecuperation/mobile/MTableLoading.vue +++ /dev/null @@ -1,140 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/main/resources/static/components/staffbenefit/therapyRecuperation/mobile/VantFileUpload.vue b/src/main/resources/static/components/staffbenefit/therapyRecuperation/mobile/VantFileUpload.vue deleted file mode 100644 index 340d3e0..0000000 --- a/src/main/resources/static/components/staffbenefit/therapyRecuperation/mobile/VantFileUpload.vue +++ /dev/null @@ -1,680 +0,0 @@ - - - - - - diff --git a/src/main/resources/views/platform/zhgh/dayofficework/unionReimburse/info.js b/src/main/resources/views/platform/zhgh/dayofficework/unionReimburse/info.js index 13654cb..6ecdbad 100644 --- a/src/main/resources/views/platform/zhgh/dayofficework/unionReimburse/info.js +++ b/src/main/resources/views/platform/zhgh/dayofficework/unionReimburse/info.js @@ -3,7 +3,7 @@ const unionReimburseInfo = {
申请信息 - 点击查看流程图 +
diff --git a/src/main/resources/views/platform/zhgh/staffbenefit/therapyRecuperation/audit/TheRapyAudit.html b/src/main/resources/views/platform/zhgh/staffbenefit/therapyRecuperation/audit/TheRapyAudit.html index 0be8387..ef98f2d 100644 --- a/src/main/resources/views/platform/zhgh/staffbenefit/therapyRecuperation/audit/TheRapyAudit.html +++ b/src/main/resources/views/platform/zhgh/staffbenefit/therapyRecuperation/audit/TheRapyAudit.html @@ -1,6 +1,7 @@ + - -${layoutContent} - + + +${layoutContent} + diff --git a/src/main/resources/views/platform/zhgh/staffbenefit/therapyRecuperation/layouts/platform.html b/src/main/resources/views/platform/zhgh/staffbenefit/therapyRecuperation/layouts/platform.html index ad21f79..b9fd5a1 100644 --- a/src/main/resources/views/platform/zhgh/staffbenefit/therapyRecuperation/layouts/platform.html +++ b/src/main/resources/views/platform/zhgh/staffbenefit/therapyRecuperation/layouts/platform.html @@ -1,32 +1,8 @@ - - - - - - - - -
${layoutContent}
+ +${layoutContent} diff --git a/src/main/resources/views/platform/zhgh/staffbenefit/therapyRecuperation/process/TheRapyQuery.html b/src/main/resources/views/platform/zhgh/staffbenefit/therapyRecuperation/process/TheRapyQuery.html index 2cf4a94..b8d3348 100644 --- a/src/main/resources/views/platform/zhgh/staffbenefit/therapyRecuperation/process/TheRapyQuery.html +++ b/src/main/resources/views/platform/zhgh/staffbenefit/therapyRecuperation/process/TheRapyQuery.html @@ -1,6 +1,7 @@ +