فهرست منبع

工作流添加

cqp 10 ماه پیش
والد
کامیت
6cff1da770
1فایلهای تغییر یافته به همراه12 افزوده شده و 1 حذف شده
  1. 12 1
      config/oa.php

+ 12 - 1
config/oa.php

@@ -1,5 +1,8 @@
 <?php
-
+$type_one = 1; // 输入框
+$type_two = 2; // 下拉框
+$level = [0,1,2,3,4,5,6,7,8,9,10];
+$yesNo = ['是','否'];
 return [
     [
         'menu_id' => 56,
@@ -8,18 +11,26 @@ return [
             [
                 'key' => 'relationship_level',
                 'title' => '关系程度',
+                'type' => $type_two,
+                'list' => $level,
             ],
             [
                 'key' => 'is_company_title',
                 'title' => '是否公司',
+                'type' => $type_two,
+                'list' => $yesNo,
             ],
             [
                 'key' => 'customer_type',
                 'title' => '商机类型',
+                'type' => $type_one,
+                'list' => [],
             ],
             [
                 'key' => 'intention',
                 'title' => '意向程度',
+                'type' => $type_two,
+                'list' => $level,
             ],
         ]
     ],