@yoooloo42/joker 1.0.169 → 1.0.171
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +6 -45
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +6 -45
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -22719,11 +22719,15 @@ const reload = async _ref2 => {
|
|
|
22719
22719
|
let {
|
|
22720
22720
|
scopeThis
|
|
22721
22721
|
} = _ref2;
|
|
22722
|
+
console.log('测试 000', scopeThis.queryInit);
|
|
22723
|
+
console.log('测试 111', scopeThis.query);
|
|
22722
22724
|
unclassified.deepClone.replaceObject(scopeThis.query, scopeThis.queryInit);
|
|
22723
22725
|
const result = await refresh({
|
|
22724
22726
|
scopeThis
|
|
22725
22727
|
});
|
|
22726
22728
|
elementPlus.ElMessage(result.code === 0 ? '数据已重载' : '数据重载错误');
|
|
22729
|
+
console.log('测试 222', scopeThis.queryInit);
|
|
22730
|
+
console.log('测试 333', scopeThis.query);
|
|
22727
22731
|
};
|
|
22728
22732
|
|
|
22729
22733
|
// 获取页面数据附加
|
|
@@ -22969,20 +22973,7 @@ var ly0default$3 = {
|
|
|
22969
22973
|
},
|
|
22970
22974
|
cols: [],
|
|
22971
22975
|
submit: {
|
|
22972
|
-
switch: false
|
|
22973
|
-
// true - 提交模式, false - 组件模式
|
|
22974
|
-
watch: false,
|
|
22975
|
-
// 提交监听
|
|
22976
|
-
async handle(_ref) {
|
|
22977
|
-
let {
|
|
22978
|
-
formData,
|
|
22979
|
-
scopeThis
|
|
22980
|
-
} = _ref;
|
|
22981
|
-
},
|
|
22982
|
-
// 异步用户句柄
|
|
22983
|
-
url: '',
|
|
22984
|
-
// 后台提交 - URL地址
|
|
22985
|
-
storpro: '' // 后台提交 - 存储过程
|
|
22976
|
+
switch: true // true - 提交模式, false - 组件模式
|
|
22986
22977
|
},
|
|
22987
22978
|
para: {
|
|
22988
22979
|
inputWidth: '200px',
|
|
@@ -24187,40 +24178,10 @@ const hdl = {
|
|
|
24187
24178
|
async submit(){
|
|
24188
24179
|
if(formProps_box.submit.handle){
|
|
24189
24180
|
// 执行用户句柄
|
|
24190
|
-
|
|
24181
|
+
await formProps_box.submit.handle({
|
|
24191
24182
|
formData: formData_box,
|
|
24192
24183
|
scopeThis: scopeThis_box
|
|
24193
24184
|
});
|
|
24194
|
-
if(result.code !== 0){
|
|
24195
|
-
return
|
|
24196
|
-
}
|
|
24197
|
-
}
|
|
24198
|
-
|
|
24199
|
-
// 后台提交 - URL地址
|
|
24200
|
-
if(formProps_box.submit.url){
|
|
24201
|
-
const result = await request.ly0.ly0request({
|
|
24202
|
-
url: formProps_box.submit.url,
|
|
24203
|
-
data: formData_box
|
|
24204
|
-
});
|
|
24205
|
-
if(result.code !== 0){
|
|
24206
|
-
return
|
|
24207
|
-
}
|
|
24208
|
-
}
|
|
24209
|
-
|
|
24210
|
-
// 后台提交 - 存储过程
|
|
24211
|
-
if(formProps_box.submit.storpro){
|
|
24212
|
-
const result = await request.ly0.storpro({
|
|
24213
|
-
storproName: formProps_box.submit.storpro,
|
|
24214
|
-
data: formData_box
|
|
24215
|
-
});
|
|
24216
|
-
if(result.code !== 0){
|
|
24217
|
-
return
|
|
24218
|
-
}
|
|
24219
|
-
}
|
|
24220
|
-
|
|
24221
|
-
if(formProps_box.popup){
|
|
24222
|
-
// 关闭表单窗口
|
|
24223
|
-
formProps_box.popup.visible = false;
|
|
24224
24185
|
}
|
|
24225
24186
|
}
|
|
24226
24187
|
};
|