@yoooloo42/joker 1.0.178 → 1.0.180
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 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +6 -6
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -22789,9 +22789,9 @@ const popupInsertOne = async _ref6 => {
|
|
|
22789
22789
|
const popupUpdateOne = async _ref7 => {
|
|
22790
22790
|
let {
|
|
22791
22791
|
scopeThis,
|
|
22792
|
-
|
|
22792
|
+
row
|
|
22793
22793
|
} = _ref7;
|
|
22794
|
-
unclassified.deepClone.replaceObject(scopeThis.formData,
|
|
22794
|
+
unclassified.deepClone.replaceObject(scopeThis.formData, row); // 继承行记录的值
|
|
22795
22795
|
unclassified.deepClone.replaceObject(scopeThis.formProps, scopeThis.UpdateOne.formProps);
|
|
22796
22796
|
// 弹出窗口
|
|
22797
22797
|
unclassified.deepClone.deepMerge(scopeThis.formProps.popup, {
|
|
@@ -22803,9 +22803,9 @@ const popupUpdateOne = async _ref7 => {
|
|
|
22803
22803
|
const popupDoc = async _ref8 => {
|
|
22804
22804
|
let {
|
|
22805
22805
|
scopeThis,
|
|
22806
|
-
|
|
22806
|
+
row
|
|
22807
22807
|
} = _ref8;
|
|
22808
|
-
unclassified.deepClone.replaceObject(scopeThis.formData,
|
|
22808
|
+
unclassified.deepClone.replaceObject(scopeThis.formData, row); // 继承行记录的值
|
|
22809
22809
|
unclassified.deepClone.replaceObject(scopeThis.formProps, scopeThis.doc.formProps);
|
|
22810
22810
|
// 弹出窗口
|
|
22811
22811
|
unclassified.deepClone.deepMerge(scopeThis.formProps.popup, {
|
|
@@ -22910,7 +22910,7 @@ const submitUpdateOne = async _ref1 => {
|
|
|
22910
22910
|
const submitDeleteOne = async _ref10 => {
|
|
22911
22911
|
let {
|
|
22912
22912
|
scopeThis,
|
|
22913
|
-
|
|
22913
|
+
row
|
|
22914
22914
|
} = _ref10;
|
|
22915
22915
|
try {
|
|
22916
22916
|
await ElMessageBox.confirm('删除一条记录, 提交?', '警告', {
|
|
@@ -22920,7 +22920,7 @@ const submitDeleteOne = async _ref10 => {
|
|
|
22920
22920
|
});
|
|
22921
22921
|
const result = await ly0request.storpro({
|
|
22922
22922
|
storproName: scopeThis.storpro.deleteOne,
|
|
22923
|
-
data:
|
|
22923
|
+
data: row // 继承行记录的值
|
|
22924
22924
|
});
|
|
22925
22925
|
if (result.code === 0) {
|
|
22926
22926
|
ElMessage('删除一条记录成功');
|