Просмотр исходного кода

时间统一 YYYY_MM-DD HH:mm:ss

lrf 1 месяц назад
Родитель
Сommit
171e105beb

+ 1 - 1
src/views/two/add/achievement.vue

@@ -124,7 +124,7 @@ const formFields = ref([
   { label: '出让方式', model: 'sell', type: 'select', mark: 'dict', code: 'sell' },
   { label: '技术分类', model: 'technology', type: 'select', mark: 'dict', code: 'technology' },
   { label: '成果地区', model: 'area', custom: true, mark: 'area' },
-  { label: '发布时间', model: 'time', type: 'date' },
+  { label: '发布时间', model: 'time', type: 'datetime' },
   { label: '价格(万元)', model: 'money' },
   { label: '项目来源', model: 'source' },
   { label: '联系人', model: 'person' },

+ 1 - 1
src/views/two/add/demand.vue

@@ -119,7 +119,7 @@ const formFields = ref([
   { label: '技术需求名称', model: 'tec_name' },
   { label: '待解决问题', model: 'question', type: 'textarea' },
   { label: '需求地区', model: 'area', custom: true, mark: 'area' },
-  { label: '发布时间', model: 'time', type: 'daterange', mark: 'time' },
+  { label: '发布时间', model: 'time', type: 'datetimerange', mark: 'time' },
   { label: '是否公开', model: 'is_use', type: 'radio', mark: 'dict', code: 'isUse' },
   { label: '简介', model: 'brief', type: 'textarea' }
 ])

+ 1 - 1
src/views/two/add/match.vue

@@ -165,7 +165,7 @@ const formFields = ref([
   { label: '所属产业', model: 'industry', type: 'select' },
   { label: '类别', model: 'form', type: 'select' },
   { label: '奖金(万元)', model: 'money' },
-  { label: '有效期', model: 'time', type: 'daterange' },
+  { label: '有效期', model: 'time', type: 'datetimerange' },
   { label: '是否启用', model: 'is_use', type: 'radio' },
   { model: 'rules', custom: true },
   { label: '简介', model: 'brief', custom: true },

+ 1 - 1
src/views/two/add/project.vue

@@ -83,7 +83,7 @@ const formFields = ref([
   { label: '行业领域', model: 'field', type: 'select', mark: 'dict', code: 'field' },
   { label: '合作类型', model: 'cooperate', type: 'select', mark: 'dict', code: 'projectType' },
   { label: '项目地区', model: 'area', custom: true, mark: 'area' },
-  { label: '发布时间', model: 'time', type: 'date' },
+  { label: '发布时间', model: 'time', type: 'datetime' },
   { label: '项目主体', model: 'main' },
   { label: '项目进展', model: 'progress' },
   { label: '跟踪支持单位', model: 'track_unit' },

+ 1 - 1
src/views/two/add/supply.vue

@@ -113,7 +113,7 @@ const formFields = ref([
   { label: '价格(万元)', model: 'money' },
   { label: '项目来源', model: 'source' },
   { label: '供给地区', model: 'area', custom: true, mark: 'area' },
-  { label: '发布时间', model: 'time', type: 'daterange', mark: 'time' },
+  { label: '发布时间', model: 'time', type: 'datetimerange', mark: 'time' },
   { label: '是否公开', model: 'is_use', type: 'radio', mark: 'dict', code: 'isUse' },
   { label: '简介', model: 'brief', type: 'textarea' }
 ])