This commit is contained in:
kuaifan 2023-02-20 14:57:23 +08:00
parent 111b5a777f
commit 44f3c76569
50 changed files with 135 additions and 121 deletions

View File

@ -2,7 +2,11 @@
All notable changes to this project will be documented in this file.
## [0.23.36]
## [0.23.41]
### Bug Fixes
- 修复已知bug
### Features
@ -22,6 +26,7 @@ All notable changes to this project will be documented in this file.
- 优化消息数量显示
- 设待办快速选择人员
- 完善临时帐号权限
- 添加上班签到提醒消息
## [0.22.99]
@ -40,16 +45,28 @@ All notable changes to this project will be documented in this file.
### Bug Fixes
- 栏目内添加任务应该直接归属此栏目
- LDAP Exception
### Features
- 新增ldap帐号
- 二维码登录
### Performance
- 优化删除数据
## [0.22.84]
### Bug Fixes
- 栏目内添加任务应该直接归属此栏目
### Features
- 新增ldap帐号
### Performance
- 优化消息列表数据
- 优化移动端pad
- 完善LDAP
@ -60,17 +77,9 @@ All notable changes to this project will be documented in this file.
- 优化根据会员筛选任务
- 优化表情输入
- 优化会话删除
- 优化删除数据
## [0.22.66]
### Performance
- 优化未读消息提示
- 优化消息对话框loading
## [0.22.64]
### Bug Fixes
- 任务首次发消息消失的情况
@ -85,6 +94,8 @@ All notable changes to this project will be documented in this file.
- 会话顶部提示剩余未读消息
- 回复/引用机器人消息图标移位的问题
- 优化移动端打开会话
- 优化未读消息提示
- 优化消息对话框loading
## [0.22.56]
@ -251,6 +262,13 @@ All notable changes to this project will be documented in this file.
## [0.21.26]
### Performance
- 截图dev
- 客户端新增截图快捷键
## [0.21.22]
### Bug Fixes
- 回复数量增长错误的问题
@ -258,8 +276,6 @@ All notable changes to this project will be documented in this file.
### Performance
- 优化国际化提升访问速度
- 截图dev
- 客户端新增截图快捷键
## [0.21.15]
@ -293,15 +309,10 @@ All notable changes to this project will be documented in this file.
### Performance
- @结果相同时避免刷新
## [0.20.95]
### Performance
- 升级onlyoffice
- 离职后退出所有群
- 离职移交部门
- @结果相同时避免刷新
## [0.20.90]
@ -542,6 +553,7 @@ All notable changes to this project will be documented in this file.
### Bug Fixes
- 移动文件所有者错误
- 通知消息一直未读的情况
- 移动文件夹内文件所有者不变的问题
@ -554,30 +566,18 @@ All notable changes to this project will be documented in this file.
### Bug Fixes
- 移动文件所有者错误
### Features
- 新增全员群组
### Performance
- 调整消息标签位置
- 所有项目列表支持筛选个人项目
## [0.18.54]
### Bug Fixes
- 无法通过项目点击聊天的情况
### Features
- 支持编辑已发送的消息
- 新增全员群组
### Performance
- 添加邮件忽略功能
- 调整消息标签位置
- 所有项目列表支持筛选个人项目
## [0.18.44]
@ -623,6 +623,8 @@ All notable changes to this project will be documented in this file.
### Bug Fixes
- 无法点击图片预览的问题
- 部分长按菜单移位的问题
- 撤回消息导致未读数错误的问题
- 任务成员应该禁止退出任务群聊
@ -632,22 +634,12 @@ All notable changes to this project will be documented in this file.
### Performance
- 项目群、任务群可添加成员
- 支持@群聊以外成员
- 优化pdf浏览方式
- 仅(群聊)且(是群主或没有群主)才可以@成员以外的人
- 优化@其他成员在线状态
## [0.17.88]
### Bug Fixes
- 无法点击图片预览的问题
- 部分长按菜单移位的问题
### Performance
- 项目群、任务群可添加成员
- 支持@群聊以外成员
## [0.17.75]
### Features
@ -670,17 +662,12 @@ All notable changes to this project will be documented in this file.
### Performance
- 使用系统浏览器打开新窗口链接
- 默认使用文字头像
- 优化消息列表
- 优化移动客户端滚动穿透
- 取消置顶标签
## [0.17.30]
### Performance
- 使用系统浏览器打开新窗口链接
- 默认使用文字头像
## [0.17.20]
### Bug Fixes
@ -733,12 +720,6 @@ All notable changes to this project will be documented in this file.
## [0.16.60]
### Performance
- 优化消息已读未读
## [0.16.58]
### Bug Fixes
- 修复任务窗口无法发送表情的问题
@ -751,6 +732,7 @@ All notable changes to this project will be documented in this file.
- 优化首页加载失败的情况
- 新窗口打开任务时保持日志显示状态
- 预览图片尺寸的优化
- 优化消息已读未读
## [0.16.22]
@ -806,6 +788,12 @@ All notable changes to this project will be documented in this file.
## [0.14.94]
### Performance
- 优化适配ipad
## [0.14.86]
### Bug Fixes
- 邮件通知消息未读对象可能会出错的情况
@ -816,7 +804,6 @@ All notable changes to this project will be documented in this file.
- 7天内显示时间m-d H:i
- 优化更新对话列表机制
- 优化客户端生命周期重连ws机制
- 优化适配ipad
## [0.14.72]
@ -933,6 +920,12 @@ All notable changes to this project will be documented in this file.
## [0.13.48]
### Performance
- 优化暗黑模式
## [0.13.42]
### Bug Fixes
- 修复文件协作不提醒的问题
@ -958,7 +951,6 @@ All notable changes to this project will be documented in this file.
- 优化@提醒
- 文件浏览保存排序
- 客户端填写周报后保存关闭窗口
- 优化暗黑模式
## [0.12.95]
@ -1008,16 +1000,18 @@ All notable changes to this project will be documented in this file.
## [0.12.40]
### Bug Fixes
- 设置分页10条每页无效的问题
### Performance
- 文件新增pids上级ID递归字段
- 支持上传golang文件
- 优化提示此文件夹内已有共享文件夹
## [0.12.28]
### Bug Fixes
- 设置分页10条每页无效的问题
## [0.12.23]
### Bug Fixes
@ -1032,10 +1026,15 @@ All notable changes to this project will be documented in this file.
### Bug Fixes
- 修复新增项目成员无法通过邮箱搜索的问题
## [0.12.16]
### Bug Fixes
- 查看已发送的工作汇报,汇报对象需横向显示
- 所有可搜索列表在非第1页搜索时不返回第1页的问题
- Public客户端打开空白的情况
- 修复新增项目成员无法通过邮箱搜索的问题
### Performance
@ -1149,6 +1148,15 @@ All notable changes to this project will be documented in this file.
## [0.10.5]
### Performance
- 任务详情打开操作菜单时按esc任务窗口隐藏了但是菜单还看见
- 优化文件重命名支持按esc取消编辑
- 优化客户端任务详情按command+s保存
- 优化仪表盘角标数
## [0.9.99]
### Bug Fixes
- 【系统设置】邮件设置提前小时数双向绑定无效问题修改
@ -1182,10 +1190,6 @@ All notable changes to this project will be documented in this file.
- 报表导出列及剩余天数优化
- 退出登录返回登录页而不是注册页
- 上传文件名称过程显示错位的问题
- 任务详情打开操作菜单时按esc任务窗口隐藏了但是菜单还看见
- 优化文件重命名支持按esc取消编辑
- 优化客户端任务详情按command+s保存
- 优化仪表盘角标数
## [0.9.83]

