Browse Source

技术人员花名册优化

ljb 11 months ago
parent
commit
7daa951c52
2 changed files with 5 additions and 2 deletions
  1. 4 1
      src/option/user/technicianRoster.js
  2. 1 1
      src/views/technician-roster/index.vue

+ 4 - 1
src/option/user/technicianRoster.js

@@ -12,6 +12,7 @@ export default {
   labelWidth: 140,
   menuWidth: 220,
   dialogClickModal: false,
+  dialogWidth: 760,
   dialogType: "drawer",
   column: [
     {
@@ -86,6 +87,7 @@ export default {
       label: '出生日期',
       prop: 'birthday',
       type: 'date',
+      valueFormat: 'yyyy-MM-DD',
       span: 12,
       width: 90,
       align: 'center',
@@ -197,7 +199,8 @@ export default {
     {
       label: '入职时间',
       prop: 'hireDate',
-      type: 'date',
+      type: 'datetime',
+      valueFormat: 'yyyy-MM-dd HH:mm:ss',
       span: 12,
       width: 140,
       align: 'center',

+ 1 - 1
src/views/technician-roster/index.vue

@@ -173,7 +173,7 @@ export default {
               yearAndMonth: this.yearAndMonth,
             },
             tip: '请上传 .xls,.xlsx 标准格式文件',
-            action: '/api/kd-scientific/technician/import?yearAndMonth='+this.yearAndMonth
+            action: '/api/kd-scientific/technician/import'
           },
           {
             label: '模板下载',