|
|
|
@ -6,7 +6,6 @@
|
|
|
|
|
v-model="form" |
|
|
|
|
:table-loading="loading" |
|
|
|
|
:data="data" |
|
|
|
|
:permission="permissionList" |
|
|
|
|
:before-open="beforeOpen" |
|
|
|
|
:upload-after="uploadAfter" |
|
|
|
|
:upload-before="uploadBefore" |
|
|
|
@ -31,37 +30,13 @@
|
|
|
|
|
v-if="permission.basicPrintTemplate_delete" |
|
|
|
|
@click="handleDelete">删 除 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button type="warning" |
|
|
|
|
plain |
|
|
|
|
icon="el-icon-download" |
|
|
|
|
@click="handleExport">导 出 |
|
|
|
|
</el-button> |
|
|
|
|
<!-- <el-button type="warning"--> |
|
|
|
|
<!-- plain--> |
|
|
|
|
<!-- icon="el-icon-download"--> |
|
|
|
|
<!-- @click="handleExport">导 出--> |
|
|
|
|
<!-- </el-button>--> |
|
|
|
|
|
|
|
|
|
</template> |
|
|
|
|
<!-- <template #knifeSwitch="scope">--> |
|
|
|
|
<!--<!– <span>{{scope.row.knifeSwitch}}</span>–>--> |
|
|
|
|
<!--<!– <avue-switch :="scope.row.knifeSwitch == '1' ? true : false"–>--> |
|
|
|
|
<!--<!– @click="rowState(scope.row)"></avue-switch>–>--> |
|
|
|
|
<!-- <el-switch v-model="scope.row.knifeSwitch" active-text="开启"--> |
|
|
|
|
<!-- inactive-text="关闭" @change="rowState(scope.row)"></el-switch>--> |
|
|
|
|
<!-- </template>--> |
|
|
|
|
<!-- <template slot="knifeSwitch"--> |
|
|
|
|
<!-- slot-scope="scope">--> |
|
|
|
|
|
|
|
|
|
<!-- </template>--> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--<template #status="scope"> |
|
|
|
|
<el-switch v-model="scope.row.status" :active-value="0" :inactive-value="1" @change="switChange(scope.row)"></el-switch> |
|
|
|
|
</template>--> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <template #menu="{size,row,index}">--> |
|
|
|
|
<!-- <el-button type="primary" text @click="dowloadTemplate(row)">下载模板</el-button>--> |
|
|
|
|
<!-- <el-button type="primary" text @click="viewTemplate(row)">查看模板</el-button>--> |
|
|
|
|
|
|
|
|
|
<!-- </template>--> |
|
|
|
|
</avue-crud> |
|
|
|
|
</basic-container> |
|
|
|
|
</template> |
|
|
|
@ -70,12 +45,12 @@
|
|
|
|
|
import { getList, getDetail, add, update, remove } from "@/api/system/pdaversionManage"; |
|
|
|
|
import option from "@/option/system/padversionManage1"; |
|
|
|
|
import { mapGetters } from "vuex"; |
|
|
|
|
import {exportBlob} from "@/api/common"; |
|
|
|
|
import {getToken} from '@/utils/auth'; |
|
|
|
|
import {downloadXls} from "@/utils/util"; |
|
|
|
|
import {dateNow} from "@/utils/date"; |
|
|
|
|
import NProgress from 'nprogress'; |
|
|
|
|
import 'nprogress/nprogress.css'; |
|
|
|
|
import {exportBlob} from "@/api/common"; |
|
|
|
|
import {getToken} from '@/utils/auth'; |
|
|
|
|
import {downloadXls} from "@/utils/util"; |
|
|
|
|
import {dateNow} from "@/utils/date"; |
|
|
|
|
import NProgress from 'nprogress'; |
|
|
|
|
import 'nprogress/nprogress.css'; |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
data() { |
|
|
|
|