| | |
| | | {
|
| | | private Mono<Void> writeResponse(ServerResponse response, ServerWebExchange exchange)
|
| | | {
|
| | | return ServletUtils.webFluxResponseWriter(exchange.getResponse(), "请求超过最大数,请稍后再试");
|
| | | return ServletUtils.webFluxResponseWriter(exchange.getResponse(), "请求超过最大数,请稍候再试");
|
| | | }
|
| | |
|
| | | @Override
|
| | |
| | | this.sideTheme = val;
|
| | | },
|
| | | saveSetting() {
|
| | | this.$modal.loading("正在保存到本地,请稍后...");
|
| | | this.$modal.loading("正在保存到本地,请稍候...");
|
| | | this.$cache.local.set(
|
| | | "layout-setting",
|
| | | `{
|
| | |
| | | setTimeout(this.$modal.closeLoading(), 1000)
|
| | | },
|
| | | resetSetting() {
|
| | | this.$modal.loading("正在清除设置缓存并刷新,请稍后...");
|
| | | this.$modal.loading("正在清除设置缓存并刷新,请稍候...");
|
| | | this.$cache.local.remove("layout-setting")
|
| | | setTimeout("window.location.reload()", 1000)
|
| | | }
|
| | |
| | |
|
| | | // 通用下载方法
|
| | | export function download(url, params, filename) {
|
| | | downloadLoadingInstance = Loading.service({ text: "正在下载数据,请稍后", spinner: "el-icon-loading", background: "rgba(0, 0, 0, 0.7)", })
|
| | | downloadLoadingInstance = Loading.service({ text: "正在下载数据,请稍候", spinner: "el-icon-loading", background: "rgba(0, 0, 0, 0.7)", })
|
| | | return service.post(url, params, {
|
| | | transformRequest: [(params) => { return tansParams(params) }],
|
| | | headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
| | |
| | | ref="menu"
|
| | | node-key="id"
|
| | | :check-strictly="!form.menuCheckStrictly"
|
| | | empty-text="加载中,请稍后"
|
| | | empty-text="加载中,请稍候"
|
| | | :props="defaultProps"
|
| | | ></el-tree>
|
| | | </el-form-item>
|
| | |
| | | ref="dept"
|
| | | node-key="id"
|
| | | :check-strictly="!form.deptCheckStrictly"
|
| | | empty-text="加载中,请稍后"
|
| | | empty-text="加载中,请稍候"
|
| | | :props="defaultProps"
|
| | | ></el-tree>
|
| | | </el-form-item>
|