@jeecg/online
Advanced tools
Comparing version 3.4.3-beta to 3.4.3
@@ -28,5 +28,4 @@ var __async = (__this, __arguments, generator) => { | ||
import "/@/utils/http/axios"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "/@/hooks/web/useMessage"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
import "./_arrayPush.js"; | ||
@@ -33,0 +32,0 @@ import "./isArray.js"; |
@@ -27,4 +27,3 @@ var __async = (__this, __arguments, generator) => { | ||
import "/@/utils/http/axios"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
var AuthButtonTree_vue_vue_type_style_index_0_scoped_true_lang = ""; | ||
@@ -31,0 +30,0 @@ const _sfc_main = defineComponent({ |
@@ -48,5 +48,4 @@ var __defProp = Object.defineProperty; | ||
import "/@/utils/http/axios"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "/@/hooks/web/useMessage"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
const _sfc_main = defineComponent({ | ||
@@ -53,0 +52,0 @@ name: "AuthDataConfig", |
@@ -26,4 +26,3 @@ var __async = (__this, __arguments, generator) => { | ||
import "/@/utils/http/axios"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
var AuthDataTree_vue_vue_type_style_index_0_scoped_true_lang = ""; | ||
@@ -30,0 +29,0 @@ const _sfc_main = defineComponent({ |
@@ -27,5 +27,4 @@ var __async = (__this, __arguments, generator) => { | ||
import "/@/utils/http/axios"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "/@/hooks/web/useMessage"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
var AuthFieldConfig_vue_vue_type_style_index_0_scoped_true_lang = ""; | ||
@@ -32,0 +31,0 @@ const _sfc_main = defineComponent({ |
@@ -27,4 +27,3 @@ var __async = (__this, __arguments, generator) => { | ||
import "/@/utils/http/axios"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
var AuthFieldTree_vue_vue_type_style_index_0_scoped_true_lang = ""; | ||
@@ -31,0 +30,0 @@ const _sfc_main = defineComponent({ |
@@ -16,5 +16,4 @@ import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementBlock, Fragment, createCommentVNode } from "vue"; | ||
import "/@/components/Form"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "/@/hooks/web/useMessage"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
const _sfc_main = defineComponent({ | ||
@@ -21,0 +20,0 @@ name: "AuthManagerDrawer", |
@@ -57,4 +57,3 @@ var __defProp = Object.defineProperty; | ||
import "./auth.data.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
const _sfc_main = defineComponent({ | ||
@@ -61,0 +60,0 @@ name: "AuthSetterModal", |
@@ -59,3 +59,2 @@ import { defineComponent, provide, watch, resolveComponent, openBlock, createElementBlock, Fragment, createElementVNode, normalizeClass, createVNode, withCtx, createTextVNode, createCommentVNode } from "vue"; | ||
import "/@/components/Form/src/componentMap"; | ||
import "./OnlineSelectCascade.js"; | ||
import "/@/store/modules/permission"; | ||
@@ -94,3 +93,2 @@ import "/@/utils/propTypes"; | ||
import "/@/hooks/web/useCopyModal"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
const _sfc_main = defineComponent({ | ||
@@ -97,0 +95,0 @@ name: "CgformCopyList", |
@@ -36,4 +36,4 @@ var __defProp = Object.defineProperty; | ||
import "./_arrayPush.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "vue-router"; | ||
import "/@/utils/http/axios"; | ||
import "@vueuse/core"; | ||
var CheckDictTable_vue_vue_type_style_index_0_scoped_true_lang = ""; | ||
@@ -241,3 +241,3 @@ const _sfc_main = defineComponent({ | ||
} | ||
var CheckDictTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-074f2007"]]); | ||
var CheckDictTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-8470723a"]]); | ||
export { CheckDictTable as default }; |
@@ -31,4 +31,3 @@ var __async = (__this, __arguments, generator) => { | ||
import "ant-design-vue"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
const _sfc_main = { | ||
@@ -35,0 +34,0 @@ name: "CodeFileListModal", |
@@ -28,5 +28,4 @@ var __async = (__this, __arguments, generator) => { | ||
import { _ as _export_sfc } from "./index.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "/@/hooks/web/useMessage"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
const _sfc_main = defineComponent({ | ||
@@ -33,0 +32,0 @@ name: "CodeFileViewModal", |
@@ -38,4 +38,3 @@ var __async = (__this, __arguments, generator) => { | ||
import "/@/utils/file/download"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
const _sfc_main = defineComponent({ | ||
@@ -42,0 +41,0 @@ name: "CodeGenerator", |
@@ -45,5 +45,4 @@ var __defProp = Object.defineProperty; | ||
import { _ as _export_sfc } from "./index.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "/@/hooks/web/useMessage"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
const list = (code, params) => defHttp.get({ url: "/online/cgform/button/list/" + code, params }); | ||
@@ -50,0 +49,0 @@ function doBatchDelete(idList) { |
@@ -33,5 +33,5 @@ var __defProp = Object.defineProperty; | ||
import "./_arrayPush.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "/@/utils/http/axios"; | ||
import "/@/hooks/web/useMessage"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
const MySQLKeywords = [ | ||
@@ -38,0 +38,0 @@ "ADD", |
@@ -8,4 +8,3 @@ import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createTextVNode, createElementVNode } from "vue"; | ||
import { _ as _export_sfc } from "./index.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
const _sfc_main = defineComponent({ | ||
@@ -12,0 +11,0 @@ name: "TransDb2Online", |
@@ -59,5 +59,2 @@ var __defProp = Object.defineProperty; | ||
import "/@/components/Form/src/componentMap"; | ||
import "./OnlineSelectCascade.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "vue-router"; | ||
import "/@/store/modules/permission"; | ||
@@ -73,3 +70,5 @@ import "/@/components/Modal"; | ||
import "/@/hooks/system/useListPage"; | ||
import "vue-router"; | ||
import "./LinkTableListPiece.js"; | ||
import "@vueuse/core"; | ||
import "/@/components/Loading"; | ||
@@ -79,3 +78,2 @@ import "/@/utils/auth"; | ||
import "ant-design-vue"; | ||
import "@vueuse/core"; | ||
function useDetailForm(props) { | ||
@@ -499,5 +497,7 @@ console.log(props); | ||
const _hoisted_17 = { class: "ant-upload-list-item-info" }; | ||
const _hoisted_18 = ["href"]; | ||
const _hoisted_19 = { class: "ant-upload-list-item-card-actions" }; | ||
const _hoisted_20 = { | ||
const _hoisted_18 = { class: "ant-upload-span" }; | ||
const _hoisted_19 = { class: "ant-upload-text-icon" }; | ||
const _hoisted_20 = ["href"]; | ||
const _hoisted_21 = { class: "ant-upload-list-item-card-actions" }; | ||
const _hoisted_22 = { | ||
key: 4, | ||
@@ -577,4 +577,6 @@ class: "item-content" | ||
createElementVNode("div", _hoisted_17, [ | ||
createElementVNode("span", null, [ | ||
createVNode(_component_paper_clip_outlined), | ||
createElementVNode("span", _hoisted_18, [ | ||
createElementVNode("div", _hoisted_19, [ | ||
createVNode(_component_paper_clip_outlined) | ||
]), | ||
createElementVNode("a", { | ||
@@ -584,5 +586,5 @@ href: url, | ||
rel: "noopener noreferrer", | ||
class: "ant-upload-list-item-name ant-upload-list-item-name-icon-count-1" | ||
}, toDisplayString(_ctx.getFilename(url)), 9, _hoisted_18), | ||
createElementVNode("span", _hoisted_19, [ | ||
class: "ant-upload-list-item-name" | ||
}, toDisplayString(_ctx.getFilename(url)), 9, _hoisted_20), | ||
createElementVNode("span", _hoisted_21, [ | ||
createVNode(_component_download_outlined, { | ||
@@ -599,3 +601,3 @@ onClick: ($event) => _ctx.handleDownloadFile(url) | ||
]) | ||
])) : (openBlock(), createElementBlock("div", _hoisted_20, toDisplayString(_ctx.detailFormData[item.field]), 1)) | ||
])) : (openBlock(), createElementBlock("div", _hoisted_22, toDisplayString(_ctx.detailFormData[item.field]), 1)) | ||
]) | ||
@@ -611,3 +613,3 @@ ]), | ||
} | ||
var DetailForm = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-3491a563"]]); | ||
var DetailForm = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-47915cc7"]]); | ||
export { DetailForm as default }; |
@@ -52,5 +52,4 @@ var __defProp = Object.defineProperty; | ||
import "/@/utils/is"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "/@/hooks/web/useMessage"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
const _sfc_main = defineComponent({ | ||
@@ -57,0 +56,0 @@ name: "EnhanceJavaModal", |
@@ -35,4 +35,3 @@ var __async = (__this, __arguments, generator) => { | ||
import "/@/utils/is"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
const _sfc_main = defineComponent({ | ||
@@ -128,2 +127,9 @@ name: "EnhanceJs", | ||
} | ||
setTimeout(() => { | ||
if (type == "list") { | ||
listEditorRef.value.refresh(); | ||
} else { | ||
formEditorRef.value.refresh(); | ||
} | ||
}, 150); | ||
}); | ||
@@ -130,0 +136,0 @@ } |
@@ -52,5 +52,4 @@ var __defProp = Object.defineProperty; | ||
import "/@/utils/is"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "/@/hooks/web/useMessage"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
const _sfc_main = defineComponent({ | ||
@@ -57,0 +56,0 @@ name: "EnhanceSqlModal", |
@@ -32,4 +32,4 @@ var __async = (__this, __arguments, generator) => { | ||
import "/@/utils/helper/validator"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "vue-router"; | ||
import "/@/utils/http/axios"; | ||
import "@vueuse/core"; | ||
var ExtendConfigModal_vue_vue_type_style_index_0_scoped_true_lang = ""; | ||
@@ -36,0 +36,0 @@ const _sfc_main = defineComponent({ |
@@ -25,5 +25,4 @@ var __async = (__this, __arguments, generator) => { | ||
import { _ as _export_sfc } from "./index.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "/@/hooks/web/useMessage"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
const _sfc_main = defineComponent({ | ||
@@ -30,0 +29,0 @@ name: "FileSelectModal", |
@@ -33,5 +33,5 @@ var __defProp = Object.defineProperty; | ||
import "./_arrayPush.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "/@/utils/http/axios"; | ||
import "/@/hooks/web/useMessage"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
const _sfc_main = defineComponent({ | ||
@@ -38,0 +38,0 @@ name: "ForeignKeyTable", |
376
index.js
@@ -0,6 +1,26 @@ | ||
var __async = (__this, __arguments, generator) => { | ||
return new Promise((resolve, reject) => { | ||
var fulfilled = (value) => { | ||
try { | ||
step(generator.next(value)); | ||
} catch (e) { | ||
reject(e); | ||
} | ||
}; | ||
var rejected = (value) => { | ||
try { | ||
step(generator.throw(value)); | ||
} catch (e) { | ||
reject(e); | ||
} | ||
}; | ||
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected); | ||
step((generator = generator.apply(__this, __arguments)).next()); | ||
}); | ||
}; | ||
const import_meta = {}; | ||
import JPopupOnlReport from "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import { defineComponent, resolveComponent, openBlock, createElementBlock, createVNode } from "vue"; | ||
import { defineComponent, ref, watch, resolveComponent, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString, createTextVNode, defineAsyncComponent } from "vue"; | ||
import { defHttp } from "/@/utils/http/axios"; | ||
import { useMessage } from "/@/hooks/web/useMessage"; | ||
import { useRoute } from "vue-router"; | ||
import { useDebounceFn } from "@vueuse/core"; | ||
var _export_sfc = (sfc, props) => { | ||
@@ -13,31 +33,317 @@ const target = sfc.__vccOpts || sfc; | ||
}; | ||
const _sfc_main = defineComponent({ | ||
name: "OnlCgReportList", | ||
components: { | ||
JPopupOnlReport | ||
const SELECT_OPTIONS_URL = "/online/cgform/api/querySelectOptions"; | ||
const _sfc_main$1 = defineComponent({ | ||
name: "OnlineSelectCascade", | ||
props: { | ||
table: { type: String, default: "" }, | ||
txt: { type: String, default: "" }, | ||
store: { type: String, default: "" }, | ||
idField: { type: String, default: "" }, | ||
pidField: { type: String, default: "" }, | ||
pidValue: { type: String, default: "-1" }, | ||
origin: { type: Boolean, default: false }, | ||
condition: { type: String, default: "" }, | ||
value: { type: String, default: "" }, | ||
isNumber: { type: Boolean, default: false }, | ||
placeholder: { type: String, default: "\u8BF7\u9009\u62E9" } | ||
}, | ||
setup(props, { emit, refs }) { | ||
useMessage(); | ||
const route = useRoute(); | ||
const path = route.path; | ||
const id = path.substr(path.lastIndexOf("/") + 1); | ||
emits: ["change", "next"], | ||
setup(props, { emit }) { | ||
const { createMessage: $message2 } = useMessage(); | ||
const selectedValue = ref(""); | ||
const dictOptions = ref([]); | ||
const optionsLoad = ref(true); | ||
function handleChange(value) { | ||
console.log("handleChange", value); | ||
let temp = value || ""; | ||
emit("change", temp); | ||
valueChangeThenEmitNext(temp); | ||
} | ||
watch( | ||
() => props.condition, | ||
(val) => { | ||
optionsLoad.value = true; | ||
if (val) { | ||
loadOptions(); | ||
} | ||
}, | ||
{ immediate: true } | ||
); | ||
watch( | ||
() => props.pidValue, | ||
(val) => { | ||
if (val === "-1") { | ||
dictOptions.value = []; | ||
} else { | ||
loadOptions(); | ||
} | ||
} | ||
); | ||
watch( | ||
() => props.value, | ||
(newVal, oldVal) => { | ||
console.log("\u503C\u6539\u53D8\u4E8B\u4EF6", newVal, oldVal); | ||
if (!newVal) { | ||
selectedValue.value = []; | ||
if (oldVal) { | ||
emit("change", ""); | ||
emit("next", "-1"); | ||
} | ||
} else { | ||
selectedValue.value = newVal; | ||
} | ||
if (newVal && !oldVal) { | ||
handleFirstValueSetting(newVal); | ||
} | ||
}, | ||
{ immediate: true } | ||
); | ||
function handleFirstValueSetting(value) { | ||
return __async(this, null, function* () { | ||
if (props.idField === props.store) { | ||
emit("next", value); | ||
} else { | ||
if (props.origin === true) { | ||
yield getSelfOptions(); | ||
valueChangeThenEmitNext(value); | ||
} else { | ||
let arr = yield loadValueText(); | ||
valueChangeThenEmitNext(value, arr); | ||
} | ||
} | ||
}); | ||
} | ||
function loadOptions() { | ||
let params = getQueryParams(); | ||
if (props.origin === true) { | ||
params["condition"] = props.condition; | ||
} else { | ||
params["pidValue"] = props.pidValue; | ||
} | ||
console.log("\u8BF7\u6C42\u53C2\u6570", params); | ||
dictOptions.value = []; | ||
defHttp.get({ url: SELECT_OPTIONS_URL, params }, { isTransformResponse: false }).then((res) => { | ||
if (res.success) { | ||
dictOptions.value = [...res.result]; | ||
console.log("\u8BF7\u6C42\u7ED3\u679C", res.result, dictOptions); | ||
} else { | ||
$message2.warning("\u8054\u52A8\u7EC4\u4EF6\u6570\u636E\u52A0\u8F7D\u5931\u8D25,\u8BF7\u68C0\u67E5\u914D\u7F6E!"); | ||
} | ||
}); | ||
} | ||
function getQueryParams() { | ||
let params = { | ||
table: props.table, | ||
txt: props.txt, | ||
key: props.store, | ||
idField: props.idField, | ||
pidField: props.pidField | ||
}; | ||
return params; | ||
} | ||
function loadValueText() { | ||
return new Promise((resolve) => { | ||
if (!props.value) { | ||
selectedValue.value = []; | ||
resolve([]); | ||
} else { | ||
let params = getQueryParams(); | ||
if (props.isNumber === true) { | ||
params["condition"] = `${props.store} = ${props.value}`; | ||
} else { | ||
params["condition"] = `${props.store} = '${props.value}'`; | ||
} | ||
defHttp.get({ url: SELECT_OPTIONS_URL, params }, { isTransformResponse: false }).then((res) => { | ||
if (res.success) { | ||
resolve(res.result); | ||
} else { | ||
$message2.warning("\u8054\u52A8\u7EC4\u4EF6\u6570\u636E\u52A0\u8F7D\u5931\u8D25,\u8BF7\u68C0\u67E5\u914D\u7F6E!"); | ||
resolve([]); | ||
} | ||
}); | ||
} | ||
}); | ||
} | ||
function getSelfOptions() { | ||
return new Promise((resolve) => { | ||
let index2 = 0; | ||
(function next(index22) { | ||
if (index22 > 10) { | ||
resolve([]); | ||
} | ||
let arr = dictOptions.value; | ||
if (arr && arr.length > 0) { | ||
resolve(arr); | ||
} else { | ||
setTimeout(() => { | ||
next(index22++); | ||
}, 300); | ||
} | ||
})(index2); | ||
}); | ||
} | ||
function valueChangeThenEmitNext(value, arr = []) { | ||
if (value && value.length > 0) { | ||
if (!arr || arr.length == 0) { | ||
arr = dictOptions.value; | ||
} | ||
let selected = arr.filter((item) => item.store === value); | ||
if (selected && selected.length > 0) { | ||
let id = selected[0].id; | ||
emit("next", id); | ||
} | ||
} | ||
} | ||
return { | ||
id | ||
selectedValue, | ||
dictOptions, | ||
handleChange | ||
}; | ||
} | ||
}); | ||
const _hoisted_1 = { class: "p-2" }; | ||
const _hoisted_1 = ["title"]; | ||
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) { | ||
const _component_a_select_option = resolveComponent("a-select-option"); | ||
const _component_a_select = resolveComponent("a-select"); | ||
return openBlock(), createBlock(_component_a_select, { | ||
placeholder: _ctx.placeholder, | ||
value: _ctx.selectedValue, | ||
onChange: _ctx.handleChange, | ||
allowClear: "", | ||
style: { "width": "100%" } | ||
}, { | ||
default: withCtx(() => [ | ||
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.dictOptions, (item, index2) => { | ||
return openBlock(), createBlock(_component_a_select_option, { | ||
key: index2, | ||
value: item.store | ||
}, { | ||
default: withCtx(() => [ | ||
createElementVNode("span", { | ||
style: { "display": "inline-block", "width": "100%" }, | ||
title: item.label | ||
}, toDisplayString(item.label), 9, _hoisted_1) | ||
]), | ||
_: 2 | ||
}, 1032, ["value"]); | ||
}), 128)) | ||
]), | ||
_: 1 | ||
}, 8, ["placeholder", "value", "onChange"]); | ||
} | ||
var OnlineSelectCascade = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]); | ||
var OnlineSelectCascade$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ | ||
__proto__: null, | ||
"default": OnlineSelectCascade | ||
}, Symbol.toStringTag, { value: "Module" })); | ||
const { createMessage: $message } = useMessage(); | ||
const _sfc_main = { | ||
name: "JOnlineSearchSelect", | ||
props: { | ||
placeholder: { | ||
type: String, | ||
default: "", | ||
required: false | ||
}, | ||
value: { | ||
type: String, | ||
required: false | ||
}, | ||
sql: { | ||
type: String, | ||
required: true | ||
} | ||
}, | ||
emits: ["update:value"], | ||
setup(props, { emit }) { | ||
let selected = ref(""); | ||
let selectOptions = ref([]); | ||
watch( | ||
() => props.value, | ||
(newVal) => { | ||
if (!newVal) { | ||
selected.value = void 0; | ||
} else { | ||
selected.value = newVal; | ||
} | ||
}, | ||
{ immediate: true } | ||
); | ||
watch( | ||
() => props.sql, | ||
() => { | ||
resetOptions(); | ||
}, | ||
{ immediate: true } | ||
); | ||
const handleSearch = useDebounceFn(searchByKeyword, 800); | ||
function searchByKeyword(keyword = "") { | ||
let params = { | ||
keyword | ||
}; | ||
let url = "/online/cgreport/api/getReportDictList?sql=" + props.sql; | ||
defHttp.get({ url, params }, { isTransformResponse: false }).then((res) => { | ||
if (res.success) { | ||
if (res.result && res.result.length > 0) { | ||
selectOptions.value = res.result; | ||
} else { | ||
selectOptions.value = []; | ||
} | ||
} else { | ||
$message.warning(res.message); | ||
} | ||
}); | ||
} | ||
function handleChange(value) { | ||
emit("update:value", value); | ||
if (!value || value == "") { | ||
resetOptions(); | ||
} | ||
} | ||
function resetOptions() { | ||
selectOptions.value = []; | ||
searchByKeyword(); | ||
} | ||
return { | ||
selectOptions, | ||
handleSearch, | ||
handleChange, | ||
selected | ||
}; | ||
} | ||
}; | ||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { | ||
const _component_JPopupOnlReport = resolveComponent("JPopupOnlReport"); | ||
return openBlock(), createElementBlock("div", _hoisted_1, [ | ||
createVNode(_component_JPopupOnlReport, { | ||
id: _ctx.id, | ||
clickToRowSelect: false | ||
}, null, 8, ["id"]) | ||
]); | ||
const _component_a_select_option = resolveComponent("a-select-option"); | ||
const _component_a_select = resolveComponent("a-select"); | ||
return openBlock(), createBlock(_component_a_select, { | ||
value: $setup.selected, | ||
placeholder: $props.placeholder, | ||
"show-search": "", | ||
"default-active-first-option": false, | ||
"show-arrow": true, | ||
"filter-option": false, | ||
"not-found-content": null, | ||
onSearch: $setup.handleSearch, | ||
onChange: $setup.handleChange, | ||
allowClear: "" | ||
}, { | ||
default: withCtx(() => [ | ||
(openBlock(true), createElementBlock(Fragment, null, renderList($setup.selectOptions, (d) => { | ||
return openBlock(), createBlock(_component_a_select_option, { | ||
key: d.value | ||
}, { | ||
default: withCtx(() => [ | ||
createTextVNode(toDisplayString(d.text), 1) | ||
]), | ||
_: 2 | ||
}, 1024); | ||
}), 128)) | ||
]), | ||
_: 1 | ||
}, 8, ["value", "placeholder", "onSearch", "onChange"]); | ||
} | ||
var OnlCgReportList = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]); | ||
var OnlCgReportList$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ | ||
var JOnlineSearchSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]); | ||
var JOnlineSearchSelect$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ | ||
__proto__: null, | ||
"default": OnlCgReportList | ||
"default": JOnlineSearchSelect | ||
}, Symbol.toStringTag, { value: "Module" })); | ||
@@ -48,3 +354,3 @@ console.log("node_modules import.meta: ", import_meta); | ||
app.provide("baseImport", options.baseImport); | ||
app.component("OnlCgReportList", OnlCgReportList); | ||
app.component("JOnlineSearchSelect", JOnlineSearchSelect); | ||
console.log("--- online init ----"); | ||
@@ -55,7 +361,7 @@ }, | ||
return n.f; | ||
}), "./src/views/super/online/cgform/components/CodeFileListModal.vue": () => import("./CodeFileListModal.js"), "./src/views/super/online/cgform/components/CodeFileViewModal.vue": () => import("./CodeFileViewModal.js"), "./src/views/super/online/cgform/components/CodeGeneratorModal.vue": () => import("./CodeGeneratorModal.js"), "./src/views/super/online/cgform/components/DbToOnlineModal.vue": () => import("./DbToOnlineModal.js"), "./src/views/super/online/cgform/components/ExtendConfigModal.vue": () => import("./ExtendConfigModal.js"), "./src/views/super/online/cgform/components/FileSelectModal.vue": () => import("./FileSelectModal.js"), "./src/views/super/online/cgreport/auto/OnlCgReportList.vue": () => Promise.resolve().then(function() { | ||
return OnlCgReportList$1; | ||
}), "./src/views/super/online/cgreport/components/CgreportModal.vue": () => import("./CgreportModal.js").then(function(n) { | ||
}), "./src/views/super/online/cgform/components/CodeFileListModal.vue": () => import("./CodeFileListModal.js"), "./src/views/super/online/cgform/components/CodeFileViewModal.vue": () => import("./CodeFileViewModal.js"), "./src/views/super/online/cgform/components/CodeGeneratorModal.vue": () => import("./CodeGeneratorModal.js"), "./src/views/super/online/cgform/components/DbToOnlineModal.vue": () => import("./DbToOnlineModal.js"), "./src/views/super/online/cgform/components/ExtendConfigModal.vue": () => import("./ExtendConfigModal.js"), "./src/views/super/online/cgform/components/FileSelectModal.vue": () => import("./FileSelectModal.js"), "./src/views/super/online/cgreport/auto/OnlCgReportList.vue": () => import("./OnlCgReportList.js"), "./src/views/super/online/cgreport/components/CgreportModal.vue": () => import("./CgreportModal.js").then(function(n) { | ||
return n.C; | ||
}), "./src/views/super/online/cgreport/demo/ModalFormDemo.vue": () => import("./ModalFormDemo.js"), "./src/views/super/online/cgform/auto/comp/JOnlineSearchSelect.vue": () => import("./JOnlineSearchSelect.js"), "./src/views/super/online/cgform/auto/comp/OnlineForm.vue": () => import("./OnlineForm.js"), "./src/views/super/online/cgform/auto/comp/OnlineFormDetail.vue": () => import("./OnlineFormDetail.js"), "./src/views/super/online/cgform/auto/comp/OnlinePopForm.vue": () => import("./useAutoForm.js").then(function(n) { | ||
}), "./src/views/super/online/cgreport/demo/ModalFormDemo.vue": () => import("./ModalFormDemo.js"), "./src/views/super/online/cgform/auto/comp/JOnlineSearchSelect.vue": () => Promise.resolve().then(function() { | ||
return JOnlineSearchSelect$1; | ||
}), "./src/views/super/online/cgform/auto/comp/OnlineForm.vue": () => import("./OnlineForm.js"), "./src/views/super/online/cgform/auto/comp/OnlineFormDetail.vue": () => import("./OnlineFormDetail.js"), "./src/views/super/online/cgform/auto/comp/OnlinePopForm.vue": () => import("./useAutoForm.js").then(function(n) { | ||
return n.n; | ||
@@ -66,3 +372,5 @@ }), "./src/views/super/online/cgform/auto/comp/OnlinePopListModal.vue": () => import("./useAutoForm.js").then(function(n) { | ||
return n.o; | ||
}), "./src/views/super/online/cgform/auto/comp/OnlineQueryForm.vue": () => import("./OnlineQueryForm.js"), "./src/views/super/online/cgform/auto/comp/OnlineSearchFormItem.vue": () => import("./OnlineSearchFormItem.js"), "./src/views/super/online/cgform/auto/comp/OnlineSelectCascade.vue": () => import("./OnlineSelectCascade.js"), "./src/views/super/online/cgform/auto/comp/OnlineSubForm.vue": () => import("./useAutoForm.js").then(function(n) { | ||
}), "./src/views/super/online/cgform/auto/comp/OnlineQueryForm.vue": () => import("./OnlineQueryForm.js"), "./src/views/super/online/cgform/auto/comp/OnlineSearchFormItem.vue": () => import("./OnlineSearchFormItem.js"), "./src/views/super/online/cgform/auto/comp/OnlineSelectCascade.vue": () => Promise.resolve().then(function() { | ||
return OnlineSelectCascade$1; | ||
}), "./src/views/super/online/cgform/auto/comp/OnlineSubForm.vue": () => import("./useAutoForm.js").then(function(n) { | ||
return n.m; | ||
@@ -78,2 +386,8 @@ }), "./src/views/super/online/cgform/auto/comp/OnlineSubFormDetail.vue": () => import("./OnlineSubFormDetail.js"), "./src/views/super/online/cgform/auto/comp/OnlineSuperQuery.vue": () => import("./OnlineSuperQuery.js"), "./src/views/super/online/cgform/auto/comp/OnlineSuperQueryValComponent.vue": () => import("./OnlineSuperQueryValComponent.js"), "./src/views/super/online/cgform/auto/comp/ProcessOnlineForm.vue": () => import("./ProcessOnlineForm.js"), "./src/views/super/online/cgform/auto/default/OnlineAutoList.vue": () => import("./OnlineAutoList.js"), "./src/views/super/online/cgform/auto/default/OnlineAutoModal.vue": () => import("./OnlineAutoModal.js"), "./src/views/super/online/cgform/auto/default/OnlineCustomModal.vue": () => import("./OnlineCustomModal.js"), "./src/views/super/online/cgform/auto/default/OnlineDetailModal.vue": () => import("./OnlineDetailModal.js"), "./src/views/super/online/cgform/auto/tree/OnlineAutoTreeList.vue": () => import("./OnlineAutoTreeList.js"), "./src/views/super/online/cgform/components/auth/AuthManagerDrawer.vue": () => import("./AuthManagerDrawer.js"), "./src/views/super/online/cgform/components/auth/AuthSetterModal.vue": () => import("./AuthSetterModal.js"), "./src/views/super/online/cgform/components/button/CustomButtonList.vue": () => import("./CustomButtonList.js"), "./src/views/super/online/cgform/components/enhance/EnhanceJavaModal.vue": () => import("./EnhanceJavaModal.js"), "./src/views/super/online/cgform/components/enhance/EnhanceJsHistory.vue": () => import("./EnhanceJsHistory.js").then(function(n) { | ||
}; | ||
export { _export_sfc as _, index as i }; | ||
const LinkTableCard = defineAsyncComponent(() => import("./useAutoForm.js").then(function(n) { | ||
return n.r; | ||
})); | ||
const LinkTableSelect = defineAsyncComponent(() => import("./useAutoForm.js").then(function(n) { | ||
return n.p; | ||
})); | ||
export { JOnlineSearchSelect as J, LinkTableCard as L, OnlineSelectCascade as O, _export_sfc as _, LinkTableSelect as a, index as i }; |
@@ -35,7 +35,6 @@ import { defineComponent, resolveComponent, openBlock, createElementBlock, Fragment, createElementVNode, normalizeClass, createVNode, mergeProps, withCtx, createTextVNode, createBlock, createCommentVNode } from "vue"; | ||
import "/@/utils/uuid"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "vue-router"; | ||
import "/@/utils/http/axios"; | ||
import "@vueuse/core"; | ||
import "./PageAttributeTable.js"; | ||
import "./LinkTableConfigModal.js"; | ||
import "/@/utils/http/axios"; | ||
import "./omit.js"; | ||
@@ -63,6 +62,6 @@ import "./_baseClone.js"; | ||
import "/@/components/Form/src/componentMap"; | ||
import "./OnlineSelectCascade.js"; | ||
import "/@/store/modules/permission"; | ||
import "/@/utils/propTypes"; | ||
import "/@/hooks/system/useListPage"; | ||
import "vue-router"; | ||
import "/@/components/Form/src/utils/Area"; | ||
@@ -74,3 +73,2 @@ import "/@/components/Preview/index"; | ||
import "./JModalTip.js"; | ||
import "@vueuse/core"; | ||
import "./CodeFileListModal.js"; | ||
@@ -77,0 +75,0 @@ import "./CodeFileViewModal.js"; |
@@ -14,5 +14,5 @@ import { defineComponent, ref, resolveComponent, openBlock, createBlock, mergeProps } from "vue"; | ||
import "./_arrayPush.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "/@/utils/http/axios"; | ||
import "/@/hooks/web/useMessage"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
const _sfc_main = defineComponent({ | ||
@@ -19,0 +19,0 @@ name: "IndexTable", |
import { computed, openBlock, createElementBlock, createElementVNode, createCommentVNode, pushScopeId, popScopeId } from "vue"; | ||
import { _ as _export_sfc } from "./index.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "/@/utils/http/axios"; | ||
import "/@/hooks/web/useMessage"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
var JModalTip_vue_vue_type_style_index_0_scoped_true_lang = ""; | ||
@@ -7,0 +7,0 @@ const _sfc_main = { |
@@ -24,5 +24,5 @@ var __async = (__this, __arguments, generator) => { | ||
import { _ as _export_sfc } from "./index.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "/@/utils/http/axios"; | ||
import "/@/hooks/web/useMessage"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
const _sfc_main = defineComponent({ | ||
@@ -29,0 +29,0 @@ name: "LeftDepart", |
@@ -26,5 +26,4 @@ var __async = (__this, __arguments, generator) => { | ||
import { _ as _export_sfc } from "./index.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "/@/hooks/web/useMessage"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
const _sfc_main = defineComponent({ | ||
@@ -31,0 +30,0 @@ name: "LeftRole", |
@@ -26,5 +26,4 @@ var __async = (__this, __arguments, generator) => { | ||
import { _ as _export_sfc } from "./index.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "/@/hooks/web/useMessage"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
const _sfc_main = defineComponent({ | ||
@@ -31,0 +30,0 @@ name: "LeftUser", |
@@ -43,5 +43,4 @@ var __defProp = Object.defineProperty; | ||
import { o as omit } from "./omit.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "/@/hooks/web/useMessage"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
import "./toString.js"; | ||
@@ -156,3 +155,3 @@ import "./isArray.js"; | ||
return { | ||
dict: "onl_cgform_head,table_txt,table_name", | ||
dict: "onl_cgform_head where copy_type = 0,table_txt,table_name", | ||
pageSize: 10, | ||
@@ -159,0 +158,0 @@ async: true, |
@@ -44,4 +44,3 @@ var __defProp = Object.defineProperty; | ||
import { o as omit } from "./omit.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
import "./toString.js"; | ||
@@ -48,0 +47,0 @@ import "./isArray.js"; |
import { propTypes } from "/@/utils/propTypes"; | ||
import { openBlock, createElementBlock, createElementVNode, toDisplayString } from "vue"; | ||
import { _ as _export_sfc } from "./index.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "/@/utils/http/axios"; | ||
import "/@/hooks/web/useMessage"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
var LinkTableListPiece_vue_vue_type_style_index_0_scoped_true_lang = ""; | ||
@@ -8,0 +8,0 @@ const _sfc_main = { |
@@ -1,6 +0,6 @@ | ||
export { i as default } from "./index.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "vue"; | ||
export { L as LinkTableCard, a as LinkTableSelect, O as OnlineSelectCascade, i as default } from "./index.js"; | ||
import "/@/utils/http/axios"; | ||
import "/@/hooks/web/useMessage"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
import "./style.css"; |
@@ -6,5 +6,4 @@ import { defineComponent, resolveComponent, openBlock, createElementBlock, createVNode } from "vue"; | ||
import { p as pick } from "./pick.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "/@/hooks/web/useMessage"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
import "./_flatRest.js"; | ||
@@ -11,0 +10,0 @@ import "./isArray.js"; |
@@ -59,5 +59,2 @@ var __async = (__this, __arguments, generator) => { | ||
import "/@/components/Form/src/componentMap"; | ||
import "./OnlineSelectCascade.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "vue-router"; | ||
import "/@/store/modules/permission"; | ||
@@ -68,8 +65,9 @@ import "/@/utils/propTypes"; | ||
import "/@/hooks/system/useListPage"; | ||
import "vue-router"; | ||
import "/@/components/Form/src/utils/Area"; | ||
import "/@/components/Preview/index"; | ||
import "./LinkTableListPiece.js"; | ||
import "@vueuse/core"; | ||
import "./JModalTip.js"; | ||
import "ant-design-vue"; | ||
import "@vueuse/core"; | ||
import "/@/components/jeecg/comment/CommentPanel.vue"; | ||
@@ -76,0 +74,0 @@ import "./OnlineFormDetail.js"; |
@@ -52,5 +52,2 @@ var __async = (__this, __arguments, generator) => { | ||
import "/@/components/Form/src/componentMap"; | ||
import "./OnlineSelectCascade.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "vue-router"; | ||
import "/@/store/modules/permission"; | ||
@@ -62,8 +59,9 @@ import "/@/utils/propTypes"; | ||
import "/@/hooks/system/useListPage"; | ||
import "vue-router"; | ||
import "/@/components/Form/src/utils/Area"; | ||
import "/@/components/Preview/index"; | ||
import "./LinkTableListPiece.js"; | ||
import "@vueuse/core"; | ||
import "./JModalTip.js"; | ||
import "ant-design-vue"; | ||
import "@vueuse/core"; | ||
const _sfc_main = defineComponent({ | ||
@@ -110,3 +108,4 @@ name: "OnlineModal", | ||
formDataId, | ||
enableComment | ||
enableComment, | ||
onCloseEvent | ||
} = useAutoModal(false, { emit }, reloadComment); | ||
@@ -116,2 +115,3 @@ function handleSuccess(formData) { | ||
closeModal(); | ||
onCloseEvent(); | ||
} | ||
@@ -148,3 +148,4 @@ watch(() => props.id, renderFormItems, { immediate: true }); | ||
enableComment, | ||
commentPanelRef | ||
commentPanelRef, | ||
onCloseEvent | ||
}; | ||
@@ -161,2 +162,3 @@ return that; | ||
title: _ctx.title, | ||
onCancel: _ctx.onCloseEvent, | ||
enableComment: _ctx.enableComment, | ||
@@ -225,5 +227,5 @@ width: _ctx.modalWidth | ||
_: 1 | ||
}, 16, ["title", "enableComment", "width", "onRegister", "onOk"]); | ||
}, 16, ["title", "onCancel", "enableComment", "width", "onRegister", "onOk"]); | ||
} | ||
var OnlineAutoModal = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]); | ||
export { OnlineAutoModal as default }; |
@@ -59,5 +59,2 @@ var __async = (__this, __arguments, generator) => { | ||
import "/@/components/Form/src/componentMap"; | ||
import "./OnlineSelectCascade.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "vue-router"; | ||
import "/@/store/modules/permission"; | ||
@@ -68,8 +65,9 @@ import "/@/utils/propTypes"; | ||
import "/@/hooks/system/useListPage"; | ||
import "vue-router"; | ||
import "/@/components/Form/src/utils/Area"; | ||
import "/@/components/Preview/index"; | ||
import "./LinkTableListPiece.js"; | ||
import "@vueuse/core"; | ||
import "./JModalTip.js"; | ||
import "ant-design-vue"; | ||
import "@vueuse/core"; | ||
import "/@/components/jeecg/comment/CommentPanel.vue"; | ||
@@ -76,0 +74,0 @@ import "./OnlineFormDetail.js"; |
@@ -35,9 +35,6 @@ var __async = (__this, __arguments, generator) => { | ||
import "/@/components/Form/src/componentMap"; | ||
import "./OnlineSelectCascade.js"; | ||
import "/@/hooks/web/useMessage"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "vue-router"; | ||
import "/@/store/modules/permission"; | ||
import "/@/utils/propTypes"; | ||
import "@ant-design/icons-vue"; | ||
import "/@/hooks/web/useMessage"; | ||
import "/@/components/Form/index"; | ||
@@ -53,5 +50,7 @@ import "/@/utils/dict/JDictSelectUtil"; | ||
import "/@/hooks/system/useListPage"; | ||
import "vue-router"; | ||
import "/@/components/Form/src/utils/Area"; | ||
import "/@/components/Preview/index"; | ||
import "./LinkTableListPiece.js"; | ||
import "@vueuse/core"; | ||
import "/@/components/Loading"; | ||
@@ -61,3 +60,2 @@ import "/@/utils/auth"; | ||
import "ant-design-vue"; | ||
import "@vueuse/core"; | ||
import "/@/components/jeecg/JVxeTable/types"; | ||
@@ -64,0 +62,0 @@ import "/@/hooks/core/useContext"; |
@@ -49,5 +49,2 @@ var __async = (__this, __arguments, generator) => { | ||
import "/@/components/Form/src/componentMap"; | ||
import "./OnlineSelectCascade.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "vue-router"; | ||
import "/@/store/modules/permission"; | ||
@@ -62,6 +59,7 @@ import "/@/components/Form/index"; | ||
import "/@/hooks/system/useListPage"; | ||
import "vue-router"; | ||
import "./LinkTableListPiece.js"; | ||
import "@vueuse/core"; | ||
import "./JModalTip.js"; | ||
import "ant-design-vue"; | ||
import "@vueuse/core"; | ||
import "./OnlineSubFormDetail.js"; | ||
@@ -68,0 +66,0 @@ const _sfc_main = defineComponent({ |
@@ -60,5 +60,2 @@ var __defProp = Object.defineProperty; | ||
import "/@/components/Form/src/componentMap"; | ||
import "./OnlineSelectCascade.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "vue-router"; | ||
import "/@/store/modules/permission"; | ||
@@ -70,8 +67,9 @@ import "/@/utils/propTypes"; | ||
import "/@/hooks/system/useListPage"; | ||
import "vue-router"; | ||
import "/@/components/Form/src/utils/Area"; | ||
import "/@/components/Preview/index"; | ||
import "./LinkTableListPiece.js"; | ||
import "@vueuse/core"; | ||
import "./JModalTip.js"; | ||
import "ant-design-vue"; | ||
import "@vueuse/core"; | ||
import "./_flatRest.js"; | ||
@@ -161,5 +159,3 @@ import "./isArray.js"; | ||
let { EnhanceJS, initCgEnhanceJs } = useEnhance(onlineFormContext, false); | ||
console.log("--------v3_hello-----------"); | ||
console.log("--formSchemas----------", formSchemas); | ||
tableName.value = "v3_hello"; | ||
const [registerForm, { setProps, validate, resetFields, setFieldsValue, updateSchema, getFieldsValue, scrollToField }] = useForm({ | ||
@@ -745,2 +741,17 @@ schemas: formSchemas, | ||
} | ||
function onCloseModal() { | ||
let arr = subTabInfo.value; | ||
if (arr && arr.length > 0) { | ||
for (let item of arr) { | ||
if (item.relationType == 1) | ||
; | ||
else { | ||
let inst = getSubTableInstance(item.key); | ||
if (inst) { | ||
inst.clearSelection(); | ||
} | ||
} | ||
} | ||
} | ||
} | ||
let context = { | ||
@@ -804,3 +815,4 @@ tableName, | ||
getPopFormData, | ||
popModalRequest | ||
popModalRequest, | ||
onCloseModal | ||
}; | ||
@@ -927,3 +939,4 @@ } | ||
onSuccess: $setup.getPopFormData, | ||
topTip: "" | ||
topTip: "", | ||
isVxeTableData: "" | ||
}, null, 8, ["request", "id", "onRegister", "onSuccess"]) | ||
@@ -930,0 +943,0 @@ ], 8, _hoisted_1); |
@@ -64,5 +64,2 @@ var __defProp = Object.defineProperty; | ||
import "/@/components/Form/src/componentMap"; | ||
import "./OnlineSelectCascade.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "vue-router"; | ||
import "/@/store/modules/permission"; | ||
@@ -77,6 +74,7 @@ import "/@/components/Modal"; | ||
import "/@/hooks/system/useListPage"; | ||
import "vue-router"; | ||
import "./LinkTableListPiece.js"; | ||
import "@vueuse/core"; | ||
import "./JModalTip.js"; | ||
import "ant-design-vue"; | ||
import "@vueuse/core"; | ||
const _sfc_main = { | ||
@@ -160,3 +158,3 @@ name: "OnlineFormDetail", | ||
return __async(this, null, function* () { | ||
console.log("\u8FDB\u5165\u8BE6\u60C5\u8868\u5355\u300B\u300Bform", record); | ||
console.log("\u8FDB\u5165\u8868\u5355\u8BE6\u60C5\u300B\u300Bform", record); | ||
yield edit(record); | ||
@@ -163,0 +161,0 @@ }); |
@@ -51,5 +51,2 @@ var __defProp = Object.defineProperty; | ||
import "/@/components/Form/src/componentMap"; | ||
import "./OnlineSelectCascade.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "vue-router"; | ||
import "/@/store/modules/permission"; | ||
@@ -68,5 +65,7 @@ import "/@/utils/propTypes"; | ||
import "/@/hooks/system/useListPage"; | ||
import "vue-router"; | ||
import "/@/components/Form/src/utils/Area"; | ||
import "/@/components/Preview/index"; | ||
import "./LinkTableListPiece.js"; | ||
import "@vueuse/core"; | ||
import "/@/components/Loading"; | ||
@@ -76,3 +75,2 @@ import "/@/utils/auth"; | ||
import "ant-design-vue"; | ||
import "@vueuse/core"; | ||
var OnlineQueryForm_vue_vue_type_style_index_0_scoped_true_lang = ""; | ||
@@ -79,0 +77,0 @@ const _sfc_main = { |
@@ -19,9 +19,6 @@ var __defProp = Object.defineProperty; | ||
import { JDictSelectTag, JTreeSelect, JCategorySelect, JSelectUser, JSelectUserByDept, JSelectDept, JPopup, JAreaLinkage, JAreaSelect, JSelectMultiple } from "/@/components/Form"; | ||
import JOnlineSearchSelect from "./JOnlineSearchSelect.js"; | ||
import { _ as _export_sfc } from "./index.js"; | ||
import "@vueuse/core"; | ||
import { _ as _export_sfc, J as JOnlineSearchSelect } from "./index.js"; | ||
import "/@/utils/http/axios"; | ||
import "/@/hooks/web/useMessage"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
var OnlineSearchFormItem_vue_vue_type_style_index_0_scoped_true_lang = ""; | ||
@@ -28,0 +25,0 @@ const __default__ = defineComponent({ |
@@ -37,5 +37,2 @@ var __async = (__this, __arguments, generator) => { | ||
import "/@/components/Form/src/componentMap"; | ||
import "./OnlineSelectCascade.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "vue-router"; | ||
import "/@/store/modules/permission"; | ||
@@ -54,9 +51,10 @@ import "/@/utils/propTypes"; | ||
import "/@/hooks/system/useListPage"; | ||
import "vue-router"; | ||
import "/@/components/Form/src/utils/Area"; | ||
import "/@/components/Preview/index"; | ||
import "./LinkTableListPiece.js"; | ||
import "@vueuse/core"; | ||
import "/@/utils/auth"; | ||
import "./JModalTip.js"; | ||
import "ant-design-vue"; | ||
import "@vueuse/core"; | ||
import "/@/utils/dict"; | ||
@@ -63,0 +61,0 @@ import "/@/utils/dict/index"; |
@@ -19,3 +19,4 @@ import { ref, reactive, watch, toRaw, resolveComponent, openBlock, createElementBlock, Fragment, createElementVNode, createBlock, withCtx, createVNode, createTextVNode, Teleport, createCommentVNode, normalizeClass, withDirectives, vShow, renderList, toDisplayString, pushScopeId, popScopeId } from "vue"; | ||
import "./isArray.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "/@/utils/http/axios"; | ||
import "@vueuse/core"; | ||
const SAVE_CODE_PRE = "JSuperQuerySaved_"; | ||
@@ -470,3 +471,3 @@ function useSuperQuery() { | ||
}; | ||
const _withScopeId = (n) => (pushScopeId("data-v-6b47b90c"), n = n(), popScopeId(), n); | ||
const _withScopeId = (n) => (pushScopeId("data-v-2878ef8e"), n = n(), popScopeId(), n); | ||
const _hoisted_1 = { class: "j-super-query-button" }; | ||
@@ -558,3 +559,3 @@ const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, "\u5DF2\u6709\u9AD8\u7EA7\u67E5\u8BE2\u6761\u4EF6\u751F\u6548", -1)); | ||
canFullscreen: false, | ||
width: 1050, | ||
width: 1055, | ||
onRegister: $setup.registerFormModal, | ||
@@ -909,3 +910,3 @@ onOk: $setup.handleSubmit | ||
} | ||
var OnlineSuperQuery = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-6b47b90c"]]); | ||
var OnlineSuperQuery = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2878ef8e"]]); | ||
export { OnlineSuperQuery as default }; |
{ | ||
"name": "@jeecg/online", | ||
"version": "3.4.3-beta", | ||
"version": "3.4.3", | ||
"main": "./main.index.js", | ||
"module": "./main.index.js" | ||
} |
@@ -42,4 +42,3 @@ var __defProp = Object.defineProperty; | ||
import "/@/hooks/web/useMessage"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
var PageAttributeTable_vue_vue_type_style_index_0_scoped_true_lang = ""; | ||
@@ -46,0 +45,0 @@ const commonPageOptions = [ |
@@ -51,5 +51,2 @@ var __async = (__this, __arguments, generator) => { | ||
import "/@/components/Form/src/componentMap"; | ||
import "./OnlineSelectCascade.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "vue-router"; | ||
import "/@/store/modules/permission"; | ||
@@ -61,8 +58,9 @@ import "/@/utils/propTypes"; | ||
import "/@/hooks/system/useListPage"; | ||
import "vue-router"; | ||
import "/@/components/Form/src/utils/Area"; | ||
import "/@/components/Preview/index"; | ||
import "./LinkTableListPiece.js"; | ||
import "@vueuse/core"; | ||
import "./JModalTip.js"; | ||
import "ant-design-vue"; | ||
import "@vueuse/core"; | ||
var ProcessOnlineForm_vue_vue_type_style_index_0_scoped_true_lang = ""; | ||
@@ -69,0 +67,0 @@ const _sfc_main = defineComponent({ |
@@ -33,5 +33,5 @@ var __defProp = Object.defineProperty; | ||
import "./_arrayPush.js"; | ||
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue"; | ||
import "/@/utils/http/axios"; | ||
import "/@/hooks/web/useMessage"; | ||
import "vue-router"; | ||
import "@vueuse/core"; | ||
const _sfc_main = defineComponent({ | ||
@@ -38,0 +38,0 @@ name: "QueryTable", |
@@ -656,3 +656,5 @@ var __defProp = Object.defineProperty; | ||
function getActions(record) { | ||
if (toRaw(buttonSwitch.update) === true) { | ||
let bpmStatusValue = getBpmStatusValue(record); | ||
let canEdit = bpmStatusValue && bpmStatusValue == "1" || !bpmStatusValue; | ||
if (toRaw(buttonSwitch.update) === true && canEdit) { | ||
return [ | ||
@@ -700,4 +702,4 @@ { | ||
if (onlineTableContext["hasBpmStatus"] === true && toRaw(buttonSwitch.bpm) === true) { | ||
let bpmStatusValue = getBpmStatusValue(record); | ||
if (!bpmStatusValue || bpmStatusValue == "1") { | ||
let bpmStatusValue2 = getBpmStatusValue(record); | ||
if (!bpmStatusValue2 || bpmStatusValue2 == "1") { | ||
arr.push(getSubmitFlowButton(record)); | ||
@@ -722,3 +724,5 @@ } else { | ||
} | ||
if (toRaw(buttonSwitch.delete) === true) { | ||
let bpmStatusValue = getBpmStatusValue(record); | ||
let canDelete = bpmStatusValue && bpmStatusValue == "1" || !bpmStatusValue; | ||
if (toRaw(buttonSwitch.delete) === true && canDelete) { | ||
arr.push(getDeleteButton(record)); | ||
@@ -725,0 +729,0 @@ } |
@@ -155,6 +155,3 @@ import { computed, h } from "vue"; | ||
options: [ | ||
{ label: "\u9ED8\u8BA4\u4E3B\u9898", value: "normal" }, | ||
{ label: "ERP\u4E3B\u9898(\u4E00\u5BF9\u591A)", value: "erp" }, | ||
{ label: "\u5185\u5D4C\u5B50\u8868\u4E3B\u9898(\u4E00\u5BF9\u591A)", value: "innerTable" }, | ||
{ label: "TAB\u4E3B\u9898(\u4E00\u5BF9\u591A)", value: "tab" } | ||
{ label: "\u9ED8\u8BA4\u4E3B\u9898", value: "normal" } | ||
] | ||
@@ -636,2 +633,19 @@ }, | ||
), | ||
mapFormSchema( | ||
{ | ||
label: "\u9875\u9762\u4EE3\u7801", | ||
field: "vueStyle", | ||
required: true, | ||
component: "RadioGroup", | ||
defaultValue: "vue3", | ||
componentProps: { | ||
options: [ | ||
{ label: "Vue3", value: "vue3" }, | ||
{ label: "Vue3 \u539F\u751F", value: "vue3Native" }, | ||
{ label: "Vue2", value: "vue" } | ||
] | ||
} | ||
}, | ||
getColSize.value | ||
), | ||
{ label: "\u9700\u8981\u751F\u6210\u7684\u4EE3\u7801", field: "codeTypes", component: "Input", show: false } | ||
@@ -638,0 +652,0 @@ ]); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
100
25238
1
4
863939
80