vue2-client 1.17.12 → 1.17.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.17.12",
3
+ "version": "1.17.13",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -8,38 +8,25 @@
8
8
  @action="action"
9
9
  @selectRow="selectRow"
10
10
  @columnClick="columnClick"
11
- serviceName="af-telephone"
11
+ serviceName="af-system"
12
12
  ref="xFormTable">
13
13
  </x-form-table>
14
- <a-modal
15
- v-model="applyAddFlag"
16
- :footer="null"
17
- :dialog-style="{ top: '5rem' }"
18
- :z-index="1001"
19
- title="测试"
20
- :destroyOnClose="true">
21
- <x-add-native-form ref="xForm" @onSubmit="applySubmit"/>
22
- </a-modal>
23
14
  </a-card>
24
15
  </template>
25
16
 
26
17
  <script>
27
18
  import XFormTable from '@vue2-client/base-client/components/common/XFormTable/XFormTable.vue'
28
- import XAddNativeForm from '@vue2-client/base-client/components/common/XAddNativeForm/XAddNativeForm.vue'
29
19
  import { microDispatch } from '@vue2-client/utils/microAppUtils'
30
- import { getConfigByName } from '@/services/api/common'
31
20
 
32
21
  export default {
33
22
  name: 'Demo',
34
23
  components: {
35
- XFormTable,
36
- XAddNativeForm
24
+ XFormTable
37
25
  },
38
26
  data () {
39
27
  return {
40
- applyAddFlag: false,
41
28
  // 查询配置文件名
42
- queryParamsName: 'teleProcessDoneCRUD',
29
+ queryParamsName: 'ceshiCRUD',
43
30
  // 查询配置左侧tree
44
31
  xTreeConfigName: 'addressType',
45
32
  // 新增表单固定值
@@ -77,23 +64,8 @@ export default {
77
64
  })
78
65
  },
79
66
  action (record, id, actionType) {
80
- this.applyAddFlag = true
81
- this.$nextTick(
82
- () => {
83
- getConfigByName('addMateriaForm', 'af-apply', (res) => {
84
- this.$refs.xForm.init({
85
- businessType: '新增',
86
- title: '测试',
87
- ...res
88
- })
89
- })
90
- }
91
- )
92
- // this.detailVisible = true
93
- // console.log('触发了详情操作', record, id, actionType)
94
- },
95
- applySubmit (data) {
96
- console.log('提交数据', data)
67
+ this.detailVisible = true
68
+ console.log('触发了详情操作', record, id, actionType)
97
69
  },
98
70
  onClose () {
99
71
  this.detailVisible = false