View File

@ -390,3 +390,5 @@ error
无法发起会话
无法创建群组
无法查看联系电话
创建任务:(*)

View File

@ -663,7 +663,7 @@
"key": "共(*)位联系人",
"zh": "",
"zh-CHT": "共(*)位聯繫人",
"en": "Total (*) digits of contact",
"en": "Total (*) contacts",
"ko": "총 (*) 자리 연락처",
"ja": "(*)位の連絡先です。",
"de": "Insgesamt (*) blinder als partner",
@ -6669,7 +6669,7 @@
"key": "修改负责人",
"zh": "",
"zh-CHT": "修改負責人",
"en": "Modify responsible",
"en": "Modify owner",
"ko": "책임자를 고치다",
"ja": "修正担当者です",
"de": "Stellvertretender direktor.",
@ -9067,7 +9067,7 @@
"key": "暂无消息",
"zh": "",
"zh-CHT": "暫無消息",
"en": "No news yet",
"en": "No message",
"ko": "잠시 소식이 없다.",
"ja": "まだ消息がありません",
"de": "Keine nachricht während des transports.",
@ -11234,7 +11234,7 @@
"key": "负责人",
"zh": "",
"zh-CHT": "負責人",
"en": "Responsible",
"en": "Owner",
"ko": "책임자",
"ja": "責任者です",
"de": "Verantwortlichen.",
@ -11509,7 +11509,7 @@
"key": "全员",
"zh": "",
"zh-CHT": "全員",
"en": "Full staff",
"en": "All staff",
"ko": "전원",
"ja": "全員",
"de": "Alle mann.",
@ -11839,7 +11839,7 @@
"key": "天数",
"zh": "",
"zh-CHT": "天數",
"en": "Number of days",
"en": "Days",
"ko": "일수",
"ja": "日数",
"de": "Tage?",
@ -12202,7 +12202,7 @@
"key": "明亮",
"zh": "",
"zh-CHT": "明亮",
"en": "Bright",
"en": "Light",
"ko": "밝은",
"ja": "明るい",
"de": "Und heller",
@ -12477,7 +12477,7 @@
"key": "确定",
"zh": "",
"zh-CHT": "確定",
"en": "Determine",
"en": "Confirm",
"ko": "확정",
"ja": "確定",
"de": "Könnten?",
@ -12488,7 +12488,7 @@
"key": "禁止",
"zh": "",
"zh-CHT": "禁止",
"en": "Forbid",
"en": "Disable",
"ko": "금지",
"ja": "禁止",
"de": "Dürfen nicht",
@ -12510,7 +12510,7 @@
"key": "离职",
"zh": "",
"zh-CHT": "離職",
"en": "Leave one's job",
"en": "Resigned",
"ko": "이직",
"ja": "転職",
"de": "Abgang",
@ -13852,11 +13852,11 @@
"key": "个人项目",
"zh": "",
"zh-CHT": "個人項目",
"en": "Individual event",
"en": "Personal project",
"ko": "개인 종목",
"ja": "個人種目です",
"de": "Eine person.",
"fr": "Un projet personnel",
"fr": "Personal project",
"id": "Proyek pribadi"
},
{

View File

@ -1,6 +1,6 @@
{
"name": "DooTask",
"version": "0.23.36",
"version": "0.23.41",
"description": "DooTask is task management system.",
"scripts": {
"start": "./cmd dev",

2
public/css/app.css vendored

File diff suppressed because one or more lines are too long

2
public/js/app.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
public/js/build/313.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
"use strict";(self.webpackChunkDooTask=self.webpackChunkDooTask||[]).push([[387],{56387:(t,e,r)=>{r.r(e),r.d(e,{default:()=>u});var o=r(69138);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function i(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===n(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const l={data:function(){return{loadIng:0,languageList:o.s0,formData:{language:""},ruleData:{}}},mounted:function(){this.initData()},computed:function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},(0,r(20629).rn)(["formLabelPosition","formLabelWidth"])),methods:{initData:function(){this.$set(this.formData,"language",o.AX),this.formData_bak=$A.cloneJSON(this.formData)},submitForm:function(){var t=this;this.$refs.formData.validate((function(e){e&&(0,o.m0)(t.formData.language)}))},resetForm:function(){this.formData=$A.cloneJSON(this.formData_bak)}}};const u=(0,r(51900).Z)(l,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"setting-item submit"},[e("Form",{ref:"formData",attrs:{model:t.formData,rules:t.ruleData,labelPosition:t.formLabelPosition,labelWidth:t.formLabelWidth},nativeOn:{submit:function(t){t.preventDefault()}}},[e("FormItem",{attrs:{label:t.$L("选择语言"),prop:"language"}},[e("Select",{attrs:{placeholder:t.$L("选项语言")},model:{value:t.formData.language,callback:function(e){t.$set(t.formData,"language",e)},expression:"formData.language"}},t._l(t.languageList,(function(r,o){return e("Option",{key:o,attrs:{value:o}},[t._v(t._s(r))])})),1)],1)],1),t._v(" "),e("div",{staticClass:"setting-footer"},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("提交")))]),t._v(" "),e("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("重置")))])],1)],1)}),[],!1,null,null,null).exports}}]);
"use strict";(self.webpackChunkDooTask=self.webpackChunkDooTask||[]).push([[387],{56387:(t,e,a)=>{a.r(e),a.d(e,{default:()=>l});var r=a(69138);function n(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,r)}return a}function o(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}const i={data:function(){return{loadIng:0,languageList:r.s0,formData:{language:""},ruleData:{}}},mounted:function(){this.initData()},computed:function(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?n(Object(a),!0).forEach((function(e){o(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}({},(0,a(20629).rn)(["formLabelPosition","formLabelWidth"])),methods:{initData:function(){this.$set(this.formData,"language",r.AX),this.formData_bak=$A.cloneJSON(this.formData)},submitForm:function(){var t=this;this.$refs.formData.validate((function(e){e&&(0,r.m0)(t.formData.language)}))},resetForm:function(){this.formData=$A.cloneJSON(this.formData_bak)}}};const l=(0,a(51900).Z)(i,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"setting-item submit"},[e("Form",{ref:"formData",attrs:{model:t.formData,rules:t.ruleData,labelPosition:t.formLabelPosition,labelWidth:t.formLabelWidth},nativeOn:{submit:function(t){t.preventDefault()}}},[e("FormItem",{attrs:{label:t.$L("选择语言"),prop:"language"}},[e("Select",{attrs:{placeholder:t.$L("选项语言")},model:{value:t.formData.language,callback:function(e){t.$set(t.formData,"language",e)},expression:"formData.language"}},t._l(t.languageList,(function(a,r){return e("Option",{key:r,attrs:{value:r}},[t._v(t._s(a))])})),1)],1)],1),t._v(" "),e("div",{staticClass:"setting-footer"},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("提交")))]),t._v(" "),e("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("重置")))])],1)],1)}),[],!1,null,null,null).exports}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
public/js/build/494.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
"use strict";(self.webpackChunkDooTask=self.webpackChunkDooTask||[]).push([[596],{63596:(t,e,n)=>{n.r(e),n.d(e,{default:()=>l});function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==r(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===r(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const s={data:function(){var t=this;return{loadIng:0,configLoad:0,formDatum:{newEmail:"",code:""},ruleDatum:{newEmail:[{validator:function(e,n,r){""===n.trim()?r(new Error(t.$L("请输入新邮箱地址!"))):$A.isEmail(n.trim())?r():r(new Error(t.$L("请输入正确的邮箱地址!")))},required:!0,trigger:"change"}]},count:0,isSendButtonShow:!0,isRegVerify:0,sendBtnText:this.$L("发送验证码")}},mounted:function(){this.getRegVerify()},computed:i(i({},(0,n(20629).rn)(["formLabelPosition","formLabelWidth"])),{},{isLdap:function(){return this.$store.state.userInfo.identity.includes("ldap")}}),methods:{sendEmailCode:function(){var t=this;this.$store.dispatch("call",{url:"users/email/send",data:{type:2,email:this.formDatum.newEmail},spinner:!0}).then((function(e){t.isSendButtonShow=!1,t.count=120,t.sendBtnText=t.count+" 秒";var n=setInterval((function(){t.count--,t.sendBtnText=t.count+" 秒",t.count<=0&&(t.sendBtnText=t.$L("发送验证码"),clearInterval(n))}),1e3)})).catch((function(t){var e=t.msg;$A.messageError(e)}))},submitForm:function(){var t=this;this.$refs.formDatum.validate((function(e){e&&(t.loadIng++,t.$store.dispatch("call",{url:"users/email/edit",data:t.formDatum}).then((function(e){var n=e.data;t.count=0,t.sendBtnText=t.$L("发送验证码"),$A.messageSuccess("修改成功"),t.$store.dispatch("saveUserInfo",n),t.$refs.formDatum.resetFields(),t.isSendButtonShow=!0})).catch((function(t){var e=t.msg;$A.modalError(e)})).finally((function(e){t.loadIng--})))}))},resetForm:function(){this.$refs.formDatum.resetFields()},getRegVerify:function(){var t=this;this.configLoad++,this.$store.dispatch("call",{url:"system/setting/email"}).then((function(e){var n=e.data;t.isRegVerify="open"===n.reg_verify})).finally((function(e){t.configLoad--}))}}};const l=(0,n(51900).Z)(s,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"setting-item submit"},[t.configLoad>0?e("Loading"):e("Form",{ref:"formDatum",attrs:{model:t.formDatum,rules:t.ruleDatum,labelPosition:t.formLabelPosition,labelWidth:t.formLabelWidth},nativeOn:{submit:function(t){t.preventDefault()}}},[t.isLdap?e("Alert",{attrs:{type:"warning"}},[t._v(t._s(t.$L("LDAP 用户禁止修改邮箱地址")))]):t._e(),t._v(" "),e("FormItem",{attrs:{label:t.$L("新邮箱地址"),prop:"newEmail"}},[1==t.isRegVerify?e("Input",{class:t.count>0?"setting-send-input":"setting-input",attrs:{search:"","enter-button":t.$L(t.sendBtnText),disabled:t.isLdap,placeholder:t.$L("输入新邮箱地址")},on:{"on-search":t.sendEmailCode},model:{value:t.formDatum.newEmail,callback:function(e){t.$set(t.formDatum,"newEmail",e)},expression:"formDatum.newEmail"}}):e("Input",{staticClass:"setting-input",attrs:{disabled:t.isLdap,placeholder:t.$L("输入新邮箱地址")},model:{value:t.formDatum.newEmail,callback:function(e){t.$set(t.formDatum,"newEmail",e)},expression:"formDatum.newEmail"}})],1),t._v(" "),1==t.isRegVerify?e("FormItem",{attrs:{label:t.$L("验证码"),prop:"code"}},[e("Input",{attrs:{placeholder:t.$L("输入邮箱验证码")},model:{value:t.formDatum.code,callback:function(e){t.$set(t.formDatum,"code",e)},expression:"formDatum.code"}})],1):t._e()],1),t._v(" "),e("div",{staticClass:"setting-footer"},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary",disabled:t.isLdap},on:{click:t.submitForm}},[t._v(t._s(t.$L("提交")))]),t._v(" "),e("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("重置")))])],1)],1)}),[],!1,null,null,null).exports}}]);
"use strict";(self.webpackChunkDooTask=self.webpackChunkDooTask||[]).push([[596],{63596:(t,e,n)=>{n.r(e),n.d(e,{default:()=>s});function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const i={data:function(){var t=this;return{loadIng:0,configLoad:0,formDatum:{newEmail:"",code:""},ruleDatum:{newEmail:[{validator:function(e,n,r){""===n.trim()?r(new Error(t.$L("请输入新邮箱地址!"))):$A.isEmail(n.trim())?r():r(new Error(t.$L("请输入正确的邮箱地址!")))},required:!0,trigger:"change"}]},count:0,isSendButtonShow:!0,isRegVerify:0,sendBtnText:this.$L("发送验证码")}},mounted:function(){this.getRegVerify()},computed:o(o({},(0,n(20629).rn)(["formLabelPosition","formLabelWidth"])),{},{isLdap:function(){return this.$store.state.userInfo.identity.includes("ldap")}}),methods:{sendEmailCode:function(){var t=this;this.$store.dispatch("call",{url:"users/email/send",data:{type:2,email:this.formDatum.newEmail},spinner:!0}).then((function(e){t.isSendButtonShow=!1,t.count=120,t.sendBtnText=t.count+" 秒";var n=setInterval((function(){t.count--,t.sendBtnText=t.count+" 秒",t.count<=0&&(t.sendBtnText=t.$L("发送验证码"),clearInterval(n))}),1e3)})).catch((function(t){var e=t.msg;$A.messageError(e)}))},submitForm:function(){var t=this;this.$refs.formDatum.validate((function(e){e&&(t.loadIng++,t.$store.dispatch("call",{url:"users/email/edit",data:t.formDatum}).then((function(e){var n=e.data;t.count=0,t.sendBtnText=t.$L("发送验证码"),$A.messageSuccess("修改成功"),t.$store.dispatch("saveUserInfo",n),t.$refs.formDatum.resetFields(),t.isSendButtonShow=!0})).catch((function(t){var e=t.msg;$A.modalError(e)})).finally((function(e){t.loadIng--})))}))},resetForm:function(){this.$refs.formDatum.resetFields()},getRegVerify:function(){var t=this;this.configLoad++,this.$store.dispatch("call",{url:"system/setting/email"}).then((function(e){var n=e.data;t.isRegVerify="open"===n.reg_verify})).finally((function(e){t.configLoad--}))}}};const s=(0,n(51900).Z)(i,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"setting-item submit"},[t.configLoad>0?e("Loading"):e("Form",{ref:"formDatum",attrs:{model:t.formDatum,rules:t.ruleDatum,labelPosition:t.formLabelPosition,labelWidth:t.formLabelWidth},nativeOn:{submit:function(t){t.preventDefault()}}},[t.isLdap?e("Alert",{attrs:{type:"warning"}},[t._v(t._s(t.$L("LDAP 用户禁止修改邮箱地址")))]):t._e(),t._v(" "),e("FormItem",{attrs:{label:t.$L("新邮箱地址"),prop:"newEmail"}},[1==t.isRegVerify?e("Input",{class:t.count>0?"setting-send-input":"setting-input",attrs:{search:"","enter-button":t.$L(t.sendBtnText),disabled:t.isLdap,placeholder:t.$L("输入新邮箱地址")},on:{"on-search":t.sendEmailCode},model:{value:t.formDatum.newEmail,callback:function(e){t.$set(t.formDatum,"newEmail",e)},expression:"formDatum.newEmail"}}):e("Input",{staticClass:"setting-input",attrs:{disabled:t.isLdap,placeholder:t.$L("输入新邮箱地址")},model:{value:t.formDatum.newEmail,callback:function(e){t.$set(t.formDatum,"newEmail",e)},expression:"formDatum.newEmail"}})],1),t._v(" "),1==t.isRegVerify?e("FormItem",{attrs:{label:t.$L("验证码"),prop:"code"}},[e("Input",{attrs:{placeholder:t.$L("输入邮箱验证码")},model:{value:t.formDatum.code,callback:function(e){t.$set(t.formDatum,"code",e)},expression:"formDatum.code"}})],1):t._e()],1),t._v(" "),e("div",{staticClass:"setting-footer"},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary",disabled:t.isLdap},on:{click:t.submitForm}},[t._v(t._s(t.$L("提交")))]),t._v(" "),e("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("重置")))])],1)],1)}),[],!1,null,null,null).exports}}]);

