vue2-client 1.6.48 → 1.7.0
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/.env +15 -15
- package/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox.vue +1 -1
- package/src/base-client/components/common/CreateQuery/CreateQuery.vue +667 -667
- package/src/base-client/components/common/CreateQuery/CreateQueryItem.vue +1 -1
- package/src/base-client/components/common/CreateSimpleFormQuery/CreateSimpleFormQuery.vue +468 -462
- package/src/base-client/components/common/CreateSimpleFormQuery/CreateSimpleFormQueryItem.vue +1 -1
- package/src/base-client/components/common/FormGroupEdit/FormGroupEdit.vue +8 -2
- package/src/base-client/components/common/Upload/Upload.vue +3 -3
- package/src/base-client/components/common/XAddForm/XAddForm.vue +2 -2
- package/src/base-client/components/common/XAddNativeForm/XAddNativeForm.vue +1 -1
- package/src/base-client/components/common/XForm/XForm.vue +2 -2
- package/src/base-client/components/common/XForm/XFormItem.vue +1 -1
- package/src/base-client/components/common/XFormTable/XFormTable.vue +12 -4
- package/src/base-client/components/common/XImportExcel/XImportExcel.vue +1 -1
- package/src/base-client/components/common/XTable/XTable.vue +506 -505
- package/src/base-client/components/system/DictionaryDetailsView/DictionaryDetailsView.vue +231 -231
- package/src/base-client/components/system/QueryParamsDetailsView/QueryParamsDetailsView.vue +1 -1
- package/src/base-client/components/ticket/TicketDetailsView/TicketDetailsView.vue +1 -1
- package/src/base-client/components/ticket/TicketSubmitSuccessView/TicketSubmitSuccessView.vue +1 -1
- package/src/config/default/setting.config.js +46 -46
- package/src/layouts/header/HeaderNotice.vue +1 -1
- package/src/layouts/header/InstitutionDetail.vue +2 -2
- package/src/pages/CreateQueryPage.vue +84 -84
- package/src/pages/login/Login.vue +4 -1
- package/src/pages/report/ReportTableHome.vue +1 -1
- package/src/pages/system/dictionary/index.vue +43 -43
- package/src/pages/system/file/index.vue +3 -3
- package/src/pages/system/monitor/loginInfor/index.vue +36 -36
- package/src/pages/system/monitor/operLog/index.vue +36 -36
- package/src/router/async/router.map.js +0 -2
- package/src/services/api/DictionaryDetailsViewApi.js +1 -1
- package/src/services/api/LogDetailsViewApi.js +3 -3
- package/src/services/api/QueryParamsDetailsViewApi.js +1 -1
- package/src/services/api/TicketDetailsViewApi.js +15 -15
- package/src/services/api/common.js +137 -123
- package/src/services/api/commonTempTable.js +3 -3
- package/src/services/api/logininfor/index.js +1 -1
- package/src/services/api/manage.js +2 -2
- package/src/pages/system/queryParams/index.vue +0 -43
|
@@ -1,231 +1,231 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<a-drawer
|
|
3
|
-
title="字典详情"
|
|
4
|
-
placement="right"
|
|
5
|
-
:width="isMobile ? screenWidth : screenWidth * 0.85"
|
|
6
|
-
:visible="visible"
|
|
7
|
-
@close="onClose"
|
|
8
|
-
>
|
|
9
|
-
<a-spin :spinning="loadDetails">
|
|
10
|
-
<a-page-header
|
|
11
|
-
:title="'字典名称:' + details.f_name"
|
|
12
|
-
>
|
|
13
|
-
<div class="row">
|
|
14
|
-
<div class="content">
|
|
15
|
-
<a-descriptions size="small" :column="isMobile ? 1 : 2">
|
|
16
|
-
<a-descriptions-item label="字典编号">{{ details.id }}</a-descriptions-item>
|
|
17
|
-
<a-descriptions-item label="字典键">{{ details.f_key }}</a-descriptions-item>
|
|
18
|
-
<a-descriptions-item label="备注">{{ details.f_remark }}</a-descriptions-item>
|
|
19
|
-
<a-descriptions-item label="创建时间">{{ format(details.f_input_date) }}</a-descriptions-item>
|
|
20
|
-
</a-descriptions>
|
|
21
|
-
</div>
|
|
22
|
-
<div class="extra">
|
|
23
|
-
<a-row class="status-list">
|
|
24
|
-
<a-col :xs="12" :sm="24">
|
|
25
|
-
</a-col>
|
|
26
|
-
</a-row>
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
<!-- actions -->
|
|
30
|
-
<template v-slot:extra>
|
|
31
|
-
<a-button-group style="margin-right: 4px;">
|
|
32
|
-
<a-button type="dashed" @click="initView" :loading="loadDetails">刷新</a-button>
|
|
33
|
-
</a-button-group>
|
|
34
|
-
</template>
|
|
35
|
-
<template slot="footer">
|
|
36
|
-
<a-tabs :default-active-key="tabActiveKey" :activeKey="tabActiveKey" @change="handleTabChange" style="margin-bottom: 23px;">
|
|
37
|
-
<template v-for="value in tabList">
|
|
38
|
-
<a-tab-pane :key="value.key" :tab="value.tab"/>
|
|
39
|
-
</template>
|
|
40
|
-
</a-tabs>
|
|
41
|
-
<div v-if="!loadDetails">
|
|
42
|
-
<template v-if="tabActiveKey === '1'">
|
|
43
|
-
<x-form-table
|
|
44
|
-
title="字典数据配置"
|
|
45
|
-
:fixed-add-form="fixedAddForm"
|
|
46
|
-
:fixed-query-form="fixedQueryForm"
|
|
47
|
-
queryParamsName="
|
|
48
|
-
@afterSubmit="afterSubmit"
|
|
49
|
-
>
|
|
50
|
-
</x-form-table>
|
|
51
|
-
</template>
|
|
52
|
-
</div>
|
|
53
|
-
</template>
|
|
54
|
-
</a-page-header>
|
|
55
|
-
</a-spin>
|
|
56
|
-
</a-drawer>
|
|
57
|
-
</template>
|
|
58
|
-
|
|
59
|
-
<script>
|
|
60
|
-
import { DictionaryDetailsViewApi, post } from '@vue2-client/services/api'
|
|
61
|
-
import { mapState } from 'vuex'
|
|
62
|
-
import { formatDate } from '@vue2-client/utils/util'
|
|
63
|
-
import XFormTable from '@vue2-client/base-client/components/common/XFormTable/XFormTable'
|
|
64
|
-
|
|
65
|
-
export default {
|
|
66
|
-
name: 'DictionaryDetailsView',
|
|
67
|
-
components: {
|
|
68
|
-
XFormTable
|
|
69
|
-
},
|
|
70
|
-
data () {
|
|
71
|
-
return {
|
|
72
|
-
// 页面宽度
|
|
73
|
-
screenWidth: document.documentElement.clientWidth,
|
|
74
|
-
// Tab页签
|
|
75
|
-
tabActiveKey: '1',
|
|
76
|
-
// 字典详情
|
|
77
|
-
details: {
|
|
78
|
-
id: 0,
|
|
79
|
-
f_name: '',
|
|
80
|
-
f_key: '',
|
|
81
|
-
f_remark: '',
|
|
82
|
-
f_input_date: '',
|
|
83
|
-
f_state: 0
|
|
84
|
-
},
|
|
85
|
-
tabList: [
|
|
86
|
-
{ key: '1', tab: '字典数据' }
|
|
87
|
-
],
|
|
88
|
-
// 固定新增数据
|
|
89
|
-
fixedAddForm: {},
|
|
90
|
-
// 固定查询数据
|
|
91
|
-
fixedQueryForm: {},
|
|
92
|
-
// 详情加载
|
|
93
|
-
loadDetails: true
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
mounted () {
|
|
97
|
-
this.initView()
|
|
98
|
-
},
|
|
99
|
-
computed: {
|
|
100
|
-
...mapState('account', { currUser: 'user' }),
|
|
101
|
-
...mapState('setting', ['isMobile'])
|
|
102
|
-
},
|
|
103
|
-
props: {
|
|
104
|
-
id: {
|
|
105
|
-
type: String,
|
|
106
|
-
required: true
|
|
107
|
-
},
|
|
108
|
-
visible: {
|
|
109
|
-
type: Boolean,
|
|
110
|
-
default: false
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
methods: {
|
|
114
|
-
// 初始化组件
|
|
115
|
-
initView () {
|
|
116
|
-
this.tabActiveKey = '1'
|
|
117
|
-
this.fixedQueryForm['v_f_dictionary_id'] = this.id
|
|
118
|
-
this.fixedAddForm['v_f_dictionary_id'] = this.id
|
|
119
|
-
this.getDetails(this.id)
|
|
120
|
-
},
|
|
121
|
-
onClose () {
|
|
122
|
-
this.$emit('update:visible', false)
|
|
123
|
-
},
|
|
124
|
-
// 获取详情信息
|
|
125
|
-
getDetails (userId) {
|
|
126
|
-
this.loadDetails = true
|
|
127
|
-
return post(DictionaryDetailsViewApi.getDictionaryDetails, {
|
|
128
|
-
id: userId
|
|
129
|
-
})
|
|
130
|
-
.then(res => {
|
|
131
|
-
this.details = res
|
|
132
|
-
this.loadDetails = false
|
|
133
|
-
}, err => {
|
|
134
|
-
this.loadDetails = false
|
|
135
|
-
console.error(err)
|
|
136
|
-
})
|
|
137
|
-
},
|
|
138
|
-
// Tab切换
|
|
139
|
-
handleTabChange (key) {
|
|
140
|
-
this.tabActiveKey = key
|
|
141
|
-
},
|
|
142
|
-
// 日期格式化
|
|
143
|
-
format (date, format) {
|
|
144
|
-
return formatDate(date, format)
|
|
145
|
-
},
|
|
146
|
-
afterSubmit () {
|
|
147
|
-
this.$appdata.load()
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
watch: {
|
|
151
|
-
'visible' (val) {
|
|
152
|
-
if (val) {
|
|
153
|
-
this.initView()
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
</script>
|
|
159
|
-
|
|
160
|
-
<style lang="less" scoped>
|
|
161
|
-
.business {
|
|
162
|
-
color: #ffffff;
|
|
163
|
-
}
|
|
164
|
-
.business:enabled:hover {
|
|
165
|
-
background-color: #85CE61 !important;
|
|
166
|
-
border-color: #85CE61 !important;
|
|
167
|
-
}
|
|
168
|
-
.business:enabled {
|
|
169
|
-
background-color: #67c23a;
|
|
170
|
-
border-color: #67c23a;
|
|
171
|
-
}
|
|
172
|
-
.business:disabled {
|
|
173
|
-
color: rgba(0, 0, 0, 0.25);
|
|
174
|
-
}
|
|
175
|
-
.detail-layout {
|
|
176
|
-
margin-left: 44px;
|
|
177
|
-
}
|
|
178
|
-
.text {
|
|
179
|
-
color: rgba(0, 0, 0, .45);
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.heading {
|
|
183
|
-
color: rgba(0, 0, 0, .85);
|
|
184
|
-
font-size: 20px;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.no-data {
|
|
188
|
-
color: rgba(0, 0, 0, .25);
|
|
189
|
-
text-align: center;
|
|
190
|
-
line-height: 64px;
|
|
191
|
-
font-size: 16px;
|
|
192
|
-
|
|
193
|
-
i {
|
|
194
|
-
font-size: 24px;
|
|
195
|
-
margin-right: 16px;
|
|
196
|
-
position: relative;
|
|
197
|
-
top: 3px;
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.mobile {
|
|
202
|
-
.detail-layout {
|
|
203
|
-
margin-left: unset;
|
|
204
|
-
}
|
|
205
|
-
.text {
|
|
206
|
-
|
|
207
|
-
}
|
|
208
|
-
.status-list {
|
|
209
|
-
text-align: left;
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.row {
|
|
214
|
-
display: flex;
|
|
215
|
-
|
|
216
|
-
.content {
|
|
217
|
-
-webkit-box-flex: 1;
|
|
218
|
-
flex: auto;
|
|
219
|
-
-ms-flex: auto;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.extra {
|
|
223
|
-
flex: 0 1 auto;
|
|
224
|
-
-webkit-box-flex: 0;
|
|
225
|
-
-ms-flex: 0 1 auto;
|
|
226
|
-
min-width: 242px;
|
|
227
|
-
margin-left: 88px;
|
|
228
|
-
text-align: right;
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<a-drawer
|
|
3
|
+
title="字典详情"
|
|
4
|
+
placement="right"
|
|
5
|
+
:width="isMobile ? screenWidth : screenWidth * 0.85"
|
|
6
|
+
:visible="visible"
|
|
7
|
+
@close="onClose"
|
|
8
|
+
>
|
|
9
|
+
<a-spin :spinning="loadDetails">
|
|
10
|
+
<a-page-header
|
|
11
|
+
:title="'字典名称:' + details.f_name"
|
|
12
|
+
>
|
|
13
|
+
<div class="row">
|
|
14
|
+
<div class="content">
|
|
15
|
+
<a-descriptions size="small" :column="isMobile ? 1 : 2">
|
|
16
|
+
<a-descriptions-item label="字典编号">{{ details.id }}</a-descriptions-item>
|
|
17
|
+
<a-descriptions-item label="字典键">{{ details.f_key }}</a-descriptions-item>
|
|
18
|
+
<a-descriptions-item label="备注">{{ details.f_remark }}</a-descriptions-item>
|
|
19
|
+
<a-descriptions-item label="创建时间">{{ format(details.f_input_date) }}</a-descriptions-item>
|
|
20
|
+
</a-descriptions>
|
|
21
|
+
</div>
|
|
22
|
+
<div class="extra">
|
|
23
|
+
<a-row class="status-list">
|
|
24
|
+
<a-col :xs="12" :sm="24">
|
|
25
|
+
</a-col>
|
|
26
|
+
</a-row>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
<!-- actions -->
|
|
30
|
+
<template v-slot:extra>
|
|
31
|
+
<a-button-group style="margin-right: 4px;">
|
|
32
|
+
<a-button type="dashed" @click="initView" :loading="loadDetails">刷新</a-button>
|
|
33
|
+
</a-button-group>
|
|
34
|
+
</template>
|
|
35
|
+
<template slot="footer">
|
|
36
|
+
<a-tabs :default-active-key="tabActiveKey" :activeKey="tabActiveKey" @change="handleTabChange" style="margin-bottom: 23px;">
|
|
37
|
+
<template v-for="value in tabList">
|
|
38
|
+
<a-tab-pane :key="value.key" :tab="value.tab"/>
|
|
39
|
+
</template>
|
|
40
|
+
</a-tabs>
|
|
41
|
+
<div v-if="!loadDetails">
|
|
42
|
+
<template v-if="tabActiveKey === '1'">
|
|
43
|
+
<x-form-table
|
|
44
|
+
title="字典数据配置"
|
|
45
|
+
:fixed-add-form="fixedAddForm"
|
|
46
|
+
:fixed-query-form="fixedQueryForm"
|
|
47
|
+
queryParamsName="crud_dictionary_value_manage"
|
|
48
|
+
@afterSubmit="afterSubmit"
|
|
49
|
+
>
|
|
50
|
+
</x-form-table>
|
|
51
|
+
</template>
|
|
52
|
+
</div>
|
|
53
|
+
</template>
|
|
54
|
+
</a-page-header>
|
|
55
|
+
</a-spin>
|
|
56
|
+
</a-drawer>
|
|
57
|
+
</template>
|
|
58
|
+
|
|
59
|
+
<script>
|
|
60
|
+
import { DictionaryDetailsViewApi, post } from '@vue2-client/services/api'
|
|
61
|
+
import { mapState } from 'vuex'
|
|
62
|
+
import { formatDate } from '@vue2-client/utils/util'
|
|
63
|
+
import XFormTable from '@vue2-client/base-client/components/common/XFormTable/XFormTable'
|
|
64
|
+
|
|
65
|
+
export default {
|
|
66
|
+
name: 'DictionaryDetailsView',
|
|
67
|
+
components: {
|
|
68
|
+
XFormTable
|
|
69
|
+
},
|
|
70
|
+
data () {
|
|
71
|
+
return {
|
|
72
|
+
// 页面宽度
|
|
73
|
+
screenWidth: document.documentElement.clientWidth,
|
|
74
|
+
// Tab页签
|
|
75
|
+
tabActiveKey: '1',
|
|
76
|
+
// 字典详情
|
|
77
|
+
details: {
|
|
78
|
+
id: 0,
|
|
79
|
+
f_name: '',
|
|
80
|
+
f_key: '',
|
|
81
|
+
f_remark: '',
|
|
82
|
+
f_input_date: '',
|
|
83
|
+
f_state: 0
|
|
84
|
+
},
|
|
85
|
+
tabList: [
|
|
86
|
+
{ key: '1', tab: '字典数据' }
|
|
87
|
+
],
|
|
88
|
+
// 固定新增数据
|
|
89
|
+
fixedAddForm: {},
|
|
90
|
+
// 固定查询数据
|
|
91
|
+
fixedQueryForm: {},
|
|
92
|
+
// 详情加载
|
|
93
|
+
loadDetails: true
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
mounted () {
|
|
97
|
+
this.initView()
|
|
98
|
+
},
|
|
99
|
+
computed: {
|
|
100
|
+
...mapState('account', { currUser: 'user' }),
|
|
101
|
+
...mapState('setting', ['isMobile'])
|
|
102
|
+
},
|
|
103
|
+
props: {
|
|
104
|
+
id: {
|
|
105
|
+
type: String,
|
|
106
|
+
required: true
|
|
107
|
+
},
|
|
108
|
+
visible: {
|
|
109
|
+
type: Boolean,
|
|
110
|
+
default: false
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
methods: {
|
|
114
|
+
// 初始化组件
|
|
115
|
+
initView () {
|
|
116
|
+
this.tabActiveKey = '1'
|
|
117
|
+
this.fixedQueryForm['v_f_dictionary_id'] = this.id
|
|
118
|
+
this.fixedAddForm['v_f_dictionary_id'] = this.id
|
|
119
|
+
this.getDetails(this.id)
|
|
120
|
+
},
|
|
121
|
+
onClose () {
|
|
122
|
+
this.$emit('update:visible', false)
|
|
123
|
+
},
|
|
124
|
+
// 获取详情信息
|
|
125
|
+
getDetails (userId) {
|
|
126
|
+
this.loadDetails = true
|
|
127
|
+
return post(DictionaryDetailsViewApi.getDictionaryDetails, {
|
|
128
|
+
id: userId
|
|
129
|
+
})
|
|
130
|
+
.then(res => {
|
|
131
|
+
this.details = res
|
|
132
|
+
this.loadDetails = false
|
|
133
|
+
}, err => {
|
|
134
|
+
this.loadDetails = false
|
|
135
|
+
console.error(err)
|
|
136
|
+
})
|
|
137
|
+
},
|
|
138
|
+
// Tab切换
|
|
139
|
+
handleTabChange (key) {
|
|
140
|
+
this.tabActiveKey = key
|
|
141
|
+
},
|
|
142
|
+
// 日期格式化
|
|
143
|
+
format (date, format) {
|
|
144
|
+
return formatDate(date, format)
|
|
145
|
+
},
|
|
146
|
+
afterSubmit () {
|
|
147
|
+
this.$appdata.load()
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
watch: {
|
|
151
|
+
'visible' (val) {
|
|
152
|
+
if (val) {
|
|
153
|
+
this.initView()
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
</script>
|
|
159
|
+
|
|
160
|
+
<style lang="less" scoped>
|
|
161
|
+
.business {
|
|
162
|
+
color: #ffffff;
|
|
163
|
+
}
|
|
164
|
+
.business:enabled:hover {
|
|
165
|
+
background-color: #85CE61 !important;
|
|
166
|
+
border-color: #85CE61 !important;
|
|
167
|
+
}
|
|
168
|
+
.business:enabled {
|
|
169
|
+
background-color: #67c23a;
|
|
170
|
+
border-color: #67c23a;
|
|
171
|
+
}
|
|
172
|
+
.business:disabled {
|
|
173
|
+
color: rgba(0, 0, 0, 0.25);
|
|
174
|
+
}
|
|
175
|
+
.detail-layout {
|
|
176
|
+
margin-left: 44px;
|
|
177
|
+
}
|
|
178
|
+
.text {
|
|
179
|
+
color: rgba(0, 0, 0, .45);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.heading {
|
|
183
|
+
color: rgba(0, 0, 0, .85);
|
|
184
|
+
font-size: 20px;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.no-data {
|
|
188
|
+
color: rgba(0, 0, 0, .25);
|
|
189
|
+
text-align: center;
|
|
190
|
+
line-height: 64px;
|
|
191
|
+
font-size: 16px;
|
|
192
|
+
|
|
193
|
+
i {
|
|
194
|
+
font-size: 24px;
|
|
195
|
+
margin-right: 16px;
|
|
196
|
+
position: relative;
|
|
197
|
+
top: 3px;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.mobile {
|
|
202
|
+
.detail-layout {
|
|
203
|
+
margin-left: unset;
|
|
204
|
+
}
|
|
205
|
+
.text {
|
|
206
|
+
|
|
207
|
+
}
|
|
208
|
+
.status-list {
|
|
209
|
+
text-align: left;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.row {
|
|
214
|
+
display: flex;
|
|
215
|
+
|
|
216
|
+
.content {
|
|
217
|
+
-webkit-box-flex: 1;
|
|
218
|
+
flex: auto;
|
|
219
|
+
-ms-flex: auto;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.extra {
|
|
223
|
+
flex: 0 1 auto;
|
|
224
|
+
-webkit-box-flex: 0;
|
|
225
|
+
-ms-flex: 0 1 auto;
|
|
226
|
+
min-width: 242px;
|
|
227
|
+
margin-left: 88px;
|
|
228
|
+
text-align: right;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
</style>
|
|
@@ -182,7 +182,7 @@ export default {
|
|
|
182
182
|
},
|
|
183
183
|
// 存储查询配置信息
|
|
184
184
|
saveQueryParams (source) {
|
|
185
|
-
return post('/api/
|
|
185
|
+
return post('/api/system/logic/updateQueryParamsData', {
|
|
186
186
|
id: this.id,
|
|
187
187
|
source: source
|
|
188
188
|
}).then(res => {
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
// 此配置为系统默认设置
|
|
2
|
-
module.exports = {
|
|
3
|
-
lang: 'CN', // 语言,可选 CN(简体)、HK(繁体)、US(英语),也可扩展其它语言
|
|
4
|
-
theme: { // 主题
|
|
5
|
-
color: '#1890ff', // 主题色
|
|
6
|
-
mode: 'dark', // 主题模式 可选 dark、 light 和 night
|
|
7
|
-
success: '#52c41a', // 成功色
|
|
8
|
-
warning: '#faad14', // 警告色
|
|
9
|
-
error: '#f5222f' // 错误色
|
|
10
|
-
},
|
|
11
|
-
layout: 'side', // 导航布局,可选 side 和 head,分别为侧边导航和顶部导航
|
|
12
|
-
fixedHeader: true, // 固定头部状态栏,true:固定,false:不固定
|
|
13
|
-
fixedSideBar: true, // 固定侧边栏,true:固定,false:不固定
|
|
14
|
-
fixedTabs: true, // 固定页签头,true:固定,false:不固定
|
|
15
|
-
pageWidth: 'fixed', // 内容区域宽度,fixed:固定宽度,fluid:流式宽度
|
|
16
|
-
weekMode: false, // 色弱模式,true:开启,false:不开启
|
|
17
|
-
multiPage: true, // 多页签模式,true:开启,false:不开启
|
|
18
|
-
cachePage: true, // 是否缓存页面数据,仅多页签模式下生效,true 缓存, false 不缓存
|
|
19
|
-
hideSetting: false, // 隐藏设置抽屉,true:隐藏,false:不隐藏
|
|
20
|
-
homePage: '/dashboard/workplace', // 首页路由, 登陆后默认打开
|
|
21
|
-
ticketPage: '/submitTicket', // 提交工单路由
|
|
22
|
-
systemName: 'V4基础组件平台', // 系统名称
|
|
23
|
-
logoSrc: '/defaultLogo.png', // LOGO路径
|
|
24
|
-
systemNameFontSize: '20px', // 系统名称字体大小
|
|
25
|
-
systemDesc: '为PC端中、后台系统业务开发提供支持', // 系统描述
|
|
26
|
-
copyright: '2022 AoFengSoft', // copyright
|
|
27
|
-
copyrightStyle: undefined,
|
|
28
|
-
asyncRoutes: true, // 异步加载路由,true:开启,false:不开启
|
|
29
|
-
showPageTitle: true, // 是否显示页面标题(PageLayout 布局中的页面标题),true:显示,false:不显示
|
|
30
|
-
filterMenu: true, // 根据权限过滤菜单,true:过滤,false:不过滤
|
|
31
|
-
animate: { // 动画设置
|
|
32
|
-
disabled: true, // 禁用动画,true:禁用,false:启用
|
|
33
|
-
name: 'lightSpeed', // 动画效果,支持的动画效果可参考 ./animate.config.js
|
|
34
|
-
direction: 'left' // 动画方向,切换页面时动画的方向,参考 ./animate.config.js
|
|
35
|
-
},
|
|
36
|
-
footerLinks: [ // 页面底部链接,{link: '链接地址', name: '名称/显示文字', icon: '图标,支持 ant design vue 图标库'}
|
|
37
|
-
],
|
|
38
|
-
// 旧系统路径
|
|
39
|
-
iframeSrc: '../singlepage/page.html',
|
|
40
|
-
// 兼容旧版本 V3(最新V3产品) OA(公司OA)
|
|
41
|
-
compatible: 'V3',
|
|
42
|
-
// 路由资源名称
|
|
43
|
-
routeName: '智慧燃气',
|
|
44
|
-
// 自定义组件集合 格式为组件名: 组件路径(不需要带@/)
|
|
45
|
-
customizeComponent: {}
|
|
46
|
-
}
|
|
1
|
+
// 此配置为系统默认设置
|
|
2
|
+
module.exports = {
|
|
3
|
+
lang: 'CN', // 语言,可选 CN(简体)、HK(繁体)、US(英语),也可扩展其它语言
|
|
4
|
+
theme: { // 主题
|
|
5
|
+
color: '#1890ff', // 主题色
|
|
6
|
+
mode: 'dark', // 主题模式 可选 dark、 light 和 night
|
|
7
|
+
success: '#52c41a', // 成功色
|
|
8
|
+
warning: '#faad14', // 警告色
|
|
9
|
+
error: '#f5222f' // 错误色
|
|
10
|
+
},
|
|
11
|
+
layout: 'side', // 导航布局,可选 side 和 head,分别为侧边导航和顶部导航
|
|
12
|
+
fixedHeader: true, // 固定头部状态栏,true:固定,false:不固定
|
|
13
|
+
fixedSideBar: true, // 固定侧边栏,true:固定,false:不固定
|
|
14
|
+
fixedTabs: true, // 固定页签头,true:固定,false:不固定
|
|
15
|
+
pageWidth: 'fixed', // 内容区域宽度,fixed:固定宽度,fluid:流式宽度
|
|
16
|
+
weekMode: false, // 色弱模式,true:开启,false:不开启
|
|
17
|
+
multiPage: true, // 多页签模式,true:开启,false:不开启
|
|
18
|
+
cachePage: true, // 是否缓存页面数据,仅多页签模式下生效,true 缓存, false 不缓存
|
|
19
|
+
hideSetting: false, // 隐藏设置抽屉,true:隐藏,false:不隐藏
|
|
20
|
+
homePage: '/dashboard/workplace', // 首页路由, 登陆后默认打开
|
|
21
|
+
ticketPage: '/submitTicket', // 提交工单路由
|
|
22
|
+
systemName: 'V4基础组件平台', // 系统名称
|
|
23
|
+
logoSrc: '/defaultLogo.png', // LOGO路径
|
|
24
|
+
systemNameFontSize: '20px', // 系统名称字体大小
|
|
25
|
+
systemDesc: '为PC端中、后台系统业务开发提供支持', // 系统描述
|
|
26
|
+
copyright: '2022 AoFengSoft', // copyright
|
|
27
|
+
copyrightStyle: undefined,
|
|
28
|
+
asyncRoutes: true, // 异步加载路由,true:开启,false:不开启
|
|
29
|
+
showPageTitle: true, // 是否显示页面标题(PageLayout 布局中的页面标题),true:显示,false:不显示
|
|
30
|
+
filterMenu: true, // 根据权限过滤菜单,true:过滤,false:不过滤
|
|
31
|
+
animate: { // 动画设置
|
|
32
|
+
disabled: true, // 禁用动画,true:禁用,false:启用
|
|
33
|
+
name: 'lightSpeed', // 动画效果,支持的动画效果可参考 ./animate.config.js
|
|
34
|
+
direction: 'left' // 动画方向,切换页面时动画的方向,参考 ./animate.config.js
|
|
35
|
+
},
|
|
36
|
+
footerLinks: [ // 页面底部链接,{link: '链接地址', name: '名称/显示文字', icon: '图标,支持 ant design vue 图标库'}
|
|
37
|
+
],
|
|
38
|
+
// 旧系统路径
|
|
39
|
+
iframeSrc: '../singlepage/page.html',
|
|
40
|
+
// 兼容旧版本 V3(最新V3产品) OA(公司OA)
|
|
41
|
+
compatible: 'V3',
|
|
42
|
+
// 路由资源名称
|
|
43
|
+
routeName: '智慧燃气',
|
|
44
|
+
// 自定义组件集合 格式为组件名: 组件路径(不需要带@/)
|
|
45
|
+
customizeComponent: {}
|
|
46
|
+
}
|
|
@@ -86,7 +86,7 @@ export default {
|
|
|
86
86
|
this.institutionDetailVisible = false
|
|
87
87
|
try {
|
|
88
88
|
if (this.$login.f.name) {
|
|
89
|
-
post('/api/
|
|
89
|
+
post('/api/system/logic/getTodo', { name: this.$login.f.name }).then(res => {
|
|
90
90
|
this.backlog = [...res]
|
|
91
91
|
if (this.backlog.length > 0) {
|
|
92
92
|
const key = `open${Date.now()}`
|
|
@@ -81,7 +81,7 @@ export default {
|
|
|
81
81
|
return
|
|
82
82
|
}
|
|
83
83
|
const otherFiles = []
|
|
84
|
-
post('/api/
|
|
84
|
+
post('/api/system/logic/getInstitutionDetail', {
|
|
85
85
|
id: this.institutionId
|
|
86
86
|
}).then(res => {
|
|
87
87
|
res.files.forEach(item => {
|
|
@@ -116,7 +116,7 @@ export default {
|
|
|
116
116
|
a.click()
|
|
117
117
|
},
|
|
118
118
|
confirm_institution () {
|
|
119
|
-
post('/api/
|
|
119
|
+
post('/api/system/logic/affirmInstitution', {
|
|
120
120
|
data: {
|
|
121
121
|
tobe: [
|
|
122
122
|
{
|