vue2-client 1.2.42 → 1.2.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +114 -109
- package/docs/notice.md +22 -22
- package/package.json +1 -1
- package/src/base-client/components/common/CreateQuery/CreateQueryItem.vue +555 -555
- package/src/base-client/components/common/FormGroupEdit/FormGroupEdit.vue +149 -149
- package/src/base-client/components/common/XAddForm/XAddForm.vue +339 -339
- package/src/base-client/components/common/XAddNativeForm/XAddNativeForm.vue +316 -316
- package/src/base-client/components/common/XForm/XForm.vue +275 -275
- package/src/base-client/components/iot/CustomerDetailsView/CustomerDetailsView.vue +225 -225
- package/src/base-client/components/iot/DataAnalysisView/DataAnalysisView.vue +244 -244
- package/src/base-client/components/iot/DeviceBrandDetailsView/DeviceBrandDetailsView.vue +452 -452
- package/src/base-client/components/iot/DeviceDetailsView/part/DeviceDetailsCount.vue +330 -330
- package/src/base-client/components/iot/DeviceDetailsView/part/DeviceDetailsException.vue +57 -57
- package/src/base-client/components/iot/DeviceDetailsView/part/DeviceDetailsInstructOperate.vue +121 -121
- package/src/base-client/components/iot/DeviceDetailsView/part/DeviceDetailsRead.vue +131 -131
- package/src/base-client/components/iot/DeviceTypeDetailsView/DeviceTypeDetailsView.vue +276 -276
- package/src/base-client/components/iot/InstructDetailsView/InstructDetailsView.vue +469 -469
- package/src/base-client/components/iot/LogDetailsView/LogDetailsView.vue +379 -379
- package/src/base-client/components/iot/MeterDetailsView/MeterDetailsView.vue +359 -359
- package/src/base-client/components/iot/MeterDetailsView/part/MeterDetailsCount.vue +335 -335
- package/src/base-client/components/iot/MeterDetailsView/part/MeterDetailsException.vue +184 -184
- package/src/base-client/components/iot/MeterDetailsView/part/MeterDetailsHandPlan.vue +291 -291
- package/src/base-client/components/iot/MeterDetailsView/part/MeterDetailsInstruct.vue +236 -236
- package/src/base-client/components/iot/MeterDetailsView/part/MeterDetailsMain.vue +256 -256
- package/src/base-client/components/iot/MeterDetailsView/part/MeterDetailsSellGas.vue +189 -189
- package/src/base-client/components/iot/WebmeterAnalysisView/WebmeterAnalysisView.vue +722 -722
- package/src/base-client/components/system/DictionaryDetailsView/DictionaryDetailsView.vue +231 -231
- package/src/base-client/components/system/QueryParamsDetailsView/QueryParamsDetailsView.vue +247 -247
- package/src/base-client/components/ticket/EmployeeDetailsView/EmployeeDetailsView.vue +370 -370
- package/src/base-client/components/ticket/TicketDetailsView/TicketDetailsView.vue +1 -1
- package/src/base-client/components/ticket/TicketDetailsView/part/TicketDetailsFlow.vue +260 -260
- package/src/base-client/components/ticket/TicketSubmitSuccessView/TicketSubmitSuccessView.vue +532 -532
- package/src/base-client/plugins/AppData.js +67 -67
- package/src/base-client/plugins/GetLoginInfoService.js +252 -252
- package/src/components/exception/ExceptionPage.vue +70 -70
- package/src/components/menu/SideMenu.vue +1 -1
- package/src/components/setting/Setting.vue +235 -235
- package/src/config/default/setting.config.js +39 -35
- package/src/config/index.js +3 -3
- package/src/layouts/SinglePageView.vue +78 -70
- package/src/layouts/header/AdminHeader.vue +1 -1
- package/src/layouts/header/HeaderNotice.vue +97 -97
- package/src/layouts/tabs/TabsView.vue +16 -1
- package/src/pages/exception/403.vue +21 -25
- package/src/pages/exception/404.vue +21 -25
- package/src/pages/exception/500.vue +21 -25
- package/src/pages/login/Login.vue +5 -12
- package/src/pages/report/ReportTableHome.vue +28 -28
- package/src/pages/resourceManage/depListManage.vue +23 -23
- package/src/pages/resourceManage/funListManage.vue +23 -23
- package/src/pages/resourceManage/index.js +15 -15
- package/src/pages/resourceManage/orgListManage.vue +98 -98
- package/src/pages/resourceManage/roleListManage.vue +23 -23
- package/src/pages/resourceManage/staffListManage.vue +23 -23
- package/src/pages/system/ticket/index.vue +1 -1
- package/src/pages/system/ticket/submitTicketSuccess.vue +248 -248
- package/src/router/async/config.async.js +26 -26
- package/src/router/index.js +27 -27
- package/src/services/api/common.js +47 -47
- package/src/services/api/index.js +39 -39
- package/src/services/user.js +34 -34
- package/src/store/modules/account.js +2 -2
- package/src/theme/default/style.less +47 -47
- package/src/utils/indexedDB.js +146 -146
- package/src/utils/routerUtil.js +359 -359
- package/vue.config.js +143 -143
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<common-layout>
|
|
3
3
|
<div class="top">
|
|
4
4
|
<div class="header">
|
|
5
|
-
<img alt="logo" class="logo" src="
|
|
5
|
+
<img alt="logo" class="logo" src="@vue2-client/assets/img/logo.png" />
|
|
6
6
|
<span class="title">{{ systemName }}</span>
|
|
7
7
|
</div>
|
|
8
8
|
<div class="desc">{{ systemDesc }}</div>
|
|
@@ -57,14 +57,12 @@ import CommonLayout from '@vue2-client/layouts/CommonLayout'
|
|
|
57
57
|
import { getRoutesConfig, login } from '@vue2-client/services/user'
|
|
58
58
|
import { setAuthorization } from '@vue2-client/utils/request'
|
|
59
59
|
import { loadRoutes, funcToRouter } from '@vue2-client/utils/routerUtil'
|
|
60
|
-
import { mapMutations } from 'vuex'
|
|
60
|
+
import { mapMutations, mapState } from 'vuex'
|
|
61
61
|
import JSEncrypt from 'jsencrypt'
|
|
62
62
|
import { ACCESS_TOKEN } from '@vue2-client/store/mutation-types'
|
|
63
63
|
import Vue from 'vue'
|
|
64
64
|
import { positions } from '@vue2-client/mock/common'
|
|
65
65
|
import { timeFix } from '@vue2-client/utils/util'
|
|
66
|
-
const { homePage, ticketPage } = require('@vue2-client/config')
|
|
67
|
-
// import { router } from '@vue2-client/mock/user/routes'
|
|
68
66
|
|
|
69
67
|
export default {
|
|
70
68
|
name: 'Login',
|
|
@@ -77,12 +75,7 @@ export default {
|
|
|
77
75
|
}
|
|
78
76
|
},
|
|
79
77
|
computed: {
|
|
80
|
-
systemName
|
|
81
|
-
return this.$store.state.setting.systemName
|
|
82
|
-
},
|
|
83
|
-
systemDesc () {
|
|
84
|
-
return this.$store.state.setting.systemDesc
|
|
85
|
-
}
|
|
78
|
+
...mapState('setting', ['systemName', 'systemDesc', 'homePage', 'ticketPage'])
|
|
86
79
|
},
|
|
87
80
|
methods: {
|
|
88
81
|
...mapMutations('account', ['setUser', 'setPermissions', 'setRoles']),
|
|
@@ -127,9 +120,9 @@ export default {
|
|
|
127
120
|
setAuthorization({ token: data, expireAt: dateAfter })
|
|
128
121
|
loadRoutes(funcToRouter(user.functions))
|
|
129
122
|
if (result.deps === '用户工单登记') {
|
|
130
|
-
this.$router.push(ticketPage).catch(() => {})
|
|
123
|
+
this.$router.push(this.ticketPage).catch(() => {})
|
|
131
124
|
} else {
|
|
132
|
-
this.$router.push(homePage).catch(() => {})
|
|
125
|
+
this.$router.push(this.homePage).catch(() => {})
|
|
133
126
|
}
|
|
134
127
|
this.$message.success(timeFix().CN + ',欢迎回来', 3)
|
|
135
128
|
})
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<report-table :tableData="tableData"></report-table>
|
|
3
|
-
</template>
|
|
4
|
-
|
|
5
|
-
<script>
|
|
6
|
-
import { post } from '@vue2-client/services/api'
|
|
7
|
-
import ReportTable from '@vue2-client/pages/report/ReportTable'
|
|
8
|
-
export default {
|
|
9
|
-
name: 'ReportTableHome',
|
|
10
|
-
components: { ReportTable },
|
|
11
|
-
data () {
|
|
12
|
-
return {
|
|
13
|
-
tableData: null
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
created () {
|
|
17
|
-
},
|
|
18
|
-
mounted () {
|
|
19
|
-
this.getData()
|
|
20
|
-
},
|
|
21
|
-
methods: {
|
|
22
|
-
async getData () {
|
|
23
|
-
this.tableData = await post('webmeterapi/reportTest', {})
|
|
24
|
-
console.log('数据=>', JSON.stringify(this.tableData))
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<report-table :tableData="tableData"></report-table>
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script>
|
|
6
|
+
import { post } from '@vue2-client/services/api'
|
|
7
|
+
import ReportTable from '@vue2-client/pages/report/ReportTable'
|
|
8
|
+
export default {
|
|
9
|
+
name: 'ReportTableHome',
|
|
10
|
+
components: { ReportTable },
|
|
11
|
+
data () {
|
|
12
|
+
return {
|
|
13
|
+
tableData: null
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
created () {
|
|
17
|
+
},
|
|
18
|
+
mounted () {
|
|
19
|
+
this.getData()
|
|
20
|
+
},
|
|
21
|
+
methods: {
|
|
22
|
+
async getData () {
|
|
23
|
+
this.tableData = await post('webmeterapi/reportTest', {})
|
|
24
|
+
console.log('数据=>', JSON.stringify(this.tableData))
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
</script>
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="depListManage">
|
|
3
|
-
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
export default {
|
|
9
|
-
name: 'depListManage',
|
|
10
|
-
data () {
|
|
11
|
-
return {}
|
|
12
|
-
},
|
|
13
|
-
created () {
|
|
14
|
-
},
|
|
15
|
-
mounted () {
|
|
16
|
-
},
|
|
17
|
-
methods: {}
|
|
18
|
-
}
|
|
19
|
-
</script>
|
|
20
|
-
|
|
21
|
-
<style lang="less">
|
|
22
|
-
|
|
23
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div id="depListManage">
|
|
3
|
+
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
export default {
|
|
9
|
+
name: 'depListManage',
|
|
10
|
+
data () {
|
|
11
|
+
return {}
|
|
12
|
+
},
|
|
13
|
+
created () {
|
|
14
|
+
},
|
|
15
|
+
mounted () {
|
|
16
|
+
},
|
|
17
|
+
methods: {}
|
|
18
|
+
}
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
<style lang="less">
|
|
22
|
+
|
|
23
|
+
</style>
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="funListManage">
|
|
3
|
-
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
export default {
|
|
9
|
-
name: 'funListManage',
|
|
10
|
-
data () {
|
|
11
|
-
return {}
|
|
12
|
-
},
|
|
13
|
-
created () {
|
|
14
|
-
},
|
|
15
|
-
mounted () {
|
|
16
|
-
},
|
|
17
|
-
methods: {}
|
|
18
|
-
}
|
|
19
|
-
</script>
|
|
20
|
-
|
|
21
|
-
<style lang="less">
|
|
22
|
-
|
|
23
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div id="funListManage">
|
|
3
|
+
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
export default {
|
|
9
|
+
name: 'funListManage',
|
|
10
|
+
data () {
|
|
11
|
+
return {}
|
|
12
|
+
},
|
|
13
|
+
created () {
|
|
14
|
+
},
|
|
15
|
+
mounted () {
|
|
16
|
+
},
|
|
17
|
+
methods: {}
|
|
18
|
+
}
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
<style lang="less">
|
|
22
|
+
|
|
23
|
+
</style>
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import depListManage from '@vue2-client/pages/resourceManage/depListManage'
|
|
2
|
-
import funListManage from '@vue2-client/pages/resourceManage/funListManage'
|
|
3
|
-
import orgListManage from '@vue2-client/pages/resourceManage/orgListManage'
|
|
4
|
-
import resourceManageMain from '@vue2-client/pages/resourceManage/resourceManageMain'
|
|
5
|
-
import roleListManage from '@vue2-client/pages/resourceManage/roleListManage'
|
|
6
|
-
import staffListManage from '@vue2-client/pages/resourceManage/staffListManage'
|
|
7
|
-
|
|
8
|
-
export default resourceManageMain
|
|
9
|
-
export {
|
|
10
|
-
depListManage,
|
|
11
|
-
funListManage,
|
|
12
|
-
orgListManage,
|
|
13
|
-
roleListManage,
|
|
14
|
-
staffListManage
|
|
15
|
-
}
|
|
1
|
+
import depListManage from '@vue2-client/pages/resourceManage/depListManage'
|
|
2
|
+
import funListManage from '@vue2-client/pages/resourceManage/funListManage'
|
|
3
|
+
import orgListManage from '@vue2-client/pages/resourceManage/orgListManage'
|
|
4
|
+
import resourceManageMain from '@vue2-client/pages/resourceManage/resourceManageMain'
|
|
5
|
+
import roleListManage from '@vue2-client/pages/resourceManage/roleListManage'
|
|
6
|
+
import staffListManage from '@vue2-client/pages/resourceManage/staffListManage'
|
|
7
|
+
|
|
8
|
+
export default resourceManageMain
|
|
9
|
+
export {
|
|
10
|
+
depListManage,
|
|
11
|
+
funListManage,
|
|
12
|
+
orgListManage,
|
|
13
|
+
roleListManage,
|
|
14
|
+
staffListManage
|
|
15
|
+
}
|
|
@@ -1,98 +1,98 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="orgListManage">
|
|
3
|
-
<a-card :bordered="false">
|
|
4
|
-
<!--<a-row :gutter="48">-->
|
|
5
|
-
<!--<a-col>-->
|
|
6
|
-
<!--<a-space>-->
|
|
7
|
-
<!--<a-button type="primary" @click="addItem" v-if="!buttonState || buttonState.add">-->
|
|
8
|
-
<!--<a-icon :style="iconStyle" type="plus"/>新增-->
|
|
9
|
-
<!--</a-button>-->
|
|
10
|
-
<!--<a-button-->
|
|
11
|
-
<!--v-if="!buttonState || buttonState.edit"-->
|
|
12
|
-
<!--:loading="editDataLoading"-->
|
|
13
|
-
<!--:disabled="!isModify"-->
|
|
14
|
-
<!--class="btn-success"-->
|
|
15
|
-
<!--type="dashed"-->
|
|
16
|
-
<!--@click="editItem">-->
|
|
17
|
-
<!--<a-icon :style="iconStyle" type="edit"/>修改-->
|
|
18
|
-
<!--</a-button>-->
|
|
19
|
-
<!--<a-button :disabled="!isDelete" type="danger" @click="deleteItem" v-if="!buttonState || buttonState.delete">-->
|
|
20
|
-
<!--<a-icon :style="iconStyle" type="delete"/>删除-->
|
|
21
|
-
<!--</a-button>-->
|
|
22
|
-
<!--</a-space>-->
|
|
23
|
-
<!--<span :style="{ float: 'right', overflow: 'hidden', marginBottom: '8px' }">-->
|
|
24
|
-
<!--<a-button-group>-->
|
|
25
|
-
<!--<a-button @click="toggleIsFormShow">-->
|
|
26
|
-
<!--<a-icon :style="iconStyle" type="vertical-align-top"/>-->
|
|
27
|
-
<!--</a-button>-->
|
|
28
|
-
<!--<a-button @click="refresh(true)">-->
|
|
29
|
-
<!--<a-icon :style="iconStyle" type="reload" />-->
|
|
30
|
-
<!--</a-button>-->
|
|
31
|
-
<!--<a-button @click="showDrawer">-->
|
|
32
|
-
<!--<a-icon :style="iconStyle" type="table" />-->
|
|
33
|
-
<!--</a-button>-->
|
|
34
|
-
<!--<a-button @click="exports">-->
|
|
35
|
-
<!--<a-icon :style="iconStyle" type="cloud-download"/>-->
|
|
36
|
-
<!--</a-button>-->
|
|
37
|
-
<!--</a-button-group>-->
|
|
38
|
-
<!--</span>-->
|
|
39
|
-
<!--</a-col>-->
|
|
40
|
-
<!--</a-row>-->
|
|
41
|
-
<a-table
|
|
42
|
-
rowKey="id"
|
|
43
|
-
size="middle"
|
|
44
|
-
bordered
|
|
45
|
-
:pagination="false"
|
|
46
|
-
:columns="columns"
|
|
47
|
-
:data-source="funTree">
|
|
48
|
-
</a-table>
|
|
49
|
-
</a-card>
|
|
50
|
-
</div>
|
|
51
|
-
</template>
|
|
52
|
-
|
|
53
|
-
<script>
|
|
54
|
-
import { getOrganization, searchFun } from '@vue2-client/base-client/plugins/GetLoginInfoService'
|
|
55
|
-
import { getColumnsJson } from '@vue2-client/services/api'
|
|
56
|
-
export default {
|
|
57
|
-
// 组织管理
|
|
58
|
-
name: 'orgListManage',
|
|
59
|
-
data () {
|
|
60
|
-
return {
|
|
61
|
-
columnsJson: [],
|
|
62
|
-
funTree: [],
|
|
63
|
-
columns: [
|
|
64
|
-
{
|
|
65
|
-
title: '组织名称',
|
|
66
|
-
dataIndex: 'name'
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
title: '排序',
|
|
70
|
-
dataIndex: 'position'
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
title: '组件目录',
|
|
74
|
-
dataIndex: 'f_dir'
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
title: '描述',
|
|
78
|
-
dataIndex: 'f_description'
|
|
79
|
-
}
|
|
80
|
-
]
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
created () {
|
|
84
|
-
},
|
|
85
|
-
async mounted () {
|
|
86
|
-
getColumnsJson('orgListManage', (res) => {
|
|
87
|
-
this.columnsJson = res
|
|
88
|
-
})
|
|
89
|
-
const fun = await getOrganization()
|
|
90
|
-
this.funTree = searchFun(fun, '组织机构')
|
|
91
|
-
},
|
|
92
|
-
methods: {
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
</script>
|
|
96
|
-
|
|
97
|
-
<style lang="less">
|
|
98
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div id="orgListManage">
|
|
3
|
+
<a-card :bordered="false">
|
|
4
|
+
<!--<a-row :gutter="48">-->
|
|
5
|
+
<!--<a-col>-->
|
|
6
|
+
<!--<a-space>-->
|
|
7
|
+
<!--<a-button type="primary" @click="addItem" v-if="!buttonState || buttonState.add">-->
|
|
8
|
+
<!--<a-icon :style="iconStyle" type="plus"/>新增-->
|
|
9
|
+
<!--</a-button>-->
|
|
10
|
+
<!--<a-button-->
|
|
11
|
+
<!--v-if="!buttonState || buttonState.edit"-->
|
|
12
|
+
<!--:loading="editDataLoading"-->
|
|
13
|
+
<!--:disabled="!isModify"-->
|
|
14
|
+
<!--class="btn-success"-->
|
|
15
|
+
<!--type="dashed"-->
|
|
16
|
+
<!--@click="editItem">-->
|
|
17
|
+
<!--<a-icon :style="iconStyle" type="edit"/>修改-->
|
|
18
|
+
<!--</a-button>-->
|
|
19
|
+
<!--<a-button :disabled="!isDelete" type="danger" @click="deleteItem" v-if="!buttonState || buttonState.delete">-->
|
|
20
|
+
<!--<a-icon :style="iconStyle" type="delete"/>删除-->
|
|
21
|
+
<!--</a-button>-->
|
|
22
|
+
<!--</a-space>-->
|
|
23
|
+
<!--<span :style="{ float: 'right', overflow: 'hidden', marginBottom: '8px' }">-->
|
|
24
|
+
<!--<a-button-group>-->
|
|
25
|
+
<!--<a-button @click="toggleIsFormShow">-->
|
|
26
|
+
<!--<a-icon :style="iconStyle" type="vertical-align-top"/>-->
|
|
27
|
+
<!--</a-button>-->
|
|
28
|
+
<!--<a-button @click="refresh(true)">-->
|
|
29
|
+
<!--<a-icon :style="iconStyle" type="reload" />-->
|
|
30
|
+
<!--</a-button>-->
|
|
31
|
+
<!--<a-button @click="showDrawer">-->
|
|
32
|
+
<!--<a-icon :style="iconStyle" type="table" />-->
|
|
33
|
+
<!--</a-button>-->
|
|
34
|
+
<!--<a-button @click="exports">-->
|
|
35
|
+
<!--<a-icon :style="iconStyle" type="cloud-download"/>-->
|
|
36
|
+
<!--</a-button>-->
|
|
37
|
+
<!--</a-button-group>-->
|
|
38
|
+
<!--</span>-->
|
|
39
|
+
<!--</a-col>-->
|
|
40
|
+
<!--</a-row>-->
|
|
41
|
+
<a-table
|
|
42
|
+
rowKey="id"
|
|
43
|
+
size="middle"
|
|
44
|
+
bordered
|
|
45
|
+
:pagination="false"
|
|
46
|
+
:columns="columns"
|
|
47
|
+
:data-source="funTree">
|
|
48
|
+
</a-table>
|
|
49
|
+
</a-card>
|
|
50
|
+
</div>
|
|
51
|
+
</template>
|
|
52
|
+
|
|
53
|
+
<script>
|
|
54
|
+
import { getOrganization, searchFun } from '@vue2-client/base-client/plugins/GetLoginInfoService'
|
|
55
|
+
import { getColumnsJson } from '@vue2-client/services/api'
|
|
56
|
+
export default {
|
|
57
|
+
// 组织管理
|
|
58
|
+
name: 'orgListManage',
|
|
59
|
+
data () {
|
|
60
|
+
return {
|
|
61
|
+
columnsJson: [],
|
|
62
|
+
funTree: [],
|
|
63
|
+
columns: [
|
|
64
|
+
{
|
|
65
|
+
title: '组织名称',
|
|
66
|
+
dataIndex: 'name'
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
title: '排序',
|
|
70
|
+
dataIndex: 'position'
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
title: '组件目录',
|
|
74
|
+
dataIndex: 'f_dir'
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
title: '描述',
|
|
78
|
+
dataIndex: 'f_description'
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
created () {
|
|
84
|
+
},
|
|
85
|
+
async mounted () {
|
|
86
|
+
getColumnsJson('orgListManage', (res) => {
|
|
87
|
+
this.columnsJson = res
|
|
88
|
+
})
|
|
89
|
+
const fun = await getOrganization()
|
|
90
|
+
this.funTree = searchFun(fun, '组织机构')
|
|
91
|
+
},
|
|
92
|
+
methods: {
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
</script>
|
|
96
|
+
|
|
97
|
+
<style lang="less">
|
|
98
|
+
</style>
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="roleListManage">
|
|
3
|
-
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
export default {
|
|
9
|
-
name: 'roleListManage',
|
|
10
|
-
data () {
|
|
11
|
-
return {}
|
|
12
|
-
},
|
|
13
|
-
created () {
|
|
14
|
-
},
|
|
15
|
-
mounted () {
|
|
16
|
-
},
|
|
17
|
-
methods: {}
|
|
18
|
-
}
|
|
19
|
-
</script>
|
|
20
|
-
|
|
21
|
-
<style lang="less">
|
|
22
|
-
|
|
23
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div id="roleListManage">
|
|
3
|
+
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
export default {
|
|
9
|
+
name: 'roleListManage',
|
|
10
|
+
data () {
|
|
11
|
+
return {}
|
|
12
|
+
},
|
|
13
|
+
created () {
|
|
14
|
+
},
|
|
15
|
+
mounted () {
|
|
16
|
+
},
|
|
17
|
+
methods: {}
|
|
18
|
+
}
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
<style lang="less">
|
|
22
|
+
|
|
23
|
+
</style>
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="staffListManage">
|
|
3
|
-
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
export default {
|
|
9
|
-
name: 'staffListManage',
|
|
10
|
-
data () {
|
|
11
|
-
return {}
|
|
12
|
-
},
|
|
13
|
-
created () {
|
|
14
|
-
},
|
|
15
|
-
mounted () {
|
|
16
|
-
},
|
|
17
|
-
methods: {}
|
|
18
|
-
}
|
|
19
|
-
</script>
|
|
20
|
-
|
|
21
|
-
<style lang="less">
|
|
22
|
-
|
|
23
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div id="staffListManage">
|
|
3
|
+
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
export default {
|
|
9
|
+
name: 'staffListManage',
|
|
10
|
+
data () {
|
|
11
|
+
return {}
|
|
12
|
+
},
|
|
13
|
+
created () {
|
|
14
|
+
},
|
|
15
|
+
mounted () {
|
|
16
|
+
},
|
|
17
|
+
methods: {}
|
|
18
|
+
}
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
<style lang="less">
|
|
22
|
+
|
|
23
|
+
</style>
|
|
@@ -239,7 +239,7 @@
|
|
|
239
239
|
|
|
240
240
|
<script>
|
|
241
241
|
import { TicketDetailsViewApi, post } from '@vue2-client/services/api'
|
|
242
|
-
import { logout } from '
|
|
242
|
+
import { logout } from '@vue2-client/services/user'
|
|
243
243
|
import XFormTable from '@vue2-client/base-client/components/common/XFormTable/XFormTable'
|
|
244
244
|
import Vue from 'vue'
|
|
245
245
|
|