单据上传功能代码提交

test
郑明梁 2 years ago
parent 8cde418525
commit 7cbb7a8d5e

@ -78,6 +78,7 @@
<el-table-column label="操作" fixed="right">
<template slot-scope="scope">
<el-button type="text" size="small" :disabled="!check" @click.native.stop="addDelect(scope.row)">编辑</el-button>
<el-button type="text" size="small" :disabled="!check" @click.native.stop="deleteDialog(scope.row)">删除</el-button>
</template>
</el-table-column>
</el-table>
@ -111,7 +112,7 @@
</template>
<script>
import {testUserInfo} from "@/api/userManage/platform";
import {deletePlatform, testUserInfo} from "@/api/userManage/platform";
import {getCorpLists, getPlatFormDelect} from "@/api/basic/basicUnitMaintain";
import {getBussinessType} from "@/api/basic/bussinessType";
import {isBlank} from "@/utils/strUtil";
@ -258,6 +259,23 @@ export default {
this.orderMutiVisible = false;
this.getList();
},
deleteDialog(row) {
this.$confirm("确认删除该自助平台信息?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
})
.then(() => {
let tQuery = {
id: row.id
};
deletePlatform(tQuery).then(() => {
this.getPlatFormDelect()
});
})
.catch(() => {
});
},
getLocalBussinessType() {
let tQuery = {};
getBussinessType(tQuery).then((res) => {

Loading…
Cancel
Save