|
@@ -38,6 +38,13 @@
|
|
<a-button type="danger" :disabled="multiple" @click="handleDelete" v-hasPermi="['clw:gas:remove']">
|
|
<a-button type="danger" :disabled="multiple" @click="handleDelete" v-hasPermi="['clw:gas:remove']">
|
|
<a-icon type="delete" />删除
|
|
<a-icon type="delete" />删除
|
|
</a-button>
|
|
</a-button>
|
|
|
|
+ <a-button
|
|
|
|
+ type="dashed"
|
|
|
|
+ @click="$refs.importExcel.importExcelHandleOpen()"
|
|
|
|
+ v-hasPermi="['system:user:import']"
|
|
|
|
+ >
|
|
|
|
+ <a-icon type="import" />导入
|
|
|
|
+ </a-button>
|
|
<a-button type="primary" @click="handleExport" v-hasPermi="['clw:gas:export']">
|
|
<a-button type="primary" @click="handleExport" v-hasPermi="['clw:gas:export']">
|
|
<a-icon type="download" />导出
|
|
<a-icon type="download" />导出
|
|
</a-button>
|
|
</a-button>
|
|
@@ -58,6 +65,8 @@
|
|
/>
|
|
/>
|
|
<!-- 注销原因 -->
|
|
<!-- 注销原因 -->
|
|
<singOut ref="singForm" @signCar="signCar" />
|
|
<singOut ref="singForm" @signCar="signCar" />
|
|
|
|
+ <!-- 上传文件 -->
|
|
|
|
+ <import-excel ref="importExcel" @ok="getList" />
|
|
<!-- 删除弹窗 -->
|
|
<!-- 删除弹窗 -->
|
|
<OpenModul ref="modules" @handleDeletes="handleDeletes" />
|
|
<OpenModul ref="modules" @handleDeletes="handleDeletes" />
|
|
<!-- 数据展示 -->
|
|
<!-- 数据展示 -->
|
|
@@ -116,12 +125,14 @@ import CreateForm from './modules/CreateForm'
|
|
import { tableMixin } from '@/store/table-mixin'
|
|
import { tableMixin } from '@/store/table-mixin'
|
|
import singOut from './modules/singOut.vue'
|
|
import singOut from './modules/singOut.vue'
|
|
import OpenModul from '@/components/OpenModul.vue'
|
|
import OpenModul from '@/components/OpenModul.vue'
|
|
|
|
+import ImportExcel from './modules/ImportExcel.vue'
|
|
export default {
|
|
export default {
|
|
name: 'Gas',
|
|
name: 'Gas',
|
|
components: {
|
|
components: {
|
|
CreateForm,
|
|
CreateForm,
|
|
singOut,
|
|
singOut,
|
|
OpenModul,
|
|
OpenModul,
|
|
|
|
+ ImportExcel
|
|
},
|
|
},
|
|
mixins: [tableMixin],
|
|
mixins: [tableMixin],
|
|
dicts: ['gas_car_type', 'gas_status'],
|
|
dicts: ['gas_car_type', 'gas_status'],
|