View File

@ -1 +1 @@
"use strict";(self.webpackChunkDooTask=self.webpackChunkDooTask||[]).push([[66],{99265:(t,e,n)=>{n.d(e,{Z:()=>r});var a=n(1519),o=n.n(a)()((function(t){return t[1]}));o.push([t.id,".drawio-content[data-v-380040ea],.drawio-content .drawio-iframe[data-v-380040ea]{height:100%;left:0;position:absolute;top:0;width:100%}.drawio-content .drawio-iframe[data-v-380040ea]{background:0 0;border:0;float:none;margin:-1px 0 0;max-width:none;outline:0;padding:0}.drawio-content .drawio-loading[data-v-380040ea]{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}",""]);const r=o},41066:(t,e,n)=>{n.r(e),n.d(e,{default:()=>m});var a=n(20629),o=n(62065),r=n(69138);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function c(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var a=n.call(t,e||"default");if("object"!==i(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===i(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const l={name:"Drawio",components:{IFrame:o.Z},props:{value:{type:Object,default:function(){return{}}},title:{type:String,default:""},readOnly:{type:Boolean,default:!1}},data:function(){return{loadIng:!0,url:null,bakData:""}},created:function(){var t="en";switch(r.AX){case"CN":case"TC":t="zh"}var e=this.readOnly?1:0,n=this.readOnly?0:1,a=this.themeIsDark?"dark":"kennedy",o=this.title?encodeURIComponent(this.title):"",i="?title=".concat(o,"&chrome=").concat(n,"&lightbox=").concat(e,"&ui=").concat(a,"&lang=").concat(t,"&offline=1&pwa=0&embed=1&noLangIcon=1&noExitBtn=1&noSaveBtn=1&saveAndExit=0&spin=1&proto=json");this.$Electron?this.url=$A.originUrl("drawio/webapp/index.html".concat(i)):this.url=$A.apiUrl("../drawio/webapp/".concat(i))},mounted:function(){window.addEventListener("message",this.handleMessage)},beforeDestroy:function(){window.removeEventListener("message",this.handleMessage)},watch:{value:{handler:function(t){this.bakData!=$A.jsonStringify(t)&&(this.bakData=$A.jsonStringify(t),this.updateContent())},deep:!0}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},(0,a.rn)(["themeIsDark"])),methods:{formatZoom:function(t){return t+"%"},updateContent:function(){this.$refs.frame.postMessage(JSON.stringify({action:"load",autosave:1,xml:this.value.xml}))},onMessage:function(t){switch(t.event){case"init":this.loadIng=!1,this.updateContent();break;case"load":void 0===this.value.xml&&this.$refs.frame.postMessage(JSON.stringify({action:"template"}));break;case"autosave":var e={xml:t.xml};this.bakData=$A.jsonStringify(e),this.$emit("input",e);break;case"save":this.$emit("saveData")}}}};var u=n(93379),d=n.n(u),f=n(99265),p={insert:"head",singleton:!1};d()(f.Z,p);f.Z.locals;const m=(0,n(51900).Z)(l,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"drawio-content"},[e("IFrame",{ref:"frame",staticClass:"drawio-iframe",attrs:{src:t.url},on:{"on-message":t.onMessage}}),t._v(" "),t.loadIng?e("div",{staticClass:"drawio-loading"},[e("Loading")],1):t._e()],1)}),[],!1,null,"380040ea",null).exports}}]);
"use strict";(self.webpackChunkDooTask=self.webpackChunkDooTask||[]).push([[66],{99265:(t,e,n)=>{n.d(e,{Z:()=>r});var a=n(1519),o=n.n(a)()((function(t){return t[1]}));o.push([t.id,".drawio-content[data-v-380040ea],.drawio-content .drawio-iframe[data-v-380040ea]{height:100%;left:0;position:absolute;top:0;width:100%}.drawio-content .drawio-iframe[data-v-380040ea]{background:0 0;border:0;float:none;margin:-1px 0 0;max-width:none;outline:0;padding:0}.drawio-content .drawio-loading[data-v-380040ea]{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}",""]);const r=o},41066:(t,e,n)=>{n.r(e),n.d(e,{default:()=>p});var a=n(20629),o=n(62065),r=n(69138);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const c={name:"Drawio",components:{IFrame:o.Z},props:{value:{type:Object,default:function(){return{}}},title:{type:String,default:""},readOnly:{type:Boolean,default:!1}},data:function(){return{loadIng:!0,url:null,bakData:""}},created:function(){var t="en";switch(r.AX){case"CN":case"TC":t="zh"}var e=this.readOnly?1:0,n=this.readOnly?0:1,a=this.themeIsDark?"dark":"kennedy",o=this.title?encodeURIComponent(this.title):"",i="?title=".concat(o,"&chrome=").concat(n,"&lightbox=").concat(e,"&ui=").concat(a,"&lang=").concat(t,"&offline=1&pwa=0&embed=1&noLangIcon=1&noExitBtn=1&noSaveBtn=1&saveAndExit=0&spin=1&proto=json");this.$Electron?this.url=$A.originUrl("drawio/webapp/index.html".concat(i)):this.url=$A.apiUrl("../drawio/webapp/".concat(i))},mounted:function(){window.addEventListener("message",this.handleMessage)},beforeDestroy:function(){window.removeEventListener("message",this.handleMessage)},watch:{value:{handler:function(t){this.bakData!=$A.jsonStringify(t)&&(this.bakData=$A.jsonStringify(t),this.updateContent())},deep:!0}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},(0,a.rn)(["themeIsDark"])),methods:{formatZoom:function(t){return t+"%"},updateContent:function(){this.$refs.frame.postMessage(JSON.stringify({action:"load",autosave:1,xml:this.value.xml}))},onMessage:function(t){switch(t.event){case"init":this.loadIng=!1,this.updateContent();break;case"load":void 0===this.value.xml&&this.$refs.frame.postMessage(JSON.stringify({action:"template"}));break;case"autosave":var e={xml:t.xml};this.bakData=$A.jsonStringify(e),this.$emit("input",e);break;case"save":this.$emit("saveData")}}}};var l=n(93379),d=n.n(l),u=n(99265),f={insert:"head",singleton:!1};d()(u.Z,f);u.Z.locals;const p=(0,n(51900).Z)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"drawio-content"},[e("IFrame",{ref:"frame",staticClass:"drawio-iframe",attrs:{src:t.url},on:{"on-message":t.onMessage}}),t._v(" "),t.loadIng?e("div",{staticClass:"drawio-loading"},[e("Loading")],1):t._e()],1)}),[],!1,null,"380040ea",null).exports}}]);

