@yoooloo42/joker 1.0.178 → 1.0.179
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 +5 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +5 -4
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -22879,7 +22879,8 @@ const submitInsertOne = async _ref0 => {
|
|
|
22879
22879
|
// 提交 - 修改一条记录
|
|
22880
22880
|
const submitUpdateOne = async _ref1 => {
|
|
22881
22881
|
let {
|
|
22882
|
-
scopeThis
|
|
22882
|
+
scopeThis,
|
|
22883
|
+
row
|
|
22883
22884
|
} = _ref1;
|
|
22884
22885
|
try {
|
|
22885
22886
|
await elementPlus.ElMessageBox.confirm('修改一条记录, 提交?', '提示', {
|
|
@@ -22889,7 +22890,7 @@ const submitUpdateOne = async _ref1 => {
|
|
|
22889
22890
|
});
|
|
22890
22891
|
const result = await ly0request$1.storpro({
|
|
22891
22892
|
storproName: scopeThis.storpro.updateOne,
|
|
22892
|
-
data:
|
|
22893
|
+
data: row
|
|
22893
22894
|
});
|
|
22894
22895
|
if (result.code === 0) {
|
|
22895
22896
|
// 关闭表单窗口
|
|
@@ -22914,7 +22915,7 @@ const submitUpdateOne = async _ref1 => {
|
|
|
22914
22915
|
const submitDeleteOne = async _ref10 => {
|
|
22915
22916
|
let {
|
|
22916
22917
|
scopeThis,
|
|
22917
|
-
|
|
22918
|
+
row
|
|
22918
22919
|
} = _ref10;
|
|
22919
22920
|
try {
|
|
22920
22921
|
await elementPlus.ElMessageBox.confirm('删除一条记录, 提交?', '警告', {
|
|
@@ -22924,7 +22925,7 @@ const submitDeleteOne = async _ref10 => {
|
|
|
22924
22925
|
});
|
|
22925
22926
|
const result = await ly0request$1.storpro({
|
|
22926
22927
|
storproName: scopeThis.storpro.deleteOne,
|
|
22927
|
-
data:
|
|
22928
|
+
data: row // 继承行记录的值
|
|
22928
22929
|
});
|
|
22929
22930
|
if (result.code === 0) {
|
|
22930
22931
|
elementPlus.ElMessage('删除一条记录成功');
|