jufubao-base 1.0.427 → 1.0.428
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,24 +1,48 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
import {getAttrPathMsg} from "@/utils/AttrTools";
|
|
4
|
+
|
|
3
5
|
/**
|
|
4
6
|
* @description 当表单组件中有联动操作时候,使用方法进行返回
|
|
5
7
|
*/
|
|
6
8
|
export default {
|
|
7
9
|
style: [],
|
|
8
|
-
content: (data) => {
|
|
10
|
+
content: (data, gValue, gColor, oldData={}) => {
|
|
11
|
+
const refundStepPath = getAttrPathMsg(data , 'refundStepPath', '售后详情');
|
|
9
12
|
return [
|
|
10
13
|
{
|
|
11
|
-
label:
|
|
14
|
+
label: refundStepPath.label,
|
|
12
15
|
ele: 'xd-select-pages-path',
|
|
13
16
|
valueKey: 'refundStepPath',
|
|
14
17
|
groupKey:'advanced',
|
|
15
|
-
placeholder:
|
|
16
|
-
value:
|
|
18
|
+
placeholder: refundStepPath.hold,
|
|
19
|
+
value: refundStepPath.path,
|
|
20
|
+
labelInline:true,
|
|
21
|
+
className: 'input100',
|
|
17
22
|
setting: {
|
|
23
|
+
mode:'new',
|
|
18
24
|
router: XdBus.getParentApi('getPagesTree'),
|
|
19
25
|
},
|
|
20
26
|
inline: false,
|
|
21
27
|
},
|
|
28
|
+
{
|
|
29
|
+
label: '版本号:',
|
|
30
|
+
ele: 'el-input',
|
|
31
|
+
type: 'text',
|
|
32
|
+
groupKey: 'advanced',
|
|
33
|
+
valueKey: 'version',
|
|
34
|
+
value: 'v2.0',
|
|
35
|
+
hidden: true,
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
label: '过滤引用模版字段:',
|
|
39
|
+
ele: 'el-input',
|
|
40
|
+
type: 'text',
|
|
41
|
+
groupKey: 'advanced',
|
|
42
|
+
valueKey: 'refFilterKey',
|
|
43
|
+
value: '[]',
|
|
44
|
+
hidden: true,
|
|
45
|
+
},
|
|
22
46
|
].filter(i=>i)
|
|
23
47
|
},
|
|
24
48
|
advanced: [],
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
+
import {getAttrPathMsg} from "@/utils/AttrTools";
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* @description 当表单组件中有联动操作时候,使用方法进行返回
|
|
@@ -6,26 +7,55 @@
|
|
|
6
7
|
export default {
|
|
7
8
|
style: [],
|
|
8
9
|
content: (data) => {
|
|
10
|
+
const refundStepPath = getAttrPathMsg(data , 'refundStepPath', '售后详情');
|
|
9
11
|
return [
|
|
10
12
|
{
|
|
11
|
-
|
|
13
|
+
ele: 'title',
|
|
14
|
+
label: '基础',
|
|
15
|
+
size: 'small',
|
|
16
|
+
groupKey:'content',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
label: "温馨提示",
|
|
12
20
|
ele: "xd-tinymce",
|
|
13
21
|
valueKey: "warmTips",
|
|
14
22
|
groupKey: "content",
|
|
15
23
|
value: data['warmTips'] || '',
|
|
24
|
+
labelInline:true,
|
|
16
25
|
},
|
|
17
26
|
{
|
|
18
|
-
label:
|
|
27
|
+
label: refundStepPath.label,
|
|
19
28
|
ele: 'xd-select-pages-path',
|
|
20
29
|
valueKey: 'refundStepPath',
|
|
21
30
|
groupKey:'advanced',
|
|
22
|
-
placeholder:
|
|
23
|
-
value:
|
|
31
|
+
placeholder: refundStepPath.hold,
|
|
32
|
+
value: refundStepPath.path,
|
|
33
|
+
labelInline:true,
|
|
34
|
+
className: 'input100',
|
|
24
35
|
setting: {
|
|
36
|
+
mode:'new',
|
|
25
37
|
router: XdBus.getParentApi('getPagesTree'),
|
|
26
38
|
},
|
|
27
39
|
inline: false,
|
|
28
40
|
},
|
|
41
|
+
{
|
|
42
|
+
label: '版本号:',
|
|
43
|
+
ele: 'el-input',
|
|
44
|
+
type: 'text',
|
|
45
|
+
groupKey: 'advanced',
|
|
46
|
+
valueKey: 'version',
|
|
47
|
+
value: 'v2.0',
|
|
48
|
+
hidden: true,
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
label: '过滤引用模版字段:',
|
|
52
|
+
ele: 'el-input',
|
|
53
|
+
type: 'text',
|
|
54
|
+
groupKey: 'advanced',
|
|
55
|
+
valueKey: 'refFilterKey',
|
|
56
|
+
value: '[]',
|
|
57
|
+
hidden: true,
|
|
58
|
+
},
|
|
29
59
|
].filter(i=>i)
|
|
30
60
|
},
|
|
31
61
|
advanced: [],
|