vue2-client 1.3.6 → 1.3.7

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.
Files changed (25) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/package.json +1 -1
  3. package/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox.vue +1 -1
  4. package/src/base-client/components/common/CreateQuery/CreateQueryItem.vue +1 -1
  5. package/src/base-client/components/common/CreateSimpleFormQuery/CreateSimpleFormQueryItem.vue +1 -1
  6. package/src/base-client/components/common/XAddForm/XAddForm.vue +1 -1
  7. package/src/base-client/components/common/XAddNativeForm/XAddNativeForm.vue +3 -2
  8. package/src/base-client/components/common/XForm/XForm.vue +1 -1
  9. package/src/base-client/components/common/XForm/XFormItem.vue +1 -1
  10. package/src/base-client/components/system/QueryParamsDetailsView/QueryParamsDetailsView.vue +1 -1
  11. package/src/base-client/components/ticket/TicketDetailsView/TicketDetailsView.vue +1 -1
  12. package/src/base-client/components/ticket/TicketSubmitSuccessView/TicketSubmitSuccessView.vue +1 -1
  13. package/src/layouts/header/HeaderNotice.vue +1 -1
  14. package/src/layouts/header/InstitutionDetail.vue +2 -2
  15. package/src/pages/CreateQueryPage.vue +2 -2
  16. package/src/pages/system/file/index.vue +2 -2
  17. package/src/services/api/DictionaryDetailsViewApi.js +1 -1
  18. package/src/services/api/LogDetailsViewApi.js +3 -3
  19. package/src/services/api/QueryParamsDetailsViewApi.js +1 -1
  20. package/src/services/api/TicketDetailsViewApi.js +15 -23
  21. package/src/services/api/common.js +7 -7
  22. package/src/services/api/commonTempTable.js +3 -3
  23. package/src/services/api/manage.js +2 -2
  24. package/vue.config.js +1 -16
  25. package/vue2-client.iml +9 -0
package/CHANGELOG.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Change Log
2
2
  > 所有关于本项目的变化都在该文档里。
3
3
 
4
- **1.3.3 - 1.3.6 -2022-09-09 @江超**
4
+ **1.3.3 - 1.3.7 -2022-09-09 @江超**
5
5
  - 功能修改:
6
6
  - 移除非基础业务组件
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -141,7 +141,7 @@ export default {
141
141
  if (value !== '') {
142
142
  const logicName = this.attr.keyName
143
143
  const logic = logicName.substring(6)
144
- post('/af-system/' + logic, value).then(res => {
144
+ post('/af-system/logic/' + logic, value).then(res => {
145
145
  callback(res)
146
146
  })
147
147
  }
@@ -685,7 +685,7 @@ export default {
685
685
  // 获取所有仓库
686
686
  getStocks () {
687
687
  if (this.stockList.length === 0) {
688
- post('/af-system/getFilesStock', {}).then(res => {
688
+ post('/af-system/logic/getFilesStock', {}).then(res => {
689
689
  this.stockList = res.sort((a, b) => b.progress - a.progress)
690
690
  }).catch(e => {})
691
691
  }
@@ -502,7 +502,7 @@ export default {
502
502
  // 获取所有仓库
503
503
  getStocks () {
504
504
  if (this.stockList.length === 0) {
505
- post('/af-system/getFilesStock', {}).then(res => {
505
+ post('/af-system/logic/getFilesStock', {}).then(res => {
506
506
  this.stockList = res.sort((a, b) => b.progress - a.progress)
507
507
  }).catch(e => {})
508
508
  }
@@ -159,7 +159,7 @@ export default {
159
159
  if (item.groupIndex === 1) {
160
160
  if (item.keyName.substring(0, 6) === 'logic@') {
161
161
  // 请求logic
162
- post('/af-system/' + item.keyName.substring(6), {}).then(res => {
162
+ post('/af-system/logic/' + item.keyName.substring(6), {}).then(res => {
163
163
  this.SelectsArray[item.group][item.groupIndex] = res
164
164
  this.SelectsArray = JSON.parse(JSON.stringify(this.SelectsArray))
165
165
  })
@@ -136,7 +136,7 @@ export default {
136
136
  if (item.groupIndex === 1) {
137
137
  if (item.keyName.substring(0, 6) === 'logic@') {
138
138
  // 请求logic
139
- post('/af-system/' + item.keyName.substring(6), {}).then(res => {
139
+ post('/af-system/logic/' + item.keyName.substring(6), {}).then(res => {
140
140
  this.SelectsArray[item.group][item.groupIndex] = res
141
141
  this.SelectsArray = JSON.parse(JSON.stringify(this.SelectsArray))
142
142
  })
@@ -288,7 +288,8 @@ export default {
288
288
  })
289
289
  },
290
290
  async getSilenceSource (silenceSource, requestParameters) {
291
- return await post('/af-system/' + silenceSource, requestParameters)
291
+ const result = await post('/af-system/logic/' + silenceSource, requestParameters)
292
+ return result
292
293
  },
293
294
  getModifyModelData () {
294
295
  for (let i = 0; i < this.realJsonData.length; i++) {
@@ -135,7 +135,7 @@ export default {
135
135
  if (item.groupIndex === 1) {
136
136
  if (item.keyName.substring(0, 6) === 'logic@') {
137
137
  // 请求logic
138
- post('/af-system/' + item.keyName.substring(6), {}).then(res => {
138
+ post('/af-system/logic/' + item.keyName.substring(6), {}).then(res => {
139
139
  this.SelectsArray[item.group][item.groupIndex] = res
140
140
  this.SelectsArray = JSON.parse(JSON.stringify(this.SelectsArray))
141
141
  })
@@ -366,7 +366,7 @@ export default {
366
366
  if (value !== '') {
367
367
  const logicName = this.attr.keyName
368
368
  const logic = logicName.substring(6)
369
- post('/af-system/' + logic, value).then(res => {
369
+ post('/af-system/logic/' + logic, value).then(res => {
370
370
  callback(res)
371
371
  })
372
372
  }
@@ -182,7 +182,7 @@ export default {
182
182
  },
183
183
  // 存储查询配置信息
184
184
  saveQueryParams (source) {
185
- return post('/af-system/updateQueryParamsData', {
185
+ return post('/af-system/logic/updateQueryParamsData', {
186
186
  id: this.id,
187
187
  source: source
188
188
  }).then(res => {
@@ -36,7 +36,7 @@
36
36
  :before-upload="beforeUpload"
37
37
  :file-list="fileList"
38
38
  :remove="remove"
39
- action="/af-system/upload"
39
+ action="/af-system/file/upload"
40
40
  list-type="picture-card"
41
41
  name="avatar"
42
42
  @change="handleChange"
@@ -22,7 +22,7 @@
22
22
  :before-upload="beforeUpload"
23
23
  :file-list="fileList"
24
24
  :remove="remove"
25
- action="/af-system/upload"
25
+ action="/af-system/file/upload"
26
26
  list-type="picture-card"
27
27
  name="avatar"
28
28
  @change="handleChange"
@@ -77,7 +77,7 @@ export default {
77
77
  this.institutionDetailVisible = false
78
78
  try {
79
79
  if (this.$login.f.name) {
80
- post('/af-system/getTodo', { name: this.$login.f.name }).then(res => {
80
+ post('/af-system/logic/getTodo', { name: this.$login.f.name }).then(res => {
81
81
  this.backlog = [...res]
82
82
  if (this.backlog.length > 0) {
83
83
  const key = `open${Date.now()}`
@@ -81,7 +81,7 @@ export default {
81
81
  return
82
82
  }
83
83
  const otherFiles = []
84
- post('/af-system/getInstitutionDetail', {
84
+ post('/af-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('/af-system/affirmInstitution', {
119
+ post('/af-system/logic/affirmInstitution', {
120
120
  data: {
121
121
  tobe: [
122
122
  {
@@ -40,7 +40,7 @@ export default {
40
40
  },
41
41
  // 存储查询配置信息
42
42
  saveQueryParams (source) {
43
- return post('/af-system/addOrEditQueryParams', {
43
+ return post('/af-system/logic/addOrEditQueryParams', {
44
44
  source: source
45
45
  }).then(res => {
46
46
  this.$message.success('保存查询配置成功')
@@ -50,7 +50,7 @@ export default {
50
50
  },
51
51
  // 存储基础表单配置信息
52
52
  saveSimpleFormQueryParams (source) {
53
- return post('/af-system/addOrEditSimpleFormQueryParams', {
53
+ return post('/af-system/logic/addOrEditSimpleFormQueryParams', {
54
54
  source: source
55
55
  }).then(res => {
56
56
  this.$message.success('保存基础表单配置成功')
@@ -195,10 +195,10 @@ export default {
195
195
  getStockList () {
196
196
  this.loading = true
197
197
  // 请求仓库列表
198
- post('/af-system/getFilesStock', {}).then(res => {
198
+ post('/af-system/logic/getFilesStock', {}).then(res => {
199
199
  this.data = res.sort((a, b) => a.progress - b.progress)
200
200
  // 请求仓库列表
201
- post('/af-system/getFilesColl', {}).then(res => {
201
+ post('/af-system/logic/getFilesColl', {}).then(res => {
202
202
  this.coll = res
203
203
  this.loading = false
204
204
  })
@@ -1,6 +1,6 @@
1
1
  const DictionaryDetailsViewApi = {
2
2
  // 查询:获取字典详情
3
- getDictionaryDetails: '/af-system/getDictionaryDetails'
3
+ getDictionaryDetails: '/af-system/logic/getDictionaryDetails'
4
4
  }
5
5
 
6
6
  export { DictionaryDetailsViewApi }
@@ -1,10 +1,10 @@
1
1
  const LogDetailsViewApi = {
2
2
  // 查询:获取日志详情
3
- getLogDetails: '/af-system/foreignaidGetLogDetails',
3
+ getLogDetails: '/af-system/logic/foreignaidGetLogDetails',
4
4
  // 查询:获取日志维护记录
5
- getLogRecordList: '/af-system/foreignaidGetRecordList',
5
+ getLogRecordList: '/af-system/logic/foreignaidGetRecordList',
6
6
  // 操作:更新日志状态
7
- updateLogStatusData: '/af-system/foreignaidUpdateLogStatus'
7
+ updateLogStatusData: '/af-system/logic/foreignaidUpdateLogStatus'
8
8
  }
9
9
 
10
10
  export { LogDetailsViewApi }
@@ -1,6 +1,6 @@
1
1
  const QueryParamsDetailsViewApi = {
2
2
  // 查询:获取查询配置详情
3
- getQueryParamsDetails: '/af-system/getQueryParamsDetails'
3
+ getQueryParamsDetails: '/af-system/logic/getQueryParamsDetails'
4
4
  }
5
5
 
6
6
  export { QueryParamsDetailsViewApi }
@@ -1,42 +1,34 @@
1
1
  const TicketDetailsViewApi = {
2
2
  // 查询:获取工单流转详情
3
- getTicketWorkFlowDetails: '/af-system/getTicketWorkFlowDetails',
3
+ getTicketWorkFlowDetails: '/af-system/logic/getTicketWorkFlowDetails',
4
4
  // 查询:获取工单详情
5
- getTicketDetails: '/af-system/getTicketDetails',
5
+ getTicketDetails: '/af-system/logic/getTicketDetails',
6
6
  // 手动关闭工单
7
- manualCloseTicket: '/af-system/manualCloseTicket',
7
+ manualCloseTicket: '/af-system/logic/manualCloseTicket',
8
8
  // 转交工单给其他人
9
- transferTicketToOthers: '/af-system/transferTicketToOthers',
9
+ transferTicketToOthers: '/af-system/logic/transferTicketToOthers',
10
10
  // 确认工单,开始处理
11
- confirmTicket: '/af-system/confirmTicket',
12
- // 获取工单序号
13
- getTicketSerialNumber: '/af-system/getTicketSerialNumber',
14
- // 新增工单
15
- addTicket: '/af-system/addTicket',
11
+ confirmTicket: '/af-system/logic/confirmTicket',
16
12
  // 查询:获取订单详情用于订单追踪
17
- getTicketDetailsForUploader: '/af-system/getTicketDetailsForUploader',
13
+ getTicketDetailsForUploader: '/af-system/logic/getTicketDetailsForUploader',
18
14
  // 更新:将工单优先级增加
19
- rushTicket: '/af-system/rushTicket',
15
+ rushTicket: '/af-system/logic/rushTicket',
20
16
  // 客户手动关闭工单
21
- manualCloseTicketByCustomer: '/af-system/manualCloseTicketByCustomer',
22
- // 上传图片
23
- uploadImage: '/af-system/upload',
24
- // 获取工单类别字典
25
- getTicketCategoryDictionary: '/af-system/getTicketCategoryDictionary',
17
+ manualCloseTicketByCustomer: '/af-system/logic/manualCloseTicketByCustomer',
26
18
  // 在工单提交页面删除照片
27
- revocationImage: '/af-system/revocationImage',
19
+ revocationImage: '/af-system/logic/revocationImage',
28
20
  // 在工单提交页面删除照片
29
- getTicketImages: '/af-system/getTicketImages',
21
+ getTicketImages: '/af-system/logic/getTicketImages',
30
22
  // 用户填写附加信息时取消了操作,将已上传的照片清空
31
- removeAllImages: '/af-system/removeAllImages',
23
+ removeAllImages: '/af-system/logic/removeAllImages',
32
24
  // 提交用户填写附加信息
33
- AddonDescriptionToTicket: '/af-system/AddonDescriptionToTicket',
25
+ AddonDescriptionToTicket: '/af-system/logic/AddonDescriptionToTicket',
34
26
  // 获取用户填写附加信息
35
- getAddonDescription: '/af-system/getAddonDescription',
27
+ getAddonDescription: '/af-system/logic/getAddonDescription',
36
28
  // 发起售后工单流程
37
- createTicket: '/af-system/createTicket',
29
+ createTicket: '/af-system/logic/createTicket',
38
30
  // 查询:获取所有员工名,供前端展示备选项
39
- getAllEmployeeName: '/af-system/getAllEmployeeName'
31
+ getAllEmployeeName: '/af-system/logic/getAllEmployeeName'
40
32
  }
41
33
 
42
34
  export { TicketDetailsViewApi }
@@ -3,19 +3,19 @@ import { indexedDB } from '@vue2-client/utils/indexedDB'
3
3
 
4
4
  const commonApi = {
5
5
  // 获取表格列配置
6
- getColumnsJson: '/af-system/getColumns',
6
+ getColumnsJson: '/af-system/logic/getColumns',
7
7
  // 通用查询
8
- query: 'commonQuery',
8
+ query: 'logic/commonQuery',
9
9
  // 表单查询
10
- queryWithResource: 'commonQueryWithResource',
10
+ queryWithResource: 'logic/commonQueryWithResource',
11
11
  // 通用新增/修改
12
- addOrModify: 'commonAddOrModify',
12
+ addOrModify: 'logic/commonAddOrModify',
13
13
  // 通用删除
14
- delete: 'commonDelete',
14
+ delete: 'logic/commonDelete',
15
15
  // 获取字典键列表
16
- getDictionaryParam: '/af-system/getDictionaryParam',
16
+ getDictionaryParam: '/af-system/logic/getDictionaryParam',
17
17
  // 获取所有员工及其部门的级联菜单数据
18
- getEmpTree: '/af-system/getEmpTree',
18
+ getEmpTree: '/af-system/logic/getEmpTree',
19
19
  }
20
20
 
21
21
  /**
@@ -1,10 +1,10 @@
1
1
  const CommonTempTable = {
2
2
  // 初始化子表
3
- initApplySubTable: '/af-system/initApplySubTable',
3
+ initApplySubTable: '/af-system/logic/initApplySubTable',
4
4
  // 创建临时表,根据配置文件动态生成
5
- createTempTable: '/af-system/createTempTable',
5
+ createTempTable: '/af-system/logic/createTempTable',
6
6
  // 向临时表中插入数据
7
- insertDataToTempTable: '/af-system/insertDataToTempTable'
7
+ insertDataToTempTable: '/af-system/logic/insertDataToTempTable'
8
8
  }
9
9
 
10
10
  export { CommonTempTable }
@@ -1,8 +1,8 @@
1
1
  const manageApi = {
2
2
  // 查询:获取字典键列表
3
- getDictionaryValue: '/af-system/getDictionaryValue',
3
+ getDictionaryValue: '/af-system/logic/getDictionaryValue',
4
4
  // 查询:获取省市区街道三级分类
5
- getDivisionsOhChina: '/af-system/getDivisionsOhChina'
5
+ getDivisionsOhChina: '/af-system/logic/getDivisionsOhChina'
6
6
  }
7
7
 
8
8
  export { manageApi }
package/vue.config.js CHANGED
@@ -23,23 +23,8 @@ module.exports = {
23
23
  ws: false,
24
24
  changeOrigin: true
25
25
  },
26
- '/af-system/entity': {
27
- pathRewrite: { '^/af-system/entity': '/rs/entity' },
28
- target: local,
29
- changeOrigin: true
30
- },
31
- '/af-system/upload': {
32
- pathRewrite: { '^/af-system/upload': '/rs/file/upload' },
33
- target: local,
34
- changeOrigin: true
35
- },
36
- '/af-system/resource': {
37
- pathRewrite: { '^/af-system/resource': '/rs/resource' },
38
- target: local,
39
- changeOrigin: true
40
- },
41
26
  '/af-system': {
42
- pathRewrite: { '^/af-system': '/rs/logic' },
27
+ pathRewrite: { '^/af-system': '/rs' },
43
28
  target: local,
44
29
  changeOrigin: true
45
30
  }
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="WEB_MODULE" version="4">
3
+ <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+ <exclude-output />
5
+ <content url="file://$MODULE_DIR$" />
6
+ <orderEntry type="inheritedJdk" />
7
+ <orderEntry type="sourceFolder" forTests="false" />
8
+ </component>
9
+ </module>