Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
smart-web-tabs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SVI
svi-templates
smart-web-tabs
Commits
f0b1100e
Commit
f0b1100e
authored
Sep 24, 2019
by
曾沂轮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Feat: 模块化按需加载
parent
d1acd55c
Show whitespace changes
Inline
Side-by-side
Showing
52 changed files
with
260 additions
and
18 deletions
+260
-18
package.json
template/package.json
+3
-2
main.js
template/src/main.js
+1
-1
library.scss
template/src/styles/library.scss
+2
-2
Main.vue
template/src/views/Main.vue
+0
-1
Navigation.vue
template/src/views/Navigation.vue
+0
-1
businessConfiguration.vue
template/src/views/businessConfig/businessConfiguration.vue
+7
-0
AppIframe.vue
template/src/views/common/AppIframe.vue
+0
-1
Header.vue
template/src/views/common/Header.vue
+0
-3
Logo.vue
template/src/views/common/Logo.vue
+0
-1
appHome.vue
template/src/views/common/appHome.vue
+6
-0
iconView.vue
template/src/views/common/iconView.vue
+7
-0
message.vue
template/src/views/common/message.vue
+7
-0
Login.vue
template/src/views/login/Login.vue
+0
-1
LoginDialog.vue
template/src/views/login/LoginDialog.vue
+0
-1
LoginForm.vue
template/src/views/login/LoginForm.vue
+0
-1
catalogManagement.vue
template/src/views/mapConfig/catalogManagement.vue
+7
-0
layerManage.vue
template/src/views/mapConfig/layerManage.vue
+7
-0
mapConfig.vue
template/src/views/mapConfig/mapConfig.vue
+6
-0
mapSearchConfig.vue
template/src/views/mapConfig/mapSearchConfig.vue
+7
-0
serviceRegister.vue
template/src/views/mapConfig/serviceRegister.vue
+7
-0
checkProcess.vue
template/src/views/myWork/checkProcess.vue
+6
-0
createWork.vue
template/src/views/myWork/createWork.vue
+6
-0
deleteBox.vue
template/src/views/myWork/deleteBox.vue
+6
-0
doingWork.vue
template/src/views/myWork/doingWork.vue
+6
-0
finishedWork.vue
template/src/views/myWork/finishedWork.vue
+6
-0
handledWork.vue
template/src/views/myWork/handledWork.vue
+6
-0
monitorWork.vue
template/src/views/myWork/monitorWork.vue
+6
-0
returnBox.vue
template/src/views/myWork/returnBox.vue
+6
-0
settingColumn.vue
template/src/views/myWork/settingColumn.vue
+6
-0
suspendWork.vue
template/src/views/myWork/suspendWork.vue
+7
-1
accountSetting.vue
template/src/views/personalConfig/accountSetting.vue
+7
-0
interface.vue
template/src/views/personalConfig/interface.vue
+6
-0
SNamingManagement.vue
template/src/views/systemSetup/SNamingManagement.vue
+6
-0
adminDivision.vue
template/src/views/systemSetup/adminDivision.vue
+6
-0
authorityManage.vue
template/src/views/systemSetup/authorityManage.vue
+6
-0
businessDefManager.vue
template/src/views/systemSetup/businessDefManager.vue
+6
-0
checkExpression.vue
template/src/views/systemSetup/checkExpression.vue
+6
-0
childSystemManage.vue
template/src/views/systemSetup/childSystemManage.vue
+6
-0
codeDictionary.vue
template/src/views/systemSetup/codeDictionary.vue
+6
-0
compInformation.vue
template/src/views/systemSetup/compInformation.vue
+5
-0
editProcess.vue
template/src/views/systemSetup/editProcess.vue
+7
-0
environmentConfig.vue
template/src/views/systemSetup/environmentConfig.vue
+6
-0
frameworkManage.vue
template/src/views/systemSetup/frameworkManage.vue
+7
-1
functionModulesManage.vue
template/src/views/systemSetup/functionModulesManage.vue
+7
-1
holidayManagement.vue
template/src/views/systemSetup/holidayManagement.vue
+6
-0
modulesManage.vue
template/src/views/systemSetup/modulesManage.vue
+3
-0
myComWord.vue
template/src/views/systemSetup/myComWord.vue
+6
-0
operationLog.vue
template/src/views/systemSetup/operationLog.vue
+6
-0
snBuilder.vue
template/src/views/systemSetup/snBuilder.vue
+6
-0
stampdefManage.vue
template/src/views/systemSetup/stampdefManage.vue
+6
-0
taskScheduling.vue
template/src/views/systemSetup/taskScheduling.vue
+6
-0
workflowDesign.vue
template/src/views/systemSetup/workflowDesign.vue
+6
-0
No files found.
template/package.json
View file @
f0b1100e
...
...
@@ -12,9 +12,10 @@
},
"dependencies"
:
{
"core-js"
:
"^2.6.5"
,
"smart-web"
:
"^2.2.
1
"
,
"smart-web"
:
"^2.2.
3
"
,
"vue"
:
"^2.6.10"
,
"vue-router"
:
"^3.1.3"
"vue-router"
:
"^3.1.3"
,
"vuex"
:
"^3.1.1"
},
"devDependencies"
:
{
"@smart/eslint-config-standard"
:
"^0.1.0"
,
...
...
template/src/main.js
View file @
f0b1100e
...
...
@@ -5,7 +5,7 @@ import App from './App';
import
router
from
'./router'
;
import
store
from
'./store'
;
import
ElemetUI
from
'element-ui'
;
import
SmartWeb
from
'smart-web'
;
import
SmartWeb
from
'smart-web
/lib/main
'
;
import
VueProgressBar
from
'vue-progressbar'
;
import
'./styles/app.scss'
;
// import 'smart-web/packages/styles/lib/index.css';
...
...
template/src/styles/library.scss
View file @
f0b1100e
...
...
@@ -4,4 +4,4 @@
$--font-path
:
'~element-ui/lib/theme-chalk/fonts'
;
@import
"~element-ui/packages/theme-chalk/src/index.scss"
;
@import
"~smart-web/packages/styles/src/index.scss"
;
\ No newline at end of file
@import
"~smart-web/packages/styles/src/main.scss"
;
\ No newline at end of file
template/src/views/Main.vue
View file @
f0b1100e
...
...
@@ -181,7 +181,6 @@ export default {
},
handleComponentMounted
()
{
// console.log('handleComponentMounted')
this
.
$Progress
.
finish
();
}
}
...
...
template/src/views/Navigation.vue
View file @
f0b1100e
...
...
@@ -217,7 +217,6 @@ export default {
this
.
isLoading
=
true
;
Api
.
getUserModulesTreeBySystemId
(
this
.
platformInfo
.
systemId
).
then
(
res
=>
{
this
.
isLoading
=
false
;
// console.log(res)
if
(
res
.
status
===
0
)
{
this
.
navDatas
=
res
.
data
;
this
.
dispatchMenuList
(
this
.
navDatas
);
...
...
template/src/views/businessConfig/businessConfiguration.vue
View file @
f0b1100e
...
...
@@ -3,7 +3,14 @@
</
template
>
<
script
>
import
SwBusinessConfiguration
from
'smart-web/packages/businessConfiguration'
;
import
'smart-web/packages/styles/src/businessConfiguration.scss'
;
export
default
{
name
:
'businessConfiguration'
,
components
:
{
SwBusinessConfiguration
}
};
</
script
>
template/src/views/common/AppIframe.vue
View file @
f0b1100e
...
...
@@ -54,7 +54,6 @@ export default {
},
handleFrameLoaded
()
{
console
.
log
(
'----------------------handleFrameLoaded'
);
this
.
$Progress
.
finish
();
}
}
...
...
template/src/views/common/Header.vue
View file @
f0b1100e
...
...
@@ -105,10 +105,8 @@ export default {
if
(
this
.
userInfo
&&
this
.
userInfo
.
userId
&&
window
.
WebSocket
)
{
this
.
websocket
=
new
WebSocket
(
`ws:
${
baseUrl
}
/MessageWebsocket?userId=
${
this
.
userInfo
.
userId
}
`
);
this
.
websocket
.
onopen
=
function
(
event
)
{
// console.log(event)
};
this
.
websocket
.
onclose
=
function
(
event
)
{
// console.log(event)
};
this
.
websocket
.
onmessage
=
(
event
)
=>
{
// state.unreadMessage = event.data
...
...
@@ -116,7 +114,6 @@ export default {
this
.
$store
.
dispatch
(
'setUnreadMessage'
,
event
.
data
);
};
this
.
websocket
.
onerror
=
function
(
event
)
{
// console.log(event)
};
}
},
...
...
template/src/views/common/Logo.vue
View file @
f0b1100e
...
...
@@ -31,7 +31,6 @@ export default {
}
let
len
=
getStrLen
(
this
.
platformInfo
.
name
)
// console.log(len)
len
>=
20
?
fontSize
=
'16px'
:
fontSize
=
'20px'
return
{
fontSize
}
}
...
...
template/src/views/common/appHome.vue
View file @
f0b1100e
...
...
@@ -8,10 +8,16 @@
<
script
>
import
{
openTab
}
from
'@/utils/global'
;
import
SwHome
from
'smart-web/packages/home'
;
import
'smart-web/packages/styles/src/home.scss'
;
export
default
{
name
:
'AppHome'
,
components
:
{
SwHome
},
methods
:
{
handleStatisClick
(
item
)
{
openTab
({
...
...
template/src/views/common/iconView.vue
View file @
f0b1100e
...
...
@@ -3,7 +3,14 @@
</
template
>
<
script
>
import
SwIcon
from
'smart-web/packages/icon'
;
import
'smart-web/packages/styles/src/icon.scss'
;
export
default
{
name
:
'iconView'
,
components
:
{
SwIcon
}
};
</
script
>
template/src/views/common/message.vue
View file @
f0b1100e
...
...
@@ -6,9 +6,16 @@
</
template
>
<
script
>
import
SwMessage
from
'smart-web/packages/message'
;
import
'smart-web/packages/styles/src/message.scss'
;
export
default
{
name
:
'AppMessage'
,
components
:
{
SwMessage
},
computed
:
{
userInfo
()
{
return
this
.
$store
.
state
.
userInfo
;
...
...
template/src/views/login/Login.vue
View file @
f0b1100e
...
...
@@ -26,7 +26,6 @@ export default {
methods
:
{
handleSubmited
(
userInfo
)
{
console
.
log
(
userInfo
);
}
}
};
...
...
template/src/views/login/LoginDialog.vue
View file @
f0b1100e
...
...
@@ -56,7 +56,6 @@ export default {
},
handleSubmited
(
userInfo
)
{
// console.log(userInfo)
this
.
$message
.
closeAll
();
}
}
...
...
template/src/views/login/LoginForm.vue
View file @
f0b1100e
...
...
@@ -147,7 +147,6 @@ export default {
this
.
loginForm
.
errorText
=
'提交失败,服务有误! '
+
err
.
message
;
});
}
else
{
console
.
log
(
'error submit!!'
);
return
false
;
}
});
...
...
template/src/views/mapConfig/catalogManagement.vue
View file @
f0b1100e
...
...
@@ -3,7 +3,14 @@
</
template
>
<
script
>
import
SwCatalogManagement
from
'smart-web/packages/catalogManagement'
;
import
'smart-web/packages/styles/src/catalogManagement.scss'
;
export
default
{
name
:
'catalogManagement'
,
components
:
{
SwCatalogManagement
}
};
</
script
>
template/src/views/mapConfig/layerManage.vue
View file @
f0b1100e
...
...
@@ -3,7 +3,14 @@
</
template
>
<
script
>
import
SwLayerManage
from
'smart-web/packages/layerManage'
;
import
'smart-web/packages/styles/src/layerManage.scss'
;
export
default
{
name
:
'layerManage'
,
components
:
{
SwLayerManage
}
};
</
script
>
template/src/views/mapConfig/mapConfig.vue
View file @
f0b1100e
...
...
@@ -3,8 +3,14 @@
</
template
>
<
script
>
import
SwMapConfig
from
'smart-web/packages/mapConfig'
;
import
'smart-web/packages/styles/src/mapConfig.scss'
;
export
default
{
name
:
'mapConfig'
,
components
:
{
SwMapConfig
}
};
</
script
>
template/src/views/mapConfig/mapSearchConfig.vue
View file @
f0b1100e
...
...
@@ -3,7 +3,14 @@
</
template
>
<
script
>
import
SwMapSearch
from
'smart-web/packages/mapSearch'
;
import
'smart-web/packages/styles/src/mapSearch.scss'
;
export
default
{
name
:
'mapSearchConfig'
,
components
:
{
SwMapSearch
}
};
</
script
>
template/src/views/mapConfig/serviceRegister.vue
View file @
f0b1100e
...
...
@@ -3,7 +3,14 @@
</
template
>
<
script
>
import
SwServiceRegister
from
'smart-web/packages/serviceRegister'
;
import
'smart-web/packages/styles/src/serviceRegister.scss'
;
export
default
{
name
:
'serviceRegister'
,
components
:
{
SwServiceRegister
}
};
</
script
>
template/src/views/myWork/checkProcess.vue
View file @
f0b1100e
...
...
@@ -7,12 +7,18 @@
<
script
>
import
permission
from
'@/utils/mixins/myWork/permission'
;
import
SwCheckProcess
from
'smart-web/packages/checkProcess'
;
import
'smart-web/packages/styles/src/checkProcess.scss'
;
export
default
{
name
:
'checkProcess'
,
mixins
:
[
permission
],
components
:
{
SwCheckProcess
},
data
()
{
return
{
processInstanceId
:
''
...
...
template/src/views/myWork/createWork.vue
View file @
f0b1100e
...
...
@@ -12,12 +12,18 @@
<
script
>
import
{
openTab
}
from
'@/utils/global'
;
import
permission
from
'@/utils/mixins/myWork/permission'
;
import
SwCreateWork
from
'smart-web/packages/createWork'
;
import
'smart-web/packages/styles/src/createWork.scss'
;
export
default
{
name
:
'CreateWork'
,
mixins
:
[
permission
],
components
:
{
SwCreateWork
},
methods
:
{
refresh
()
{
this
.
$refs
.
createWork
.
refresh
();
...
...
template/src/views/myWork/deleteBox.vue
View file @
f0b1100e
...
...
@@ -10,12 +10,18 @@
<
script
>
import
{
openTab
}
from
'@/utils/global'
;
import
permission
from
'@/utils/mixins/myWork/permission'
;
import
SwDeleteBox
from
'smart-web/packages/deleteBox'
;
import
'smart-web/packages/styles/src/deleteBox.scss'
;
export
default
{
name
:
'DeleteBox'
,
mixins
:
[
permission
],
components
:
{
SwDeleteBox
},
methods
:
{
refresh
()
{
this
.
$refs
.
deleteBox
.
refresh
();
...
...
template/src/views/myWork/doingWork.vue
View file @
f0b1100e
...
...
@@ -10,12 +10,18 @@
<
script
>
import
{
openTab
}
from
'@/utils/global'
;
import
permission
from
'@/utils/mixins/myWork/permission'
;
import
SwDoingWork
from
'smart-web/packages/doingWork'
;
import
'smart-web/packages/styles/src/doingWork.scss'
;
export
default
{
name
:
'DoingWork'
,
mixins
:
[
permission
],
components
:
{
SwDoingWork
},
methods
:
{
refresh
()
{
this
.
$refs
.
doingWork
.
refresh
();
...
...
template/src/views/myWork/finishedWork.vue
View file @
f0b1100e
...
...
@@ -10,12 +10,18 @@
<
script
>
import
{
openTab
}
from
'@/utils/global'
;
import
permission
from
'@/utils/mixins/myWork/permission'
;
import
SwFinishedWork
from
'smart-web/packages/finishedWork'
;
import
'smart-web/packages/styles/src/finishedWork.scss'
;
export
default
{
name
:
'FinishedWork'
,
mixins
:
[
permission
],
components
:
{
SwFinishedWork
},
methods
:
{
refresh
()
{
this
.
$refs
.
finishedWork
.
refresh
();
...
...
template/src/views/myWork/handledWork.vue
View file @
f0b1100e
...
...
@@ -10,12 +10,18 @@
<
script
>
import
{
openTab
}
from
'@/utils/global'
;
import
permission
from
'@/utils/mixins/myWork/permission'
;
import
SwHandledWork
from
'smart-web/packages/handledWork'
;
import
'smart-web/packages/styles/src/handledWork.scss'
;
export
default
{
name
:
'HandledWork'
,
mixins
:
[
permission
],
components
:
{
SwHandledWork
},
methods
:
{
refresh
()
{
this
.
$refs
.
handledWork
.
refresh
();
...
...
template/src/views/myWork/monitorWork.vue
View file @
f0b1100e
...
...
@@ -10,12 +10,18 @@
<
script
>
import
{
openTab
}
from
'@/utils/global'
;
import
permission
from
'@/utils/mixins/myWork/permission'
;
import
SwMonitorWork
from
'smart-web/packages/monitorWork'
;
import
'smart-web/packages/styles/src/monitorWork.scss'
;
export
default
{
name
:
'MonitorWork'
,
mixins
:
[
permission
],
components
:
{
SwMonitorWork
},
methods
:
{
refresh
()
{
this
.
$refs
.
monitorWork
.
refresh
();
...
...
template/src/views/myWork/returnBox.vue
View file @
f0b1100e
...
...
@@ -10,12 +10,18 @@
<
script
>
import
{
openTab
}
from
'@/utils/global'
;
import
permission
from
'@/utils/mixins/myWork/permission'
;
import
SwReturnBox
from
'smart-web/packages/returnBox'
;
import
'smart-web/packages/styles/src/returnBox.scss'
;
export
default
{
name
:
'ReturnBox'
,
mixins
:
[
permission
],
components
:
{
SwReturnBox
},
methods
:
{
refresh
()
{
this
.
$refs
.
returnBox
.
refresh
();
...
...
template/src/views/myWork/settingColumn.vue
View file @
f0b1100e
...
...
@@ -7,12 +7,18 @@
<
script
>
import
permission
from
'@/utils/mixins/myWork/permission'
;
import
SwSettingColumn
from
'smart-web/packages/settingColumn'
;
import
'smart-web/packages/styles/src/settingColumn.scss'
;
export
default
{
name
:
'SettingColumn'
,
mixins
:
[
permission
],
components
:
{
SwSettingColumn
},
computed
:
{
$SMTab
()
{
return
this
.
$store
.
state
.
currentNavigation
;
...
...
template/src/views/myWork/suspendWork.vue
View file @
f0b1100e
...
...
@@ -10,12 +10,18 @@
<
script
>
import
{
openTab
}
from
'@/utils/global'
;
import
permission
from
'@/utils/mixins/myWork/permission'
;
import
SwSuspendWork
from
'smart-web/packages/suspendWork'
;
import
'smart-web/packages/styles/src/suspendWork.scss'
;
export
default
{
name
:
'
s
uspendWork'
,
name
:
'
S
uspendWork'
,
mixins
:
[
permission
],
components
:
{
SwSuspendWork
},
methods
:
{
refresh
()
{
this
.
$refs
.
suspendWork
.
refresh
();
...
...
template/src/views/personalConfig/accountSetting.vue
View file @
f0b1100e
...
...
@@ -3,9 +3,16 @@
</
template
>
<
script
>
import
SwAccount
from
'smart-web/packages/account'
;
import
'smart-web/packages/styles/src/account.scss'
;
export
default
{
name
:
'accountSetting'
,
components
:
{
SwAccount
},
methods
:
{
handleUserChange
(
userInfo
)
{
this
.
$store
.
state
.
userInfo
.
RealName
=
userInfo
.
realName
;
...
...
template/src/views/personalConfig/interface.vue
View file @
f0b1100e
...
...
@@ -6,10 +6,16 @@
<
script
>
import
{
changeTheme
}
from
'@/utils/global'
;
import
SwInterface
from
'smart-web/packages/interface'
;
import
'smart-web/packages/styles/src/interface.scss'
;
export
default
{
name
:
'interface'
,
components
:
{
SwInterface
},
computed
:
{
theme
()
{
return
this
.
$store
.
state
.
theme
;
...
...
template/src/views/systemSetup/SNamingManagement.vue
View file @
f0b1100e
...
...
@@ -4,10 +4,16 @@
<
script
>
import
permission
from
'@/utils/mixins/systemSetup/permission'
;
import
SwSqlNaming
from
'smart-web/packages/sqlNaming'
;
import
'smart-web/packages/styles/src/sqlNaming.scss'
;
export
default
{
name
:
'SNamingManagement'
,
mixins
:
[
permission
],
components
:
{
SwSqlNaming
}
};
</
script
>
template/src/views/systemSetup/adminDivision.vue
View file @
f0b1100e
...
...
@@ -4,10 +4,16 @@
<
script
>
import
permission
from
'@/utils/mixins/systemSetup/permission'
;
import
SwDistrict
from
'smart-web/packages/district'
;
import
'smart-web/packages/styles/src/district.scss'
;
export
default
{
name
:
'adminDivision'
,
mixins
:
[
permission
],
components
:
{
SwDistrict
}
};
</
script
>
template/src/views/systemSetup/authorityManage.vue
View file @
f0b1100e
...
...
@@ -8,12 +8,18 @@
<
script
>
import
permission
from
'@/utils/mixins/systemSetup/permission'
;
import
SwAuthority
from
'smart-web/packages/authority'
;
import
'smart-web/packages/styles/src/authority.scss'
;
export
default
{
name
:
'AuthorityManage'
,
mixins
:
[
permission
],
components
:
{
SwAuthority
},
data
()
{
return
{
sysName
:
''
,
// 系统名称
...
...
template/src/views/systemSetup/businessDefManager.vue
View file @
f0b1100e
...
...
@@ -6,12 +6,18 @@
<
script
>
import
permission
from
'@/utils/mixins/systemSetup/permission'
;
import
{
openTab
}
from
'@/utils/global'
;
import
SwBusinessDefinition
from
'smart-web/packages/businessDefinition'
;
import
'smart-web/packages/styles/src/businessDefinition.scss'
;
export
default
{
name
:
'BusinessDefManager'
,
mixins
:
[
permission
],
components
:
{
SwBusinessDefinition
},
methods
:
{
checkExpresion
(
node
)
{
const
param
=
{
...
...
template/src/views/systemSetup/checkExpression.vue
View file @
f0b1100e
...
...
@@ -7,12 +7,18 @@
<
script
>
import
permission
from
'@/utils/mixins/systemSetup/permission'
;
import
Utils
from
'@/utils'
;
import
SwCheckExpression
from
'smart-web/packages/checkExpression'
;
import
'smart-web/packages/styles/src/checkExpression.scss'
;
export
default
{
name
:
'CheckExpression'
,
mixins
:
[
permission
],
components
:
{
SwCheckExpression
},
data
()
{
return
{
businessNode
:
null
...
...
template/src/views/systemSetup/childSystemManage.vue
View file @
f0b1100e
...
...
@@ -10,12 +10,18 @@
<
script
>
import
permission
from
'@/utils/mixins/systemSetup/permission'
;
import
{
openTab
}
from
'@/utils/global'
;
import
SwChildSystem
from
'smart-web/packages/childSystem'
;
import
'smart-web/packages/styles/src/childSystem.scss'
;
export
default
{
name
:
'ChildSystemManage'
,
mixins
:
[
permission
],
components
:
{
SwChildSystem
},
methods
:
{
handleCheckSystem
(
system
)
{
let
url
=
system
.
visitUrl
;
...
...
template/src/views/systemSetup/codeDictionary.vue
View file @
f0b1100e
...
...
@@ -4,10 +4,16 @@
<
script
>
import
permission
from
'@/utils/mixins/systemSetup/permission'
;
import
SwCodeDictionary
from
'smart-web/packages/codeDictionary'
;
import
'smart-web/packages/styles/src/codeDictionary.scss'
;
export
default
{
name
:
'CodeDictionary'
,
mixins
:
[
permission
],
components
:
{
SwCodeDictionary
}
};
</
script
>
template/src/views/systemSetup/compInformation.vue
View file @
f0b1100e
...
...
@@ -4,11 +4,16 @@
<
script
>
import
permission
from
'@/utils/mixins/systemSetup/permission'
;
import
SwCompany
from
'smart-web/packages/company'
;
import
'smart-web/packages/styles/src/company.scss'
;
export
default
{
name
:
'compInformation'
,
mixins
:
[
permission
],
components
:
{
SwCompany
}
};
</
script
>
template/src/views/systemSetup/editProcess.vue
View file @
f0b1100e
...
...
@@ -8,9 +8,16 @@
</
template
>
<
script
>
import
SwEditProcess
from
'smart-web/packages/editProcess'
;
import
'smart-web/packages/styles/src/editProcess.scss'
;
export
default
{
name
:
'EditProcess'
,
components
:
{
SwEditProcess
},
computed
:
{
currentNavigation
()
{
return
this
.
$store
.
state
.
currentNavigation
;
...
...
template/src/views/systemSetup/environmentConfig.vue
View file @
f0b1100e
...
...
@@ -4,10 +4,16 @@
<
script
>
import
permission
from
'@/utils/mixins/systemSetup/permission'
;
import
SwEnvironment
from
'smart-web/packages/environment'
;
import
'smart-web/packages/styles/src/environment.scss'
;
export
default
{
name
:
'EnvironmentConfig'
,
mixins
:
[
permission
],
components
:
{
SwEnvironment
}
};
</
script
>
template/src/views/systemSetup/frameworkManage.vue
View file @
f0b1100e
...
...
@@ -4,10 +4,16 @@
<
script
>
import
permission
from
'@/utils/mixins/systemSetup/permission'
;
import
SwFramework
from
'smart-web/packages/framework'
;
import
'smart-web/packages/styles/src/framework.scss'
;
export
default
{
name
:
'FrameworkManage'
,
mixins
:
[
permission
]
mixins
:
[
permission
],
components
:
{
SwFramework
}
};
</
script
>
template/src/views/systemSetup/functionModulesManage.vue
View file @
f0b1100e
...
...
@@ -8,12 +8,18 @@
<
script
>
import
permission
from
'@/utils/mixins/systemSetup/permission'
;
import
SwFunctionModules
from
'smart-web/packages/functionModules'
;
import
'smart-web/packages/styles/src/functionModules.scss'
;
export
default
{
name
:
'Funct
oi
nModulesManage'
,
name
:
'Funct
io
nModulesManage'
,
mixins
:
[
permission
],
components
:
{
SwFunctionModules
},
computed
:
{
$SMTab
()
{
return
this
.
$store
.
state
.
currentNavigation
;
...
...
template/src/views/systemSetup/holidayManagement.vue
View file @
f0b1100e
...
...
@@ -4,10 +4,16 @@
<
script
>
import
permission
from
'@/utils/mixins/systemSetup/permission'
;
import
SwHoliday
from
'smart-web/packages/holiday'
;
import
'smart-web/packages/styles/src/holiday.scss'
;
export
default
{
name
:
'HolidayManagement'
,
mixins
:
[
permission
],
components
:
{
SwHoliday
}
};
</
script
>
template/src/views/systemSetup/modulesManage.vue
View file @
f0b1100e
...
...
@@ -9,6 +9,8 @@
</
template
>
<
script
>
import
SwModules
from
'smart-web/packages/modules'
;
import
'smart-web/packages/styles/src/modules.scss'
;
import
permission
from
'@/utils/mixins/systemSetup/permission'
;
import
FunctionModules
from
'@/views/common/functionModule'
;
import
{
openTab
}
from
'@/utils/global'
;
...
...
@@ -19,6 +21,7 @@ export default {
mixins
:
[
permission
],
components
:
{
SwModules
,
FunctionModules
},
...
...
template/src/views/systemSetup/myComWord.vue
View file @
f0b1100e
...
...
@@ -4,10 +4,16 @@
<
script
>
import
permission
from
'@/utils/mixins/systemSetup/permission'
;
import
SwCommonWords
from
'smart-web/packages/commonWords'
;
import
'smart-web/packages/styles/src/commonWords.scss'
;
export
default
{
name
:
'myComWord'
,
mixins
:
[
permission
],
components
:
{
SwCommonWords
}
};
</
script
>
template/src/views/systemSetup/operationLog.vue
View file @
f0b1100e
...
...
@@ -4,10 +4,16 @@
<
script
>
import
permission
from
'@/utils/mixins/systemSetup/permission'
;
import
SwOperationLog
from
'smart-web/packages/operationLog'
;
import
'smart-web/packages/styles/src/operationLog.scss'
;
export
default
{
name
:
'operationLog'
,
mixins
:
[
permission
],
components
:
{
SwOperationLog
}
};
</
script
>
template/src/views/systemSetup/snBuilder.vue
View file @
f0b1100e
...
...
@@ -4,11 +4,17 @@
<
script
>
import
permission
from
'@/utils/mixins/systemSetup/permission'
;
import
SwNumberFormula
from
'smart-web/packages/numberFormula'
;
import
'smart-web/packages/styles/src/numberFormula.scss'
;
export
default
{
name
:
'snBuilder'
,
mixins
:
[
permission
],
components
:
{
SwNumberFormula
}
};
</
script
>
template/src/views/systemSetup/stampdefManage.vue
View file @
f0b1100e
...
...
@@ -4,10 +4,16 @@
<
script
>
import
permission
from
'@/utils/mixins/systemSetup/permission'
;
import
SwStamp
from
'smart-web/packages/stamp'
;
import
'smart-web/packages/styles/src/stamp.scss'
;
export
default
{
name
:
'StampdefManage'
,
mixins
:
[
permission
],
components
:
{
SwStamp
}
};
</
script
>
template/src/views/systemSetup/taskScheduling.vue
View file @
f0b1100e
...
...
@@ -4,10 +4,16 @@
<
script
>
import
permission
from
'@/utils/mixins/systemSetup/permission'
;
import
SwTaskScheduling
from
'smart-web/packages/taskScheduling'
;
import
'smart-web/packages/styles/src/taskScheduling.scss'
;
export
default
{
name
:
'taskScheduling'
,
mixins
:
[
permission
],
components
:
{
SwTaskScheduling
}
};
</
script
>
template/src/views/systemSetup/workflowDesign.vue
View file @
f0b1100e
...
...
@@ -7,6 +7,8 @@
</
template
>
<
script
>
import
SwWorkflow
from
'smart-web/packages/workflow'
;
import
'smart-web/packages/styles/src/workflow.scss'
;
import
permission
from
'@/utils/mixins/systemSetup/permission'
;
import
{
openTab
}
from
'@/utils/global'
;
import
{
baseUrl
}
from
'@config/http.config'
;
...
...
@@ -16,6 +18,10 @@ export default {
mixins
:
[
permission
],
components
:
{
SwWorkflow
},
methods
:
{
handleCreateProcess
(
modelId
)
{
const
data
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment