vue2-client 1.12.22 → 1.12.23

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.iot ADDED
@@ -0,0 +1,19 @@
1
+ VUE_APP_PUBLIC_PATH=/
2
+ VUE_APP_NAME=Admin
3
+ VUE_APP_ROUTES_KEY=admin.routes
4
+ VUE_APP_PERMISSIONS_KEY=admin.permissions
5
+ VUE_APP_ROLES_KEY=admin.roles
6
+ VUE_APP_USER_KEY=admin.user
7
+ VUE_APP_LOGIN_KEY=admin.login
8
+ VUE_APP_SETTING_KEY=admin.setting
9
+ VUE_APP_TBAS_KEY=admin.tabs
10
+ VUE_APP_TBAS_TITLES_KEY=admin.tabs.titles
11
+ VUE_APP_DICTIONARY_KEY=admin.dictionary
12
+ VUE_APP_BADGE_KEY=admin.badge
13
+ VUE_APP_SINGLEVALUE_KEY=admin.singlevalue
14
+ VUE_APP_DIVISIONSOHCHINA=admin.divisionsohchina
15
+ VUE_APP_WEB_CONFIG_KEY=admin.webconfig
16
+ VUE_APP_API_BASE_URL=http://123.60.214.109:8405
17
+ VUE_APP_SYSTEM_NAME=af-iot
18
+ VUE_APP_LOGIN_VERSION=V4
19
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.12.22",
3
+ "version": "1.12.23",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -8,6 +8,7 @@
8
8
  "serve:revenue": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode revenue",
9
9
  "serve:liuli": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode liuli",
10
10
  "serve:scada": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode scada",
11
+ "serve:iot": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode iot",
11
12
  "serve:his": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint --mode his",
12
13
  "mac-serve": "vue-cli-service serve --no-eslint --mode his",
13
14
  "build": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build",
@@ -37,7 +37,7 @@
37
37
  v-show="advanced"
38
38
  v-for="(item, index) in realJsonData.slice(7)"
39
39
  :showLabel="!simpleMode"
40
- :key="'advanced'+index"
40
+ :key="`advanced-${queryParamsName}-item-${index}`"
41
41
  :attr="item"
42
42
  :form="form"
43
43
  :service-name="serviceName"
@@ -813,7 +813,7 @@ export default {
813
813
  }
814
814
  // xTreeSelect 自己调用 mounted
815
815
  if (this.attr.type !== 'treeSelect') {
816
- this.$emit('mounted')
816
+ this.$emit('mounted', this.attr)
817
817
  }
818
818
  },
819
819
  computed: {
@@ -99,7 +99,7 @@ export default {
99
99
  this.value = undefined
100
100
  }
101
101
  }
102
- this.$emit('mounted', this)
102
+ this.$emit('mounted', this.attr)
103
103
  this.loaded = true
104
104
  },
105
105
  getValues (option, value, values) {
@@ -1,12 +1,11 @@
1
1
  <template>
2
2
  <a-card :bordered="false">
3
- <!-- <a-button @click="()=>{queryParamsName = 'MeterBookUnallocatedUserCRUD'}">测试1</a-button>-->
4
- <!-- <a-button @click="()=>{queryParamsName = 'MeterBookUnallocatedAreaCRUD'}">测试2</a-button>-->
3
+ <a-button @click="()=>{queryParamsName = 'crud_device_realtime_upload_物联网流量计'}">测试1</a-button>
4
+ <a-button @click="()=>{queryParamsName = 'crud_device_realtime_upload_LaiDe_TiaoYaXiang'}">测试2</a-button>
5
5
  <x-form-table
6
6
  title="示例表单"
7
7
  :queryParamsName="queryParamsName"
8
8
  :fixedAddForm="fixedAddForm"
9
- service-name="af-system"
10
9
  @action="action"
11
10
  @columnClick="columnClick"
12
11
  ref="xFormTable">
@@ -56,12 +56,12 @@ routerResource.example = {
56
56
  // component: () => import('@vue2-client/base-client/components/common/XAddNativeForm/demo.vue'),
57
57
  // component: () => import('@vue2-client/base-client/components/common/XFormGroup/demo.vue'),
58
58
  // component: () => import('@vue2-client/base-client/components/common/XReport/XReportDemo.vue'),
59
- // component: () => import('@vue2-client/base-client/components/common/XFormTable/demo.vue'),
59
+ component: () => import('@vue2-client/base-client/components/common/XFormTable/demo.vue'),
60
60
  // component: () => import('@vue2-client/base-client/components/common/XDatePicker/demo.vue'),
61
61
  // component: () => import('@vue2-client/base-client/components/common/XTab/XTabDemo.vue'),
62
62
  // component: () => import('@vue2-client/base-client/components/common/XReportGrid/XReportDemo.vue'),
63
63
  // component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo.vue'),
64
- component: () => import('@vue2-client/base-client/components/common/XConversation/XConversationDemo.vue'),
64
+ // component: () => import('@vue2-client/base-client/components/common/XConversation/XConversationDemo.vue'),
65
65
  // component: () => import('@vue2-client/base-client/components/common/XButtons/XButtonDemo.vue'),
66
66
  // component: () => import('@vue2-client/base-client/components/common/XLabelSelect/XLabelSelectDemo.vue'),
67
67
  // component: () => import('@vue2-client/base-client/components/common/XCheckList/XCheckList.vue'),