mirror of
https://gitee.com/orangeform/orange-admin.git
synced 2026-01-17 18:46:36 +08:00
commit:流程支持自动化任务
This commit is contained in:
@@ -30,7 +30,12 @@
|
||||
/>
|
||||
</el-row>
|
||||
<el-row v-if="inputWidgetType === SysCustomWidgetType.Radio" type="flex" align="middle">
|
||||
<el-radio-group size="default" v-model="valNum" v-bind="attributeProps" @change="onValueChange">
|
||||
<el-radio-group
|
||||
size="default"
|
||||
v-model="valNum"
|
||||
v-bind="attributeProps"
|
||||
@change="onValueChange"
|
||||
>
|
||||
<el-radio-button
|
||||
v-for="item in dropdownData"
|
||||
:key="item.id"
|
||||
|
||||
@@ -76,13 +76,6 @@ const dictId = computed({
|
||||
},
|
||||
});
|
||||
|
||||
const refreshData = (data: ANY_OBJECT) => {
|
||||
if (data.path === 'thirdEditDictParamValue' && data.isSuccess) {
|
||||
handlerEditOperate(data.rowData, data.data);
|
||||
}
|
||||
};
|
||||
defineExpose({ refreshData });
|
||||
|
||||
const onDictChange = (val: ANY_OBJECT) => {
|
||||
emitChange({
|
||||
dictId: val,
|
||||
|
||||
@@ -88,11 +88,4 @@ const onRemoveTableColumn = (row: ANY_OBJECT) => {
|
||||
console.warn(e);
|
||||
});
|
||||
};
|
||||
|
||||
const refreshData = (data: ANY_OBJECT) => {
|
||||
if (data.path === 'thirdEditOnlineListOrder' && data.isSuccess) {
|
||||
handlerEditOperate(data.rowData, data.data);
|
||||
}
|
||||
};
|
||||
defineExpose({ refreshData });
|
||||
</script>
|
||||
|
||||
@@ -75,10 +75,4 @@ const onRemoveTableColumn = (row: ANY_OBJECT) => {
|
||||
console.warn(e);
|
||||
});
|
||||
};
|
||||
const refreshData = (data: ANY_OBJECT) => {
|
||||
if (data.path === 'thirdEditOnlineMobileNumberRangeQuick' && data.isSuccess) {
|
||||
handlerEditOperate(data.rowData, data.data);
|
||||
}
|
||||
};
|
||||
defineExpose({ refreshData });
|
||||
</script>
|
||||
|
||||
@@ -91,11 +91,4 @@ const onRemoveTableColumn = (row: ANY_OBJECT) => {
|
||||
console.warn(e);
|
||||
});
|
||||
};
|
||||
|
||||
const refreshData = (data: ANY_OBJECT) => {
|
||||
if (data.path === 'thirdEditOnlineTableColumn' && data.isSuccess) {
|
||||
handlerEditOperate(data.rowData, data.data);
|
||||
}
|
||||
};
|
||||
defineExpose({ refreshData });
|
||||
</script>
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { SysCustomWidgetType } from '@/common/staticDict/index';
|
||||
import blockConfig from './customBlock';
|
||||
import baseCardConfig from './baseCard';
|
||||
import tabsConfig from './tabs';
|
||||
@@ -23,6 +21,9 @@ import richEditorConfig from './richEditor';
|
||||
import tableConfig from './table';
|
||||
import linkConfig from './link';
|
||||
import treeConfig from './tree';
|
||||
import { ANY_OBJECT } from '@/types/generic';
|
||||
import { SysCustomWidgetType, SysCustomWidgetBindDataType } from '@/common/staticDict/index';
|
||||
import { SysCustomWidgetBindValueType } from '@/common/staticDict/online';
|
||||
|
||||
const formWidgetGroupList: ANY_OBJECT = {
|
||||
pc: [
|
||||
@@ -231,9 +232,14 @@ function getWidgetObject(widget: ANY_OBJECT): ANY_OBJECT {
|
||||
// ...widget,
|
||||
widgetType: widget.widgetType,
|
||||
bindData: {
|
||||
//...bindDataConfig,
|
||||
dataType: SysCustomWidgetBindDataType.Column,
|
||||
defaultValue: {
|
||||
//...bindDataConfig.defaultValue,
|
||||
valueType: SysCustomWidgetBindValueType.INPUT_DATA,
|
||||
// 默认值是字典,字典ID
|
||||
dictId: undefined,
|
||||
value: undefined,
|
||||
// 内置系统变量
|
||||
systemVariable: undefined,
|
||||
},
|
||||
},
|
||||
operationList: widget.operationList
|
||||
|
||||
Reference in New Issue
Block a user