diff --git a/jero-web/src/components/libraryAddForm/index.vue b/jero-web/src/components/libraryAddForm/index.vue
index 4fa6bba83..1f204c05c 100644
--- a/jero-web/src/components/libraryAddForm/index.vue
+++ b/jero-web/src/components/libraryAddForm/index.vue
@@ -48,7 +48,10 @@
{{item.db_field_txt}}
-
@@ -193,6 +196,7 @@
import Standardselection from '@/components/Standardselection/index'
import { getAction, postAction } from '@/api/manage'
import eventBUs from '../../common/event'
+ import moment from 'moment'
export default {
name: 'index',
@@ -281,8 +285,12 @@
}
})
},
+ dateChange(item) {
+ this.formInline[item.db_field_name] = moment(this.formInline[item.db_field_name]).format('YYYY-MM-DD')
+ },
onChange(date, dateString) {
- console.log(date, dateString)
+ console.log(typeof date)
+ // moment(date).format('YYYY-MM-DD')
},
clickButtonToUpload(current) {
this.$refs.uploadFile.visible = true
@@ -348,7 +356,7 @@
rules[res.db_field_name] = rule
}
})
- this.$set(this, 'rules', rules)
+ // this.$set(this, 'rules', rules)
this.isFormInline = true
this.confirmLoading = false
},
@@ -380,7 +388,7 @@
}
})
},
- add(){
+ add() {
this.formInline = {}
}
}
diff --git a/jero-web/src/views/documentManage/tags/tabs/tagContent.vue b/jero-web/src/views/documentManage/tags/tabs/tagContent.vue
index 309e47648..6a5ad0fcb 100644
--- a/jero-web/src/views/documentManage/tags/tabs/tagContent.vue
+++ b/jero-web/src/views/documentManage/tags/tabs/tagContent.vue
@@ -1,6 +1,5 @@