diff --git a/ant-design-vue-jeecg/src/views/task/modules/TaskForm.vue b/ant-design-vue-jeecg/src/views/task/modules/TaskForm.vue index db95e8d..cde7f00 100644 --- a/ant-design-vue-jeecg/src/views/task/modules/TaskForm.vue +++ b/ant-design-vue-jeecg/src/views/task/modules/TaskForm.vue @@ -44,7 +44,14 @@ - + +
+ {{ item.type_Name }} : + + {{ child.type_name + }} + +
@@ -225,6 +232,7 @@ export default { expectedDuration: 1, // curryUserName: '', }, + options: [], // labelCol: { // xs: {span: 24}, // sm: {span: 5}, @@ -311,6 +319,7 @@ export default { // queryTaskTypeById: "/taskType/taskType/queryById", fillTaskName: "/task/task/fillTaskName", list: "/task/task/list", + listtasktype: '/taskType/taskType/getTypeMap' } } @@ -324,8 +333,16 @@ export default { created() { //备份model原始值 this.modelDefault = JSON.parse(JSON.stringify(this.model)); + this.tasktype() }, methods: { + tasktype() { + getAction(this.url.listtasktype).then((res) => { + this.options = res.result + console.log(res.result, '1326454') + console.log(this.options, '1556666') + }) + }, popupCallback(value,row){ this.model = Object.assign(this.model, row); },