askbot-dragon 1.4.59 → 1.4.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1106,12 +1106,13 @@ export default {
|
|
|
1106
1106
|
if (this.formList.form.formFieldRelation && this.formList.form.formFieldRelation.length > 0) {
|
|
1107
1107
|
this.formList.form.formFieldRelation.forEach(item => {
|
|
1108
1108
|
if (item.formField.type === "TIME_PICKER") {
|
|
1109
|
-
this.extInfoFieldValue[item.fieldId] = item.value;
|
|
1110
1109
|
if (item.value.length === 5 && item.value.split(":").length === 2) {
|
|
1111
1110
|
console.log(1112, item.value);
|
|
1111
|
+
this.extInfoFieldValue[item.fieldId] = item.value;
|
|
1112
1112
|
item.value = new Date().getFullYear() + "-" + (new Date().getMonth() + 1) + "-" + new Date().getDate() + " " + item.value + ":00";
|
|
1113
1113
|
}
|
|
1114
1114
|
if (item.value.length === 8 && item.value.split(":").length === 3) {
|
|
1115
|
+
this.extInfoFieldValue[item.fieldId] = item.value;
|
|
1115
1116
|
item.value = new Date().getFullYear() + "-" + (new Date().getMonth() + 1) + "-" + new Date().getDate() + " " + item.value;
|
|
1116
1117
|
}
|
|
1117
1118
|
}
|