vue2-client 1.15.38 → 1.15.40
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
@@ -923,6 +923,17 @@ export default {
|
|
923
923
|
layout: properties.form.xAddFormLayout,
|
924
924
|
showSubmitBtn: false
|
925
925
|
})
|
926
|
+
// 初始化的数据渲染(流程第一步)
|
927
|
+
postByServiceName(workFlowViewApi.getStepNoteAndHandler, {
|
928
|
+
workflowId: this.workflowId
|
929
|
+
})
|
930
|
+
.then(res => {
|
931
|
+
console.log('导入的原始数据-json', res[0].f_data)
|
932
|
+
console.log('转换后的数据-对象', JSON.parse(res[0].f_data))
|
933
|
+
this.$refs.xAddForm.setForm(JSON.parse(res[0].f_data))
|
934
|
+
}, err => {
|
935
|
+
console.log(err)
|
936
|
+
})
|
926
937
|
})
|
927
938
|
} else {
|
928
939
|
this.showForm = false
|
@@ -54,13 +54,14 @@ routerResource.example = {
|
|
54
54
|
path: 'example',
|
55
55
|
name: '示例主页面',
|
56
56
|
// component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo2.vue'),
|
57
|
+
component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo3.vue'),
|
57
58
|
// component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo.vue'),
|
58
59
|
// component: () => import('@vue2-client/pages/addressSelect/addressDemo.vue'),
|
59
60
|
// component: () => import('@vue2-client/base-client/components/common/XDescriptions/demo.vue'),
|
60
61
|
// component: () => import('@vue2-client/base-client/components/common/XAddNativeForm/demo.vue'),
|
61
62
|
// component: () => import('@vue2-client/base-client/components/common/XFormGroup/demo.vue'),
|
62
63
|
// component: () => import('@vue2-client/base-client/components/common/XReport/XReportDemo.vue'),
|
63
|
-
component: () => import('@vue2-client/base-client/components/common/XFormTable/demo.vue'),
|
64
|
+
// component: () => import('@vue2-client/base-client/components/common/XFormTable/demo.vue'),
|
64
65
|
// component: () => import('@vue2-client/base-client/components/common/XDatePicker/demo.vue'),
|
65
66
|
// component: () => import('@vue2-client/base-client/components/common/XTab/XTabDemo.vue'),
|
66
67
|
// component: () => import('@vue2-client/base-client/components/common/XRate/demo.vue'),
|
package/src/utils/themeUtil.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
const client = require('webpack-theme-color-replacer/client')
|
2
|
-
const { theme } = require('
|
2
|
+
const { theme } = require('../config')
|
3
3
|
const { getMenuColors, getAntdColors, getThemeToggleColors, getFunctionalColors } = require('../utils/colors')
|
4
|
-
const { ANTD } = require('
|
4
|
+
const { ANTD } = require('../config/default')
|
5
5
|
|
6
6
|
function getThemeColors (color, $theme) {
|
7
7
|
const _color = color || theme.color
|