|
@@ -38,7 +38,9 @@
|
|
|
|
|
|
|
|
|
<div>
|
|
|
-
|
|
|
+ <a-upload style="margin-right: 20px;" name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
|
|
|
+ <a-button type="primary" icon="import">导入</a-button>
|
|
|
+ </a-upload>
|
|
|
<a-button @click="handleAddts()" type="primary" icon="plus" v-has="'UserShift:add'" v-if="isColse">调整</a-button>
|
|
|
<a-tabs default-active-key="2" @change="callback">
|
|
|
<a-tab-pane key="2" tab="按班次上下班">
|
|
@@ -247,6 +249,7 @@
|
|
|
deptlist: "/sys/sysDepart/listAll",
|
|
|
delUserShift: '/userShift/userShift/delete',
|
|
|
lists: "/sys/user/queryMothByCount",
|
|
|
+ importExcelUrl: "userShift/userShift/importExcel",
|
|
|
},
|
|
|
}
|
|
|
},
|