diff --git a/.env b/.env index b5d9a33..0d71753 100644 --- a/.env +++ b/.env @@ -1,12 +1,38 @@ #>>>>【运维】<<< +# # port +# VITE_PORT = 3100 + +# # 网站标题 +# VITE_GLOB_APP_TITLE = 护理单元运维平台 + +# # 简称,此变量只能是字符/下划线 +# VITE_GLOB_APP_SHORT_NAME = 护理单元运维平台 + +# # 单点登录服务端地址 +# VITE_GLOB_APP_CAS_BASE_URL=http://cas.test.com:8443/cas + +# # 是否开启单点登录 +# VITE_GLOB_APP_OPEN_SSO = false + +# # 开启微前端模式 +# VITE_GLOB_APP_OPEN_QIANKUN=true + +# # 文件预览地址 +# VITE_GLOB_ONLINE_VIEW_URL=http://fileview.jeecg.com/onlinePreview + + +# ========================================================================================================= +# ========================================================================================================= + +#>>>>【运营】<<< # port VITE_PORT = 3100 # 网站标题 -VITE_GLOB_APP_TITLE = 护理单元运维平台 +VITE_GLOB_APP_TITLE = 护理单元运营平台 # 简称,此变量只能是字符/下划线 -VITE_GLOB_APP_SHORT_NAME = 护理单元运维平台 +VITE_GLOB_APP_SHORT_NAME = 护理单元运营平台 # 单点登录服务端地址 VITE_GLOB_APP_CAS_BASE_URL=http://cas.test.com:8443/cas @@ -19,29 +45,3 @@ VITE_GLOB_APP_OPEN_QIANKUN=true # 文件预览地址 VITE_GLOB_ONLINE_VIEW_URL=http://fileview.jeecg.com/onlinePreview - - -# ========================================================================================================= -# ========================================================================================================= - -#>>>>【运营】<<< -# # port -# VITE_PORT = 3100 - -# # 网站标题 -# VITE_GLOB_APP_TITLE = 运营平台 - -# # 简称,此变量只能是字符/下划线 -# VITE_GLOB_APP_SHORT_NAME = 运营平台 - -# # 单点登录服务端地址 -# VITE_GLOB_APP_CAS_BASE_URL=http://cas.test.com:8443/cas - -# # 是否开启单点登录 -# VITE_GLOB_APP_OPEN_SSO = false - -# # 开启微前端模式 -# VITE_GLOB_APP_OPEN_QIANKUN=true - -# # 文件预览地址 -# VITE_GLOB_ONLINE_VIEW_URL=http://fileview.jeecg.com/onlinePreview \ No newline at end of file diff --git a/src/assets/loginmini/icon/jeecg_bg2.png b/src/assets/loginmini/icon/jeecg_bg2.png new file mode 100644 index 0000000..e865851 Binary files /dev/null and b/src/assets/loginmini/icon/jeecg_bg2.png differ diff --git a/src/assets/loginmini/icon/logo_yw.png b/src/assets/loginmini/icon/logo_yw.png index 9db2ef8..0ec5af6 100644 Binary files a/src/assets/loginmini/icon/logo_yw.png and b/src/assets/loginmini/icon/logo_yw.png differ diff --git a/src/assets/loginmini/icon/yylogo.png b/src/assets/loginmini/icon/yylogo.png index 7badefa..3014ec9 100644 Binary files a/src/assets/loginmini/icon/yylogo.png and b/src/assets/loginmini/icon/yylogo.png differ diff --git a/src/assets/loginmini/style/base.less b/src/assets/loginmini/style/base.less index 56c060d..554b9dd 100644 --- a/src/assets/loginmini/style/base.less +++ b/src/assets/loginmini/style/base.less @@ -364,3 +364,10 @@ a { background-repeat: no-repeat; background-color: #e4ecf5; } +.login-background-img2 { + background-image: url(../icon/jeecg_bg2.png); + background-size: cover; + background-position: top center; + background-repeat: no-repeat; + background-color: #e4ecf5; +} diff --git a/src/assets/loginmini/style/home.less b/src/assets/loginmini/style/home.less index c418100..1fdef05 100644 --- a/src/assets/loginmini/style/home.less +++ b/src/assets/loginmini/style/home.less @@ -19,6 +19,23 @@ -webkit-transform: translateX(-50%) translateY(-50%); } + +.aui-container2 { + max-width: 1000px; + margin: 0 auto; + // box-shadow: 0 4px 8px 1px rgba(0, 0, 0, 0.2); + position: fixed; + top: 50%; + left: 60%; + width: 92%; + height: auto; + -webkit-transform: translateX(-50%) translateY(-50%); + -moz-transform: translateX(-50%) translateY(-50%); + -ms-transform: translateX(-50%) translateY(-50%); + transform: translateX(-50%) translateY(-50%); + -webkit-transform: translateX(-50%) translateY(-50%); +} + .aui-form { width: 90%; display: -webkit-box; @@ -51,7 +68,7 @@ } .aui-logo { - width: 180px; + width: 230px; height: 80px; position: absolute; top: 8%; @@ -60,7 +77,7 @@ } .aui-logo2 { - width: 180px; + width: 230px; height: 80px; position: absolute; top: 18%; diff --git a/src/views/admin/IssueInfo/IssueInfo.api.ts b/src/views/admin/IssueInfo/IssueInfo.api.ts new file mode 100644 index 0000000..a8ae7dc --- /dev/null +++ b/src/views/admin/IssueInfo/IssueInfo.api.ts @@ -0,0 +1,72 @@ +import { defHttp } from '/@/utils/http/axios'; +import { useMessage } from "/@/hooks/web/useMessage"; + +const { createConfirm } = useMessage(); + +enum Api { + list = '/admin/issueInfo/list', + save='/admin/issueInfo/add', + edit='/admin/issueInfo/edit', + deleteOne = '/admin/issueInfo/delete', + deleteBatch = '/admin/issueInfo/deleteBatch', + importExcel = '/admin/issueInfo/importExcel', + exportXls = '/admin/issueInfo/exportXls', +} + +/** + * 导出api + * @param params + */ +export const getExportUrl = Api.exportXls; + +/** + * 导入api + */ +export const getImportUrl = Api.importExcel; + +/** + * 列表接口 + * @param params + */ +export const list = (params) => defHttp.get({ url: Api.list, params }); + +/** + * 删除单个 + * @param params + * @param handleSuccess + */ +export const deleteOne = (params,handleSuccess) => { + return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); +} + +/** + * 批量删除 + * @param params + * @param handleSuccess + */ +export const batchDelete = (params, handleSuccess) => { + createConfirm({ + iconType: 'warning', + title: '确认删除', + content: '是否删除选中数据', + okText: '确认', + cancelText: '取消', + onOk: () => { + return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { + handleSuccess(); + }); + } + }); +} + +/** + * 保存或者更新 + * @param params + * @param isUpdate + */ +export const saveOrUpdate = (params, isUpdate) => { + let url = isUpdate ? Api.edit : Api.save; + return defHttp.post({ url: url, params }, { isTransformResponse: false }); +} diff --git a/src/views/admin/IssueInfo/IssueInfo.data.ts b/src/views/admin/IssueInfo/IssueInfo.data.ts new file mode 100644 index 0000000..5e48745 --- /dev/null +++ b/src/views/admin/IssueInfo/IssueInfo.data.ts @@ -0,0 +1,32 @@ +import {BasicColumn} from '/@/components/Table'; +import {FormSchema} from '/@/components/Table'; +import { rules} from '/@/utils/helper/validator'; +import { render } from '/@/utils/common/renderUtils'; +import { getWeekMonthQuarterYear } from '/@/utils'; +//列表数据 +export const columns: BasicColumn[] = [ + { + title: '创建日期', + align: "center", + dataIndex: 'createTime', + width: 180, + }, + { + title: '发版类型', + align: "center", + dataIndex: 'issueType_dictText', + width: 180, + }, + { + title: '发版内容', + align: "center", + dataIndex: 'content', + }, +]; + +// 高级查询数据 +export const superQuerySchema = { + createTime: {title: '创建日期',order: 0,view: 'datetime', type: 'string',}, + issueType: {title: '发版类型',order: 1,view: 'radio', type: 'string',dictCode: 'issue_type',}, + content: {title: '发版内容',order: 2,view: 'umeditor', type: 'string',}, +}; diff --git a/src/views/admin/IssueInfo/IssueInfoList.vue b/src/views/admin/IssueInfo/IssueInfoList.vue new file mode 100644 index 0000000..270332b --- /dev/null +++ b/src/views/admin/IssueInfo/IssueInfoList.vue @@ -0,0 +1,237 @@ + + + + + + + 新增 + + + + + + + + + + + + + + 发版内容 + + + + + + + + + + + + + + + + diff --git a/src/views/admin/IssueInfo/components/IssueInfoDetailForm.vue b/src/views/admin/IssueInfo/components/IssueInfoDetailForm.vue new file mode 100644 index 0000000..ae0b94e --- /dev/null +++ b/src/views/admin/IssueInfo/components/IssueInfoDetailForm.vue @@ -0,0 +1,154 @@ + + + + + + + + + 发版类型: + {{formData.issueType_dictText}} + + + + + + + + + + + + + + + + diff --git a/src/views/admin/IssueInfo/components/IssueInfoDetailModal.vue b/src/views/admin/IssueInfo/components/IssueInfoDetailModal.vue new file mode 100644 index 0000000..c303cc6 --- /dev/null +++ b/src/views/admin/IssueInfo/components/IssueInfoDetailModal.vue @@ -0,0 +1,77 @@ + + + + + + + + + + diff --git a/src/views/admin/IssueInfo/components/IssueInfoForm.vue b/src/views/admin/IssueInfo/components/IssueInfoForm.vue new file mode 100644 index 0000000..d0da7b3 --- /dev/null +++ b/src/views/admin/IssueInfo/components/IssueInfoForm.vue @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/admin/IssueInfo/components/IssueInfoModal.vue b/src/views/admin/IssueInfo/components/IssueInfoModal.vue new file mode 100644 index 0000000..c82f6c7 --- /dev/null +++ b/src/views/admin/IssueInfo/components/IssueInfoModal.vue @@ -0,0 +1,77 @@ + + + + + + + + + + diff --git a/src/views/system/loginmini/MiniLogin_yunying.vue b/src/views/system/loginmini/MiniLogin_yunying.vue index 91b4183..8ad97fc 100644 --- a/src/views/system/loginmini/MiniLogin_yunying.vue +++ b/src/views/system/loginmini/MiniLogin_yunying.vue @@ -1,6 +1,6 @@ - - + + @@ -14,6 +14,11 @@ + + + + + @@ -77,11 +82,6 @@ - - - - -
+ 发版类型: + {{formData.issueType_dictText}} +