| | |
| | | }).then(() => {
|
| | | this.getList();
|
| | | this.msgSuccess("删除成功");
|
| | | }).catch((err)=>{})
|
| | | }).catch(() => {});
|
| | | }
|
| | | }
|
| | | };
|
| | |
| | | }).then(() => {
|
| | | this.getList();
|
| | | this.msgSuccess("删除成功");
|
| | | }).catch((err)=>{})
|
| | | }).catch(() => {});
|
| | | },
|
| | | #if($table.sub)
|
| | | /** ${subTable.functionName}序号 */
|
| | |
| | | this.$store.dispatch('LogOut').then(() => {
|
| | | location.href = '/index';
|
| | | })
|
| | | })
|
| | | }).catch(() => {});
|
| | | }
|
| | | }
|
| | | }
|
| | |
| | | store.dispatch('LogOut').then(() => {
|
| | | location.href = '/index';
|
| | | })
|
| | | })
|
| | | }).catch(() => {});
|
| | | } else if (code === 500) {
|
| | | Message({
|
| | | message: msg,
|
| | |
| | | return runJob(row.jobId, row.jobGroup);
|
| | | }).then(() => {
|
| | | this.msgSuccess("执行成功");
|
| | | })
|
| | | }).catch(() => {});
|
| | | },
|
| | | /** 任务详细信息 */
|
| | | handleView(row) {
|
| | |
| | | }).then(() => {
|
| | | this.getList();
|
| | | this.msgSuccess("强退成功");
|
| | | })
|
| | | }).catch(() => {});
|
| | | }
|
| | | }
|
| | | };
|
| | |
| | | }).then(() => {
|
| | | this.getList();
|
| | | this.msgSuccess("删除成功");
|
| | | })
|
| | | }).catch(() => {});
|
| | | },
|
| | | /** 导出按钮操作 */
|
| | | handleExport() {
|
| | |
| | | { required: true, message: "部门名称不能为空", trigger: "blur" }
|
| | | ],
|
| | | orderNum: [
|
| | | { required: true, message: "菜单顺序不能为空", trigger: "blur" }
|
| | | { required: true, message: "显示排序不能为空", trigger: "blur" }
|
| | | ],
|
| | | email: [
|
| | | {
|
| | |
| | | }).then(() => {
|
| | | this.getList();
|
| | | this.msgSuccess("删除成功");
|
| | | })
|
| | | }).catch(() => {});
|
| | | }
|
| | | }
|
| | | };
|
| | |
| | | <template>
|
| | | <div class="app-container">
|
| | | <el-form :model="queryParams" ref="queryForm" v-show="showSearch" :inline="true">
|
| | | <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
|
| | | <el-form-item label="字典名称" prop="dictType">
|
| | | <el-select v-model="queryParams.dictType" size="small">
|
| | | <el-option
|
| | |
| | | }).then(() => {
|
| | | this.getList();
|
| | | this.msgSuccess("删除成功");
|
| | | })
|
| | | }).catch(() => {});
|
| | | },
|
| | | /** 导出按钮操作 */
|
| | | handleExport() {
|
| | |
| | | }).then(() => {
|
| | | this.getList();
|
| | | this.msgSuccess("删除成功");
|
| | | })
|
| | | }).catch(() => {});
|
| | | },
|
| | | /** 导出按钮操作 */
|
| | | handleExport() {
|
| | |
| | | }).then(() => {
|
| | | this.getList();
|
| | | this.msgSuccess("删除成功");
|
| | | })
|
| | | }).catch(() => {});
|
| | | },
|
| | | /** 清空按钮操作 */
|
| | | handleClean() {
|
| | |
| | | }).then(() => {
|
| | | this.getList();
|
| | | this.msgSuccess("清空成功");
|
| | | })
|
| | | }).catch(() => {});
|
| | | },
|
| | | /** 导出按钮操作 */
|
| | | handleExport() {
|
| | |
| | | }).then(() => {
|
| | | this.getList();
|
| | | this.msgSuccess("删除成功");
|
| | | })
|
| | | }).catch(() => {});
|
| | | }
|
| | | }
|
| | | };
|
| | |
| | | { required: true, message: "公告标题不能为空", trigger: "blur" }
|
| | | ],
|
| | | noticeType: [
|
| | | { required: true, message: "公告类型不能为空", trigger: "blur" }
|
| | | { required: true, message: "公告类型不能为空", trigger: "change" }
|
| | | ]
|
| | | }
|
| | | };
|
| | |
| | | }).then(() => {
|
| | | this.getList();
|
| | | this.msgSuccess("删除成功");
|
| | | })
|
| | | }).catch(() => {});
|
| | | }
|
| | | }
|
| | | };
|
| | |
| | | icon="el-icon-download"
|
| | | size="mini"
|
| | | @click="handleExport"
|
| | | v-hasPermi="['system:config:export']"
|
| | | v-hasPermi="['system:operlog:export']"
|
| | | >导出</el-button>
|
| | | </el-col>
|
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
| | |
| | | }).then(() => {
|
| | | this.getList();
|
| | | this.msgSuccess("删除成功");
|
| | | })
|
| | | }).catch(() => {});
|
| | | },
|
| | | /** 清空按钮操作 */
|
| | | handleClean() {
|
| | |
| | | }).then(() => {
|
| | | this.getList();
|
| | | this.msgSuccess("清空成功");
|
| | | })
|
| | | }).catch(() => {});
|
| | | },
|
| | | /** 导出按钮操作 */
|
| | | handleExport() {
|
| | |
| | | }).then(() => {
|
| | | this.getList();
|
| | | this.msgSuccess("删除成功");
|
| | | })
|
| | | }).catch(() => {});
|
| | | },
|
| | | /** 导出按钮操作 */
|
| | | handleExport() {
|
| | |
| | | }).then(() => {
|
| | | this.getList();
|
| | | this.msgSuccess("删除成功");
|
| | | })
|
| | | }).catch(() => {});
|
| | | },
|
| | | /** 导出按钮操作 */
|
| | | handleExport() {
|
| | |
| | | }).then(() => {
|
| | | this.getList();
|
| | | this.msgSuccess("删除成功");
|
| | | })
|
| | | }).catch(() => {});
|
| | | },
|
| | | /** 导出按钮操作 */
|
| | | handleExport() {
|
| | |
| | | return synchDb(tableName); |
| | | }).then(() => { |
| | | this.msgSuccess("同步成功"); |
| | | }) |
| | | }).catch(() => {}); |
| | | }, |
| | | /** 打开导入表弹窗 */ |
| | | openImportTable() { |
| | |
| | | }).then(() => { |
| | | this.getList(); |
| | | this.msgSuccess("删除成功"); |
| | | }) |
| | | }).catch(() => {}); |
| | | } |
| | | } |
| | | }; |