View File

@ -1 +1 @@
"use strict";(self.webpackChunkDooTask=self.webpackChunkDooTask||[]).push([[791],{28791:(t,e,r)=>{r.r(e),r.d(e,{default:()=>i});function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function a(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==o(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var s=r.call(t,e||"default");if("object"!==o(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===o(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const n={data:function(){var t=this;return{loadIng:0,formDatum:{oldpass:"",newpass:"",checkpass:""},ruleDatum:{oldpass:[{required:!0,message:this.$L("请输入旧密码!"),trigger:"change"},{type:"string",min:6,message:this.$L("密码长度至少6位"),trigger:"change"}],newpass:[{validator:function(e,r,o){""===r?o(new Error(t.$L("请输入新密码!"))):(""!==t.formDatum.checkpass&&t.$refs.formDatum.validateField("checkpass"),o())},required:!0,trigger:"change"},{type:"string",min:6,message:this.$L("密码长度至少6位"),trigger:"change"}],checkpass:[{validator:function(e,r,o){""===r?o(new Error(t.$L("请重新输入新密码!"))):r!==t.formDatum.newpass?o(new Error(t.$L("两次密码输入不一致!"))):o()},required:!0,trigger:"change"}]}}},computed:function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},(0,r(20629).rn)(["userInfo","formLabelPosition","formLabelWidth"])),methods:{submitForm:function(){var t=this;this.$refs.formDatum.validate((function(e){e&&(t.loadIng++,t.$store.dispatch("call",{url:"users/editpass",data:t.formDatum}).then((function(e){var r=e.data;$A.messageSuccess("修改成功"),t.$store.dispatch("saveUserInfo",r),t.$refs.formDatum.resetFields()})).catch((function(t){var e=t.msg;$A.modalError(e)})).finally((function(e){t.loadIng--})))}))},resetForm:function(){this.$refs.formDatum.resetFields()}}};const i=(0,r(51900).Z)(n,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"setting-item submit"},[e("Form",{ref:"formDatum",attrs:{model:t.formDatum,rules:t.ruleDatum,labelPosition:t.formLabelPosition,labelWidth:t.formLabelWidth},nativeOn:{submit:function(t){t.preventDefault()}}},[t.userInfo.changepass?e("Alert",{staticStyle:{"margin-bottom":"32px"},attrs:{type:"warning",showIcon:""}},[t._v(t._s(t.$L("请先修改登录密码!")))]):t._e(),t._v(" "),e("FormItem",{attrs:{label:t.$L("旧密码"),prop:"oldpass"}},[e("Input",{attrs:{type:"password"},model:{value:t.formDatum.oldpass,callback:function(e){t.$set(t.formDatum,"oldpass",e)},expression:"formDatum.oldpass"}})],1),t._v(" "),e("FormItem",{attrs:{label:t.$L("新密码"),prop:"newpass"}},[e("Input",{attrs:{type:"password"},model:{value:t.formDatum.newpass,callback:function(e){t.$set(t.formDatum,"newpass",e)},expression:"formDatum.newpass"}})],1),t._v(" "),e("FormItem",{attrs:{label:t.$L("确认新密码"),prop:"checkpass"}},[e("Input",{attrs:{type:"password"},model:{value:t.formDatum.checkpass,callback:function(e){t.$set(t.formDatum,"checkpass",e)},expression:"formDatum.checkpass"}})],1)],1),t._v(" "),e("div",{staticClass:"setting-footer"},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("提交")))]),t._v(" "),e("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("重置")))])],1)],1)}),[],!1,null,null,null).exports}}]);
"use strict";(self.webpackChunkDooTask=self.webpackChunkDooTask||[]).push([[791],{28791:(t,e,r)=>{r.r(e),r.d(e,{default:()=>n});function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,s)}return r}function a(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const o={data:function(){var t=this;return{loadIng:0,formDatum:{oldpass:"",newpass:"",checkpass:""},ruleDatum:{oldpass:[{required:!0,message:this.$L("请输入旧密码!"),trigger:"change"},{type:"string",min:6,message:this.$L("密码长度至少6位"),trigger:"change"}],newpass:[{validator:function(e,r,s){""===r?s(new Error(t.$L("请输入新密码!"))):(""!==t.formDatum.checkpass&&t.$refs.formDatum.validateField("checkpass"),s())},required:!0,trigger:"change"},{type:"string",min:6,message:this.$L("密码长度至少6位"),trigger:"change"}],checkpass:[{validator:function(e,r,s){""===r?s(new Error(t.$L("请重新输入新密码!"))):r!==t.formDatum.newpass?s(new Error(t.$L("两次密码输入不一致!"))):s()},required:!0,trigger:"change"}]}}},computed:function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},(0,r(20629).rn)(["userInfo","formLabelPosition","formLabelWidth"])),methods:{submitForm:function(){var t=this;this.$refs.formDatum.validate((function(e){e&&(t.loadIng++,t.$store.dispatch("call",{url:"users/editpass",data:t.formDatum}).then((function(e){var r=e.data;$A.messageSuccess("修改成功"),t.$store.dispatch("saveUserInfo",r),t.$refs.formDatum.resetFields()})).catch((function(t){var e=t.msg;$A.modalError(e)})).finally((function(e){t.loadIng--})))}))},resetForm:function(){this.$refs.formDatum.resetFields()}}};const n=(0,r(51900).Z)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"setting-item submit"},[e("Form",{ref:"formDatum",attrs:{model:t.formDatum,rules:t.ruleDatum,labelPosition:t.formLabelPosition,labelWidth:t.formLabelWidth},nativeOn:{submit:function(t){t.preventDefault()}}},[t.userInfo.changepass?e("Alert",{staticStyle:{"margin-bottom":"32px"},attrs:{type:"warning",showIcon:""}},[t._v(t._s(t.$L("请先修改登录密码!")))]):t._e(),t._v(" "),e("FormItem",{attrs:{label:t.$L("旧密码"),prop:"oldpass"}},[e("Input",{attrs:{type:"password"},model:{value:t.formDatum.oldpass,callback:function(e){t.$set(t.formDatum,"oldpass",e)},expression:"formDatum.oldpass"}})],1),t._v(" "),e("FormItem",{attrs:{label:t.$L("新密码"),prop:"newpass"}},[e("Input",{attrs:{type:"password"},model:{value:t.formDatum.newpass,callback:function(e){t.$set(t.formDatum,"newpass",e)},expression:"formDatum.newpass"}})],1),t._v(" "),e("FormItem",{attrs:{label:t.$L("确认新密码"),prop:"checkpass"}},[e("Input",{attrs:{type:"password"},model:{value:t.formDatum.checkpass,callback:function(e){t.$set(t.formDatum,"checkpass",e)},expression:"formDatum.checkpass"}})],1)],1),t._v(" "),e("div",{staticClass:"setting-footer"},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("提交")))]),t._v(" "),e("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("重置")))])],1)],1)}),[],!1,null,null,null).exports}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
"use strict";(self.webpackChunkDooTask=self.webpackChunkDooTask||[]).push([[968],{76968:(t,e,r)=>{r.r(e),r.d(e,{default:()=>s});function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function i(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==o(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===o(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const a={data:function(){return{loadIng:0,formData:{theme:""},ruleData:{}}},mounted:function(){this.initData()},computed:function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},(0,r(20629).rn)(["themeMode","themeList","formLabelPosition","formLabelWidth"])),methods:{initData:function(){this.$set(this.formData,"theme",this.themeMode),this.formData_bak=$A.cloneJSON(this.formData)},submitForm:function(){var t=this;this.$refs.formData.validate((function(e){e&&t.$store.dispatch("setTheme",t.formData.theme).then((function(t){t&&$A.messageSuccess("保存成功")}))}))},resetForm:function(){this.formData=$A.cloneJSON(this.formData_bak)}}};const s=(0,r(51900).Z)(a,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"setting-item submit"},[e("Form",{ref:"formData",attrs:{model:t.formData,rules:t.ruleData,labelPosition:t.formLabelPosition,labelWidth:t.formLabelWidth},nativeOn:{submit:function(t){t.preventDefault()}}},[e("FormItem",{attrs:{label:t.$L("选择主题"),prop:"theme"}},[e("Select",{attrs:{placeholder:t.$L("选项主题")},model:{value:t.formData.theme,callback:function(e){t.$set(t.formData,"theme",e)},expression:"formData.theme"}},t._l(t.themeList,(function(r,o){return e("Option",{key:o,attrs:{value:r.value}},[t._v(t._s(t.$L(r.name)))])})),1)],1)],1),t._v(" "),e("div",{staticClass:"setting-footer"},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("提交")))]),t._v(" "),e("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("重置")))])],1)],1)}),[],!1,null,null,null).exports}}]);
"use strict";(self.webpackChunkDooTask=self.webpackChunkDooTask||[]).push([[968],{76968:(t,e,r)=>{r.r(e),r.d(e,{default:()=>i});function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function a(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const n={data:function(){return{loadIng:0,formData:{theme:""},ruleData:{}}},mounted:function(){this.initData()},computed:function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},(0,r(20629).rn)(["themeMode","themeList","formLabelPosition","formLabelWidth"])),methods:{initData:function(){this.$set(this.formData,"theme",this.themeMode),this.formData_bak=$A.cloneJSON(this.formData)},submitForm:function(){var t=this;this.$refs.formData.validate((function(e){e&&t.$store.dispatch("setTheme",t.formData.theme).then((function(t){t&&$A.messageSuccess("保存成功")}))}))},resetForm:function(){this.formData=$A.cloneJSON(this.formData_bak)}}};const i=(0,r(51900).Z)(n,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"setting-item submit"},[e("Form",{ref:"formData",attrs:{model:t.formData,rules:t.ruleData,labelPosition:t.formLabelPosition,labelWidth:t.formLabelWidth},nativeOn:{submit:function(t){t.preventDefault()}}},[e("FormItem",{attrs:{label:t.$L("选择主题"),prop:"theme"}},[e("Select",{attrs:{placeholder:t.$L("选项主题")},model:{value:t.formData.theme,callback:function(e){t.$set(t.formData,"theme",e)},expression:"formData.theme"}},t._l(t.themeList,(function(r,o){return e("Option",{key:o,attrs:{value:r.value}},[t._v(t._s(t.$L(r.name)))])})),1)],1)],1),t._v(" "),e("div",{staticClass:"setting-footer"},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("提交")))]),t._v(" "),e("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("重置")))])],1)],1)}),[],!1,null,null,null).exports}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
6317189aa3c91fd5
496508199857facf

File diff suppressed because one or more lines are too long

View File

@ -788,6 +788,7 @@
"/js/build/283.js": "/js/build/283.js",
"/js/build/283.js.LICENSE.txt": "/js/build/283.js.LICENSE.txt",
"/js/build/298.js": "/js/build/298.js",
"/js/build/313.js": "/js/build/313.js",
"/js/build/330.js": "/js/build/330.js",
"/js/build/330.js.LICENSE.txt": "/js/build/330.js.LICENSE.txt",
"/js/build/333.js": "/js/build/333.js",
@ -796,8 +797,6 @@
"/js/build/382.js.LICENSE.txt": "/js/build/382.js.LICENSE.txt",
"/js/build/387.js": "/js/build/387.js",
"/js/build/395.js": "/js/build/395.js",
"/js/build/406.js": "/js/build/406.js",
"/js/build/410.js": "/js/build/410.js",
"/js/build/424.js": "/js/build/424.js",
"/js/build/424.js.LICENSE.txt": "/js/build/424.js.LICENSE.txt",
"/js/build/425.js": "/js/build/425.js",
@ -805,6 +804,7 @@
"/js/build/43.js": "/js/build/43.js",
"/js/build/471.js": "/js/build/471.js",
"/js/build/471.js.LICENSE.txt": "/js/build/471.js.LICENSE.txt",
"/js/build/494.js": "/js/build/494.js",
"/js/build/499.js": "/js/build/499.js",
"/js/build/506.js": "/js/build/506.js",
"/js/build/506.js.LICENSE.txt": "/js/build/506.js.LICENSE.txt",

View File

@ -365,6 +365,7 @@ return array (
'(*)描述不能为空' => '(*) die beschreibung kann nicht Leer sein',
'导出失败,(*)' => 'Exportiert fehlgeschlagen. (*) export-verlust',
'群成员至少(*)人' => 'Mit mindestens (*) mitgliedern der gruppe zusammen',
'创建任务:(*)' => 'Auftrag erstellen :(*)',
'创建列表:(*)' => 'Eine liste erstellen :(*)',
'删除列表:(*)' => 'Liste wird gelöscht (*)',
'(*)上传成功' => '(*) erfolgreicher hochladen',

View File

@ -231,7 +231,7 @@ return array (
'缺少ID参数' => 'Missing ID parameter',
'@我的消息' => '@my message',
'上传失败' => 'Upload failure',
'个人项目' => 'Individual event',
'个人项目' => 'Personal project',
'任务归档' => 'Task archiving',
'保存成功' => 'Save successfully',
'修改成功' => 'Modified successfully',
@ -365,6 +365,7 @@ return array (
'(*)描述不能为空' => 'The description cannot be empty',
'导出失败,(*)' => 'Export failed, (*)!',
'群成员至少(*)人' => 'Group members at least (*) people',
'创建任务:(*)' => 'Create Task: (*)',
'创建列表:(*)' => 'Create a list: (*)',
'删除列表:(*)' => 'Delete list: (*)',
'(*)上传成功' => '(*) the upload succeeds',

View File

@ -231,7 +231,7 @@ return array (
'缺少ID参数' => 'Paramètre ID manquant',
'@我的消息' => '@mon message',
'上传失败' => 'Le téléchargement a échoué',
'个人项目' => 'Un projet personnel',
'个人项目' => 'Personal project',
'任务归档' => 'Archivage des tâches',
'保存成功' => 'Sauvé avec succès',
'修改成功' => 'Modifié avec succès',
@ -365,6 +365,7 @@ return array (
'(*)描述不能为空' => '(*) la description ne peut pas être vide',
'导出失败,(*)' => 'Lexportation a échoué, (*)!',
'群成员至少(*)人' => 'Groupe dau moins (*) personnes',
'创建任务:(*)' => 'Créer une tâche :(*)',
'创建列表:(*)' => 'Créer une liste :(*)',
'删除列表:(*)' => 'Supprimer la liste :(*)',
'(*)上传成功' => '(*) téléchargement réussi',

View File

@ -365,6 +365,7 @@ return array (
'(*)描述不能为空' => '(*) uraian tidak boleh kosong',
'导出失败,(*)' => 'Ekspor gagal, (*)!',
'群成员至少(*)人' => 'Anggota kelompok setidaknya (*) orang',
'创建任务:(*)' => 'Buat tugas :(*)',
'创建列表:(*)' => 'Buat senarai :(*)',
'删除列表:(*)' => 'Hapus senarai :(*)',
'(*)上传成功' => '(*) pengunggahan berhasil',

View File

@ -365,6 +365,7 @@ return array (
'(*)描述不能为空' => '(*)記述は空ではありません',
'导出失败,(*)' => '失敗、(*)を導き出します!',
'群成员至少(*)人' => 'グループのメンバーは少なくとも(*)人です',
'创建任务:(*)' => '作成タスク:(*)です。',
'创建列表:(*)' => 'リストを作成します(*)',
'删除列表:(*)' => 'リストを削除します:(*)',
'(*)上传成功' => '(*)アップロードできました',

View File

@ -365,6 +365,7 @@ return array (
'(*)描述不能为空' => '(*) 설명이 비어 있을 수 없습니다',
'导出失败,(*)' => '내보내기 실패, (*)!',
'群成员至少(*)人' => '회원은 적어도 (*) 사람이다',
'创建任务:(*)' => '만들기 작업:*)',
'创建列表:(*)' => '만들기 목록:*)',
'删除列表:(*)' => '목록 삭제:*)',
'(*)上传成功' => '(*) 업로드에 성공했습니다',

View File

@ -365,6 +365,7 @@ return array (
'(*)描述不能为空' => '(*)描述不能爲空',
'导出失败,(*)' => '導出失敗,(*)',
'群成员至少(*)人' => '羣成員至少(*)人',
'创建任务:(*)' => '創建任務:(*)',
'创建列表:(*)' => '創建列表:(*)',
'删除列表:(*)' => '刪除列表:(*)',
'(*)上传成功' => '(*)上傳成功',

View File

@ -365,6 +365,7 @@ return array (
'(*)描述不能为空' => '',
'导出失败,(*)' => '',
'群成员至少(*)人' => '',
'创建任务:(*)' => '',
'创建列表:(*)' => '',
'删除列表:(*)' => '',
'(*)上传成功' => '',