w-ui-v1 1.1.14 → 1.1.15

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": "w-ui-v1",
3
- "version": "1.1.14",
3
+ "version": "1.1.15",
4
4
  "description": "w-ui",
5
5
  "author": "wgxshh",
6
6
  "license": "ISC",
@@ -50,6 +50,14 @@ const prop = defineProps({
50
50
  baseUrl:{
51
51
  type: String,
52
52
  default: '',
53
+ },
54
+ sourceId:{
55
+ type: String,
56
+ default: '',
57
+ },
58
+ appId:{
59
+ type: String,
60
+ default: '',
53
61
  }
54
62
  })
55
63
  // 计算属性,弹窗开关
@@ -89,7 +97,7 @@ const beforeEnter = async () => {
89
97
  uni.request({
90
98
  url:
91
99
  prop.baseUrl +
92
- '/v3/mstruc/data?sourceId=x6PQag0EbU&depth=1&sortColIds=创建时间_DESC&pageNo=1&pageSize=1&c_app编码_equals=418907889311981574&c_标记删除_equals=否',
100
+ `/v3/mstruc/data?sourceId=${prop.sourceId}&depth=1&sortColIds=创建时间_DESC&pageNo=1&pageSize=1&c_app编码_equals=${prop.appId}&c_标记删除_equals=否`,
93
101
  method: 'GET',
94
102
  header: {
95
103
  'hydrocarbon-program-token': prop.hydrocarbonProgramToken,