From 8fda4ad0351a4ba55a723d869106db7a99dfa7dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B1=E5=B1=8B?= <3180483789@qq.com> Date: Fri, 14 Jul 2023 09:50:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E7=AE=A1=E7=90=86=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E4=BB=BB=E5=8A=A1=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/task/modules/TaskForm.vue | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) 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); },