@@ -214,13 +219,16 @@ import list from "./list.vue";
import listDetails from "./details.vue";
import DrawerOverlay from "../../../components/DrawerOverlay";
import ImgUpload from "../../../components/ImgUpload";
+import ApproveSetting from "./setting";
+
import {mapState} from 'vuex'
export default {
- components:{list,listDetails,DrawerOverlay,ImgUpload},
+ components:{list,listDetails,DrawerOverlay,ImgUpload,ApproveSetting},
name: "approve",
data() {
return {
+ showType: 1,
modalTransferIndex: window.modalTransferIndex,
minDate: new Date(2020, 0, 1),
@@ -340,6 +348,11 @@ export default {
if(!val){
this.addData.other = ""
}
+ },
+ showType(val){
+ if(val == 1){
+ this.tabsClick()
+ }
}
},
mounted() {
@@ -682,6 +695,9 @@ export default {
});
}
});
+ },
+ workflowSetting() {
+ console.log(1)
}
}
}
diff --git a/resources/assets/js/pages/manage/setting/approve.vue b/resources/assets/js/pages/manage/approve/setting.vue
similarity index 91%
rename from resources/assets/js/pages/manage/setting/approve.vue
rename to resources/assets/js/pages/manage/approve/setting.vue
index 2e01964e2..293801983 100644
--- a/resources/assets/js/pages/manage/setting/approve.vue
+++ b/resources/assets/js/pages/manage/approve/setting.vue
@@ -1,18 +1,18 @@
-
-
-
+
+
+
-
+
-
{{$L('流程名称')}}:{{$L(item.name)}}
-
+
{{$L('流程名称')}}:{{$L(item.name)}}
+
@@ -33,7 +33,7 @@ import DrawerOverlay from "../../../components/DrawerOverlay";
import store from '../../../store/state'
import {languageType} from "../../../language";
export default {
- name: "approve",
+ name: "ApproveSetting",
components: {DrawerOverlay},
data(){
return{
diff --git a/resources/assets/js/pages/manage/messenger.vue b/resources/assets/js/pages/manage/messenger.vue
index d65f0cc77..331db6493 100644
--- a/resources/assets/js/pages/manage/messenger.vue
+++ b/resources/assets/js/pages/manage/messenger.vue
@@ -453,6 +453,18 @@ export default {
if (['dialog', 'contacts'].includes(params.dialogAction)) {
this.tabActive = params.dialogAction
}
+ if(this.tabActive=='dialog'){
+ if(params.dialog_id){
+ const id = $A.runNum(params.dialog_id);
+ if (id > 0) {
+ this.openDialog(id)
+ }
+ this.clickAgainSubscribe = Store.subscribe('clickAgainDialog', this.shakeUnread);
+ }
+ if(params.search){
+ this.dialogSearchKey = params.search
+ }
+ }
},
immediate: true
},
diff --git a/resources/assets/js/pages/manage/setting/index.vue b/resources/assets/js/pages/manage/setting/index.vue
index cedd42c5c..ce7020bd3 100644
--- a/resources/assets/js/pages/manage/setting/index.vue
+++ b/resources/assets/js/pages/manage/setting/index.vue
@@ -74,7 +74,6 @@ export default {
{path: 'personal', name: '个人设置'},
{path: 'password', name: '密码设置'},
{path: 'email', name: '修改邮箱'},
- {path: 'checkin', name: '签到设置', desc: ' (Beta)'},
{path: 'language', name: '语言设置', divided: true},
{path: 'theme', name: '主题设置'},
]
@@ -93,7 +92,6 @@ export default {
if (this.userIsAdmin) {
menu.push(...[
{path: 'system', name: '系统设置', divided: true},
- {path: 'approve', name: '审批设置', desc: ' (Beta)'},
{path: 'license', name: 'License Key'},
])
}
diff --git a/resources/assets/js/pages/manage/setting/system.vue b/resources/assets/js/pages/manage/setting/system.vue
index 69da1982a..edc440798 100644
--- a/resources/assets/js/pages/manage/setting/system.vue
+++ b/resources/assets/js/pages/manage/setting/system.vue
@@ -10,24 +10,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -36,20 +18,9 @@
import SystemSetting from "./components/SystemSetting";
import SystemTaskPriority from "./components/SystemTaskPriority";
import SystemColumnTemplate from "./components/SystemColumnTemplate";
-import SystemEmailSetting from "./components/SystemEmailSetting";
-import SystemAppPush from "./components/SystemAppPush";
-import SystemMeeting from "./components/SystemMeeting";
-import SystemCheckin from "./components/SystemCheckin";
-import SystemThirdAccess from "./components/SystemThirdAccess";
-import SystemAibot from "./components/SystemAibot.vue";
export default {
- components: {
- SystemAibot,
- SystemThirdAccess,
- SystemCheckin,
- SystemMeeting,
- SystemAppPush, SystemColumnTemplate, SystemTaskPriority, SystemSetting, SystemEmailSetting},
+ components: {SystemColumnTemplate, SystemTaskPriority, SystemSetting},
data() {
return {
tabAction: 'setting',
diff --git a/resources/assets/js/routes.js b/resources/assets/js/routes.js
index c2b89d974..5c8739231 100755
--- a/resources/assets/js/routes.js
+++ b/resources/assets/js/routes.js
@@ -54,11 +54,6 @@ export default [
path: 'checkin',
component: () => import('./pages/manage/setting/checkin.vue'),
},
- {
- name: 'manage-setting-approve',
- path: 'approve',
- component: () => import('./pages/manage/setting/approve.vue'),
- },
{
name: 'manage-setting-language',
path: 'language',
diff --git a/resources/assets/sass/pages/page-apply.scss b/resources/assets/sass/pages/page-apply.scss
index 5dfc61f5b..5953d901d 100644
--- a/resources/assets/sass/pages/page-apply.scss
+++ b/resources/assets/sass/pages/page-apply.scss
@@ -3,6 +3,7 @@
height: 100%;
display: flex;
flex-direction: column;
+
.apply-wrapper {
flex: 1;
height: 0;
@@ -10,29 +11,35 @@
flex-direction: column;
position: relative;
background-color: #fafafa;
+
.apply-head {
display: flex;
align-items: center;
padding-bottom: 16px;
margin: 32px 32px 0 32px;
border-bottom: 1px solid #F4F4F5;
+
.apply-nav {
flex: 1;
display: flex;
align-items: center;
- > h1 {
+
+ >h1 {
color: $primary-title-color;
font-size: 28px;
font-weight: 600;
}
}
}
- .apply-row{
+
+ .apply-row {
flex: 1;
padding: 16px 30px;
- .apply-col{
+
+ .apply-col {
margin-bottom: 16px;
- >div{
+
+ >div {
font-size: 12px;
font-weight: bold;
background: #ffffff;
@@ -44,12 +51,23 @@
gap: 10px;
cursor: pointer;
position: relative;
- border: 1px solid #ececec;
- >img{
+ border: 1px solid #f1f1f1;
+
+ @media (max-width: 510px) {
+ display: block;
+ text-align: center;
+ }
+
+ >img {
width: 40px;
height: 40px;
+
+ @media (max-width: 510px) {
+ margin-bottom: 5px;
+ }
}
- .manage-box-top-report{
+
+ .manage-box-top-report {
position: absolute;
right: -6px;
top: -6px;
@@ -60,29 +78,37 @@
}
}
-.ivu-modal-wrap-apply{
+.ivu-modal-wrap-apply {
position: relative;
- overflow: auto;
+ overflow: auto;
height: 100%;
display: flex;
flex-direction: column;
- .ivu-modal-wrap-apply-title{
+ max-width: calc(100vw - 40px);
+ overflow: auto;
+
+ .ivu-modal-wrap-apply-title {
line-height: 40px;
font-size: 20px;
font-weight: 500;
padding: 12px 30px;
- >p{
+
+ >p {
float: right;
cursor: pointer;
color: #2b85e4;
font-size: 14px;
}
}
- .ivu-modal-wrap-apply-body{
+
+ .ivu-modal-wrap-apply-body {
position: relative;
flex: 1;
padding: 8px 30px;
- .setting-component-item,.setting-item{
+
+ //
+ .setting-component-item,
+ .setting-item {
position: absolute;
top: 0;
left: 0;
@@ -91,29 +117,34 @@
flex: 1;
display: flex;
flex-direction: column;
- >.ivu-form{
+
+ >.ivu-form {
padding: 8px 30px;
overflow: auto;
flex: 1;
- .ivu-form-item{
- padding: 12px 0 0 0;
- .ivu-form-item .ivu-form-item-content{
- display: flex;
- >.ivu-form{
- margin-bottom: 8px;
+ .ivu-form-item {
+ padding: 12px 0 0 0;
+
+ .ivu-form-item .ivu-form-item-content {
+ display: flex;
+
+ >.ivu-form {
+ margin-bottom: 8px;
}
}
}
}
- .block-setting-box{
+
+ .block-setting-box {
position: relative;
padding: 24px 24px 4px;
margin: 24px 0 12px;
border-radius: 8px;
border: 1px solid #eeeeee;
transition: box-shadow 0.3s;
- h3{
+
+ h3 {
position: absolute;
top: 0;
left: 24px;
@@ -127,17 +158,21 @@
transform: translateY(-50%)
}
}
- .setting-template{
+
+ .setting-template {
margin-bottom: 12px;
- >div{
+
+ >div {
padding-right: 12px;
}
}
- .export-data > p {
+
+ .export-data>p {
cursor: pointer;
color: #2b85e4;
}
- .setting-footer{
+
+ .setting-footer {
flex-shrink: 0;
position: static;
padding: 16px;
@@ -148,36 +183,47 @@
}
}
- .ivu-tabs-content{
- flex: 1;
+ //
+ .ivu-tabs {
+ display: flex;
+ flex-direction: column;
+ height: 100%;
+
+ .ivu-tabs-content {
+ height: 100%;
+ flex: 1;
+ }
}
- // 机器人
- .aibot-ul {
+ //
+ .ivu-modal-wrap-ul {
list-style-type: none;
overflow: hidden;
border-radius: 3px;
margin-right: -10px;
- li{
+
+ li {
float: left;
width: calc(50% - 10px);
border: 1px solid #eeeeee;
box-sizing: border-box;
- padding: 28px;
+ padding: 28px 20px;
position: relative;
text-align: center;
margin-right: 10px;
margin-bottom: 10px;
border-radius: 5px;
cursor: pointer;
- img{
+
+ img {
display: block;
width: 50px;
height: 50px;
border-radius: 16px;
margin: 0 auto 12px;
}
- h4{
+
+ h4 {
word-break: break-all;
text-overflow: ellipsis;
white-space: nowrap;
@@ -192,21 +238,46 @@
padding: 0 12px;
margin-bottom: 6px;
}
- p{
+
+ p {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4;
+ @media (max-width: 510px) {
+ -webkit-line-clamp: 2;
+ }
}
- .btn{
+
+ .btn {
color: #2b85e4;
margin: 26px auto 0;
cursor: pointer;
}
+
+ .load {
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background: #9797971c;
+ line-height: 300px;
+ }
}
}
-
- }
-}
+ // 机器人
+ .aibot-warp {
+ position: relative;
+ height: 100%;
+
+ .ivu-form {
+ padding: 0;
+ overflow: hidden;
+ }
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/resources/assets/sass/pages/page-approve.scss b/resources/assets/sass/pages/page-approve.scss
index 9ece80480..0500b3a5c 100644
--- a/resources/assets/sass/pages/page-approve.scss
+++ b/resources/assets/sass/pages/page-approve.scss
@@ -18,6 +18,7 @@
margin: 32px 20px 16px;
margin-bottom: 5px;
border-bottom: 1px solid #F4F4F5;
+ gap: 10px;
.approve-nav {
flex: 1;
@@ -374,3 +375,86 @@
}
}
}
+
+
+.page-approve-setting{
+
+ .approve-row {
+ padding: 24px;
+ overflow: auto;
+ margin: 0 !important;
+
+ .ivu-col {
+ margin-bottom: 16px;
+
+ .approve-col-box {
+ border-radius: 8px;
+ border: 1px solid #eeeeee;
+ transition: box-shadow 0.3s;
+ cursor: pointer;
+
+ &:hover {
+ box-shadow: 0 0 10px #e6ecfa;
+ }
+ }
+
+ .approve-col-add {
+ height: 100%;
+ font-size: 48px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ color: #ededed;
+ min-height: 95px;
+ }
+
+ .approve-col-for {
+ padding: 16px;
+ padding-bottom: 13px;
+ display: flex;
+ flex-direction: column;
+
+ .approve-name{
+ font-weight: 500;
+ color: #135de6;
+ }
+
+ .divider{
+ margin: 12px 0;
+ margin-bottom: 9px;
+ }
+
+ .icon-warp{
+ position: relative;
+ }
+
+ > p {
+ display: flex;
+ align-items: center;
+ }
+
+ .approve-button-box {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+
+ > p {
+ display: flex;
+ align-items: center;
+
+ > i {
+ font-size: 16px;
+ margin-left: 8px;
+ color: rgb(96, 98, 102);
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+//
+.window-portrait .page-approve .approve-mains {
+ height: calc(100vh - 250px);
+}
\ No newline at end of file
diff --git a/resources/assets/sass/pages/page-setting.scss b/resources/assets/sass/pages/page-setting.scss
index fcdf1ed7f..9ee0b6c7f 100755
--- a/resources/assets/sass/pages/page-setting.scss
+++ b/resources/assets/sass/pages/page-setting.scss
@@ -349,65 +349,6 @@
.setting-button {
margin-left: 8px;
}
-
- .approve-row {
- padding: 24px 40px;
- overflow: auto;
-
- .ivu-col {
- margin-bottom: 8px;
-
- .approve-col-box {
- border-radius: 8px;
- border: 1px solid #eeeeee;
- transition: box-shadow 0.3s;
- cursor: pointer;
-
- &:hover {
- box-shadow: 0 0 10px #e6ecfa;
- }
- }
-
- .approve-col-add {
- height: 100%;
- font-size: 48px;
- display: flex;
- justify-content: center;
- align-items: center;
- color: #ededed;
- min-height: 95px;
- }
-
- .approve-col-for {
- padding: 16px;
- padding-bottom: 13px;
- display: flex;
- flex-direction: column;
-
- > p {
- display: flex;
- align-items: center;
- }
-
- .approve-button-box {
- display: flex;
- justify-content: space-between;
- align-items: center;
-
- > p {
- display: flex;
- align-items: center;
-
- > i {
- font-size: 16px;
- margin-left: 8px;
- color: rgb(96, 98, 102);
- }
- }
- }
- }
- }
- }
}
}
}
diff --git a/resources/assets/statics/public/images/apply/createMeeting.svg b/resources/assets/statics/public/images/apply/createMeeting.svg
new file mode 100644
index 000000000..c1d209e64
--- /dev/null
+++ b/resources/assets/statics/public/images/apply/createMeeting.svg
@@ -0,0 +1 @@
+
\ No newline at end of file