From 07925905f1a596e20e980de6d42db217abb753b0 Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期五, 12 十二月 2025 18:06:11 +0800
Subject: [PATCH] plugin
---
pages/modal/5601.vue | 30 ++++++++++++++++--------------
1 files changed, 16 insertions(+), 14 deletions(-)
diff --git a/pages/modal/5601.vue b/pages/modal/5601.vue
index dfa190f..23d4884 100644
--- a/pages/modal/5601.vue
+++ b/pages/modal/5601.vue
@@ -191,10 +191,12 @@
};
},
},
- onLoad(options) {
+ onReady() {
uni.setNavigationBarTitle({
- title: options.titlename
+ title: this.title
}); //璁剧疆椤堕儴鏍囬
+ },
+ onLoad(options) {
this.title = options.titlename;
this.param = JSON.parse(options.param);
//鑾峰彇涓绘暟鎹被ID
@@ -430,24 +432,24 @@
.DefList.length > 0
) { //鍒ゆ柇鏄惁娓呯┖椤电鍐呭,姝e湪鐮佺洏鏄惁鏈夋暟鎹� uni.showModal({
- title: this
+ title: $this
.translateSys(
'tip'),
- content: this
+ content: $this
.translate(
"are_you_sure_clear_first"
) +
- this
+ $this
.translateSys(
"quotation_mark_left"
) +
value
.page_name +
- this
+ $this
.translateSys(
"quotation_mark_right"
) +
- this
+ $this
.translate(
"are_you_sure_clear_last"
),
@@ -2540,14 +2542,14 @@
// return;
runCustomEvent(dataInfo).then(data => {
hideLoading()
- $this.onFormEventResult(data, button_callback, item)
+ $this.onFormEventResult(data, button_callback, item,req)
}).catch(ex => {
hideLoading()
showError(ex, this.translateSys("error") + "5.1")
});
},
- async onFormEventResult(data, callbackEventId, item) {
+ async onFormEventResult(data, callbackEventId, item,req) {
try {
const $this = this
var enviroment = {
@@ -2627,24 +2629,24 @@
.DefList.length > 0
) { //鍒ゆ柇鏄惁娓呯┖椤电鍐呭,姝e湪鐮佺洏鏄惁鏈夋暟鎹� uni.showModal({
- title: this
+ title: $this
.translateSys(
'tip'),
- content: this
+ content: $this
.translate(
"are_you_sure_clear_first"
) +
- this
+ $this
.translateSys(
"quotation_mark_left"
) +
value
.page_name +
- this
+ $this
.translateSys(
"quotation_mark_right"
) +
- this
+ $this
.translate(
"are_you_sure_clear_last"
),
--
Gitblit v1.9.1