|
|
@@ -58,8 +58,8 @@
|
|
|
style="float:left">{{item.PersonnelName}}</el-button>
|
|
|
</el-form-item>
|
|
|
</el-row>
|
|
|
- <el-row :gutter="20">
|
|
|
- <el-col :span="18">
|
|
|
+ <el-row :gutter="24">
|
|
|
+ <el-col :span="16">
|
|
|
|
|
|
</el-col>
|
|
|
<el-col :span="2">
|
|
|
@@ -75,13 +75,15 @@
|
|
|
<el-col :span="2">
|
|
|
<el-button size="mini"
|
|
|
type="warning"
|
|
|
+ @click="exportExcel()">导出</el-button>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="1">
|
|
|
+ <el-button size="mini"
|
|
|
+ type="danger"
|
|
|
Updated
|
|
|
upstream
|
|
|
@click="back()">返回</el-button>
|
|
|
</el-col>
|
|
|
- <el-col :span="2">
|
|
|
- <button @click="exportExcel()">导出</button>
|
|
|
- </el-col>
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
</template>
|
|
|
@@ -243,7 +245,7 @@ export default {
|
|
|
/* get binary string as output */
|
|
|
var wbout = XLSX.write(wb, { bookType: 'xlsx', bookSST: true, type: 'array' })
|
|
|
try {
|
|
|
- FileSaver.saveAs(new Blob([wbout], { type: 'application/octet-stream' }), '值日表.xlsx')
|
|
|
+ FileSaver.saveAs(new Blob([wbout], { type: 'application/octet-stream' }), '值班表.xlsx')
|
|
|
} catch (e) { if (typeof console !== 'undefined') console.log(e, wbout) }
|
|
|
return wbout
|
|
|
},
|