diff --git a/public/components/dev/addComponentCondition/addComponentCondition.html b/public/components/dev/addComponentCondition/addComponentCondition.html index 4f7b392ad..583d19736 100644 --- a/public/components/dev/addComponentCondition/addComponentCondition.html +++ b/public/components/dev/addComponentCondition/addComponentCondition.html @@ -33,10 +33,18 @@
+
+ +
+ +
+
diff --git a/public/components/dev/addComponentCondition/addComponentCondition.js b/public/components/dev/addComponentCondition/addComponentCondition.js index db35f17bc..adb68090b 100644 --- a/public/components/dev/addComponentCondition/addComponentCondition.js +++ b/public/components/dev/addComponentCondition/addComponentCondition.js @@ -13,6 +13,7 @@ param: '', type: '', remark: '', + seq:'' } }, _initMethod: function () { @@ -89,6 +90,18 @@ errInfo: "类型不能超过12" }, ], + 'addComponentConditionInfo.seq': [ + { + limit: "required", + param: "", + errInfo: "排序不能为空" + }, + { + limit: "num", + param: "", + errInfo: "排序必须是数字" + }, + ], 'addComponentConditionInfo.remark': [ { limit: "maxLength", @@ -147,7 +160,7 @@ param: '', type: '', remark: '', - + seq:'' }; } } diff --git a/public/components/dev/editComponentCondition/editComponentCondition.html b/public/components/dev/editComponentCondition/editComponentCondition.html index ddaec1172..4dd150a8c 100644 --- a/public/components/dev/editComponentCondition/editComponentCondition.html +++ b/public/components/dev/editComponentCondition/editComponentCondition.html @@ -33,10 +33,18 @@
+
+ +
+ +
+
diff --git a/public/components/dev/editComponentCondition/editComponentCondition.js b/public/components/dev/editComponentCondition/editComponentCondition.js index e5e533b98..491dbf92e 100644 --- a/public/components/dev/editComponentCondition/editComponentCondition.js +++ b/public/components/dev/editComponentCondition/editComponentCondition.js @@ -10,6 +10,7 @@ param: '', type: '', remark: '', + seq:'' } }, _initMethod: function () { @@ -87,6 +88,18 @@ errInfo: "类型不能超过12" }, ], + 'editComponentConditionInfo.seq': [ + { + limit: "required", + param: "", + errInfo: "排序不能为空" + }, + { + limit: "num", + param: "", + errInfo: "排序必须为数字" + }, + ], 'editComponentConditionInfo.remark': [ { limit: "maxLength", @@ -141,7 +154,7 @@ param: '', type: '', remark: '', - + seq:'' } } } diff --git a/public/components/property/commonReportTable/commonReportTable.html b/public/components/property/commonReportTable/commonReportTable.html index 6b5207beb..2dc5a67e8 100644 --- a/public/components/property/commonReportTable/commonReportTable.html +++ b/public/components/property/commonReportTable/commonReportTable.html @@ -11,8 +11,8 @@
- +
diff --git a/public/components/property/commonReportTable/commonReportTable.js b/public/components/property/commonReportTable/commonReportTable.js index ad0ada42b..5788a1860 100644 --- a/public/components/property/commonReportTable/commonReportTable.js +++ b/public/components/property/commonReportTable/commonReportTable.js @@ -74,6 +74,8 @@ let _componentConditionManageInfo = JSON.parse(json); _component.conditions = _componentConditionManageInfo.data; $that.$forceUpdate(); + //处理日期类型 + }, function (errInfo, error) { console.log('请求失败处理'); } diff --git a/public/pages/dev/componentConditionManage/componentConditionManage.html b/public/pages/dev/componentConditionManage/componentConditionManage.html index b8ad4b53a..d4e5fefd9 100644 --- a/public/pages/dev/componentConditionManage/componentConditionManage.html +++ b/public/pages/dev/componentConditionManage/componentConditionManage.html @@ -26,6 +26,7 @@ 提示 参数 类型 + 序号 描述 操作 @@ -36,7 +37,8 @@ {{componentCondition.name}} {{componentCondition.holdpace}} {{componentCondition.param}} - {{componentCondition.type == 'input'?'文本框':'未知'}} + {{componentCondition.type == 'text'?'文本框':'日期'}} + {{componentCondition.seq}} {{componentCondition.remark}}