| | |
| | | <template> |
| | | <el-dialog |
| | | v-el-drag-dialog |
| | | :visible.sync="visible" |
| | | :title="title" |
| | | :code="code" |
| | |
| | | :before-upload="beforeUpload" |
| | | :data="{FileCode:code}" |
| | | > |
| | | <el-button class="but_style" icon="el-icon-upload2" size="small" :style="{color:$store.state.settings.theme}">{{ button_name }}</el-button> |
| | | <el-button v-waves class="but_style" icon="el-icon-upload2" size="small" :style="{color:$store.state.settings.theme}">{{ button_name }}</el-button> |
| | | </el-upload> |
| | | 请点击 |
| | | <el-button type="text" style="font-size: 14px;cursor: pointer" icon="el-icon-download" @click="clickDown(code)">下载数据模版</el-button> |
| | | <el-button v-waves type="text" style="font-size: 14px;cursor: pointer" icon="el-icon-download" @click="clickDown(code)">下载数据模版</el-button> |
| | | , 并按照模版编辑导入数据 |
| | | </div> |
| | | <p v-if="div1" style="margin:0 85px 5px">{{ file_name }}</p> |
| | |
| | | </div> |
| | | </div> |
| | | <span slot="footer" class="dialog-footer" style="display: flex;"> |
| | | <el-button v-if="button_text !="完成"" @click="colos()">取 消</el-button> |
| | | <el-button v-if="button_text !="完成"" v-waves @click="colos()">取 消</el-button> |
| | | <el-button |
| | | v-waves |
| | | type="primary" |
| | | class="button_style" |
| | | :disabled="disState" |
| | |
| | | <script> |
| | | |
| | | import { DownLoadExcel, ExcelCheckData, ExcelImportSubmit, ExcelModelCheck } from '@/api/Excel' |
| | | import elDragDialog from '@/directive/el-drag-dialog' |
| | | import waves from '@/directive/waves' |
| | | |
| | | export default { |
| | | directives: { elDragDialog, waves }, |
| | | props: { |
| | | code: { |
| | | type: String, |