智慧农业后台管理页面
src/views/machining/machining.vue
@@ -29,25 +29,25 @@
                    v-if="permission.machining_delete"
                    @click="handleDelete"
                >删 除</el-button>
                <el-button
                    type="success"
                    size="small"
                    plain
                    icon="el-icon-upload2"
                    @click="handleImport"
                >导入</el-button>
<!--                <el-button-->
<!--                    type="success"-->
<!--                    size="small"-->
<!--                    plain-->
<!--                    icon="el-icon-upload2"-->
<!--                    @click="handleImport"-->
<!--                >导入</el-button>-->
            </template>
        </avue-crud>
        <el-dialog title="用户数据导入" append-to-body :visible.sync="excelBox" width="555px">
            <avue-form :option="excelOption" v-model="excelForm" :upload-after="uploadAfter">
                <template slot="excelTemplate">
                    <el-button type="primary" @click="handleTemplate">
                        点击下载
                        <i class="el-icon-download el-icon--right"></i>
                    </el-button>
                </template>
            </avue-form>
        </el-dialog>
<!--        <el-dialog title="用户数据导入" append-to-body :visible.sync="excelBox" width="555px">-->
<!--            <avue-form :option="excelOption" v-model="excelForm" :upload-after="uploadAfter">-->
<!--                <template slot="excelTemplate">-->
<!--                    <el-button type="primary" @click="handleTemplate">-->
<!--                        点击下载-->
<!--                        <i class="el-icon-download el-icon&#45;&#45;right"></i>-->
<!--                    </el-button>-->
<!--                </template>-->
<!--            </avue-form>-->
<!--        </el-dialog>-->
    </basic-container>
</template>