|
@@ -159,6 +159,16 @@
|
|
>导出</el-button
|
|
>导出</el-button
|
|
>
|
|
>
|
|
</el-col>
|
|
</el-col>
|
|
|
|
+ <el-col :span="1.5">
|
|
|
|
+ <el-button
|
|
|
|
+ type="warning"
|
|
|
|
+ plain
|
|
|
|
+ icon="el-icon-refresh"
|
|
|
|
+ size="mini"
|
|
|
|
+ @click="handleSyncEsDa"
|
|
|
|
+ >同步</el-button
|
|
|
|
+ >
|
|
|
|
+ </el-col>
|
|
<right-toolbar :show-search.sync="showSearch" @queryTable="getList" />
|
|
<right-toolbar :show-search.sync="showSearch" @queryTable="getList" />
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
|
@@ -489,6 +499,7 @@
|
|
<script>
|
|
<script>
|
|
import {
|
|
import {
|
|
listCase,
|
|
listCase,
|
|
|
|
+ syncEsData,
|
|
getCase,
|
|
getCase,
|
|
delCase,
|
|
delCase,
|
|
addCase,
|
|
addCase,
|
|
@@ -898,6 +909,9 @@ export default {
|
|
`case_${new Date().getTime()}.xlsx`
|
|
`case_${new Date().getTime()}.xlsx`
|
|
);
|
|
);
|
|
},
|
|
},
|
|
|
|
+ handleSyncEsDa() {
|
|
|
|
+ syncEsData();
|
|
|
|
+ },
|
|
download(path) {
|
|
download(path) {
|
|
this.$download.resource(path);
|
|
this.$download.resource(path);
|
|
},
|
|
},
|