From dfdcca599b595c7340b31ee7cd5878f29a3268eb Mon Sep 17 00:00:00 2001
From: fuchengshen <men883234@gmail.com>
Date: 星期五, 15 七月 2022 16:34:15 +0800
Subject: [PATCH] 更改厂区模型
---
src/cool/modules/hntask/views/periodic_task.vue | 42 +++++++++++++++++++++++++++++++++++++-----
1 files changed, 37 insertions(+), 5 deletions(-)
diff --git a/src/cool/modules/hntask/views/periodic_task.vue b/src/cool/modules/hntask/views/periodic_task.vue
index ad44778..b7418f3 100644
--- a/src/cool/modules/hntask/views/periodic_task.vue
+++ b/src/cool/modules/hntask/views/periodic_task.vue
@@ -45,13 +45,36 @@
const upsert = reactive<Upsert>({
items: [
{
- label: "鍛ㄦ湡浠诲姟",
+ label: "浠诲姟鍛ㄦ湡锛堝垎閽燂級",
prop: "crontab_rule",
component: {
- name: "el-input"
+ name: "el-input-number",
+ props: {
+ placeholder: "璇疯緭鍏ユ墽琛岄棿闅旀椂闂翠互鍒嗛挓涓哄崟浣�,蹇呴』鏄暟瀛�"
+ }
},
//鏄惁涓哄繀濉」,娉細鎺ュ彛閰嶇疆瀛楁鏃舵病鏈夎缃粯璁ゅ�兼椂锛岄兘闇�瑕侀�夋嫨蹇呭~
required: true
+ },
+ {
+ label: "寮�濮嬫椂闂�",
+ prop: "start_time",
+ component: {
+ name: "el-date-picker",
+ props: {
+ type: "datetime"
+ }
+ }
+ },
+ {
+ label: "缁撴潫鏃堕棿",
+ prop: "end_time",
+ component: {
+ name: "el-date-picker",
+ props: {
+ type: "datetime"
+ }
+ }
},
{
label: "浠诲姟鎸囦护",
@@ -93,10 +116,19 @@
{
label: "璁惧鍒嗙粍ID",
prop: "group_id",
+ value: [],
component: {
- name: "el-input"
+ name: "cl-devicegroup-select",
+ props: {
+ props: {
+ "multiple-limit": 3
+ }
+ }
},
- required: true
+ rules: {
+ required: true,
+ message: "瑙掕壊涓嶈兘涓虹┖"
+ }
},
{
@@ -147,7 +179,7 @@
sortable: true //鏄惁鎺掑簭鍔熻兘
},
{
- label: "鍛ㄦ湡浠诲姟",
+ label: "浠诲姟鍛ㄦ湡锛堢锛�",
prop: "crontab_rule"
},
{
--
Gitblit v1.9.1