|
@@ -14,6 +14,7 @@ Page({
|
|
|
ownerid = options.ownerid;
|
|
|
if (options.ownertable == "sa_workorder") id = "3";
|
|
|
this.getList();
|
|
|
+ getApp().globalData.Language.getLanguagePackage(this, 'E-订单');
|
|
|
},
|
|
|
getList() {
|
|
|
_Http.basic({
|
|
@@ -74,7 +75,18 @@ Page({
|
|
|
let that = this;
|
|
|
wx.showModal({
|
|
|
title: getApp().globalData.Language.getMapText('提示'),
|
|
|
- content: `是否确认添加${value[0]+value[0].length}位成员`,
|
|
|
+ content: getApp().globalData.Language.joint([{
|
|
|
+ t: 1,
|
|
|
+ v: '是否确认添加',
|
|
|
+ }, {
|
|
|
+ v: value[0].length,
|
|
|
+ f: "“",
|
|
|
+ r: "”"
|
|
|
+ }, {
|
|
|
+ t: 1,
|
|
|
+ v: '位成员',
|
|
|
+ r: "?"
|
|
|
+ }]),
|
|
|
complete: ({
|
|
|
confirm
|
|
|
}) => {
|
|
@@ -110,7 +122,14 @@ Page({
|
|
|
that = this;
|
|
|
wx.showModal({
|
|
|
title: getApp().globalData.Language.getMapText('提示'),
|
|
|
- content: `是否确认将负责人转让到“${item.name}”`,
|
|
|
+ content: getApp().globalData.Language.joint([{
|
|
|
+ t: 1,
|
|
|
+ v: '是否确认将负责人转让到',
|
|
|
+ }, {
|
|
|
+ v: item.name,
|
|
|
+ f: "“",
|
|
|
+ r: "”"
|
|
|
+ }]),
|
|
|
complete: ({
|
|
|
confirm
|
|
|
}) => {
|
|
@@ -123,7 +142,7 @@ Page({
|
|
|
}
|
|
|
}).then(res => {
|
|
|
wx.showToast({
|
|
|
- title: res.msg == '成功' ? '转让成功' : res.msg,
|
|
|
+ title: res.msg == '成功' ? getApp().globalData.Language.getMapText('转让成功') : res.msg,
|
|
|
icon: "none",
|
|
|
mask: true
|
|
|
});
|
|
@@ -155,7 +174,18 @@ Page({
|
|
|
that = this;
|
|
|
wx.showModal({
|
|
|
title: getApp().globalData.Language.getMapText('提示'),
|
|
|
- content: `是否确认移除${result.length}位成员`,
|
|
|
+ content: getApp().globalData.Language.joint([{
|
|
|
+ t: 1,
|
|
|
+ v: '是否确认移除',
|
|
|
+ }, {
|
|
|
+ v: result.length,
|
|
|
+ f: "“",
|
|
|
+ r: "”"
|
|
|
+ }, {
|
|
|
+ t: 1,
|
|
|
+ v: '位成员',
|
|
|
+ r: "?"
|
|
|
+ }]),
|
|
|
complete: ({
|
|
|
confirm
|
|
|
}) => {
|
|
@@ -168,7 +198,7 @@ Page({
|
|
|
}
|
|
|
}).then(res => {
|
|
|
wx.showToast({
|
|
|
- title: res.msg == '成功' ? '移除成功' : res.msg,
|
|
|
+ title: res.msg == '成功' ? getApp().globalData.Language.getMapText('移除成功') : res.msg,
|
|
|
icon: "none",
|
|
|
mask: true
|
|
|
});
|