isdata-customer-sdk 0.2.3 → 0.2.4

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.
@@ -33104,7 +33104,7 @@ const check = element => {
33104
33104
  if (innerHTML.includes("序号") || innerHTML.includes("Serial No.")) {
33105
33105
  console.log("检查smardaten平台表格 序号 元素:", innerHTML);
33106
33106
  let tempHTMLMatch = {
33107
- oldValue: '$L{PLATFORM_SERIAL_NO}'
33107
+ oldValue: '$L{序号}'
33108
33108
  };
33109
33109
  checkResult.result = true;
33110
33110
  checkResult.innerHTMLMatch = tempHTMLMatch;
@@ -33113,7 +33113,7 @@ const check = element => {
33113
33113
  if (innerHTML.includes("操作")) {
33114
33114
  console.log("检查smardaten平台表格 操作 元素:", innerHTML);
33115
33115
  let tempHTMLMatch = {
33116
- oldValue: '$L{PLATFORM_OPERATE}'
33116
+ oldValue: '$L{操作}'
33117
33117
  };
33118
33118
  checkResult.result = true;
33119
33119
  checkResult.innerHTMLMatch = tempHTMLMatch;
@@ -33126,7 +33126,7 @@ const check = element => {
33126
33126
  if (innerHTML.includes("导出进度") || innerHTML.includes("Export progress")) {
33127
33127
  console.log("检查smardaten平台表格 导出按钮 元素:", innerHTML);
33128
33128
  let tempHTMLMatch = {
33129
- oldValue: '$L{PLATFORM_EXPORT_ALL}'
33129
+ oldValue: '$L{导出进度}'
33130
33130
  };
33131
33131
  checkResult.result = true;
33132
33132
  checkResult.innerHTMLMatch = tempHTMLMatch;
@@ -33148,13 +33148,13 @@ const check = element => {
33148
33148
  }
33149
33149
  let scriptNodes = [{
33150
33150
  nodeType: Node.TEXT_NODE,
33151
- key: 'PLATFORM_TOTAL'
33151
+ key: ''
33152
33152
  }, {
33153
33153
  nodeType: "SCRIPTNODE",
33154
33154
  node: scriptNode
33155
33155
  }, {
33156
33156
  nodeType: Node.TEXT_NODE,
33157
- key: 'PLATFORM_PIECES'
33157
+ key: ''
33158
33158
  }];
33159
33159
  for (let i = 0; i < element.childNodes.length; i++) {
33160
33160
  let childNode = element.childNodes[i];
@@ -33197,13 +33197,13 @@ const check = element => {
33197
33197
  }
33198
33198
  let scriptNodes = [{
33199
33199
  nodeType: Node.TEXT_NODE,
33200
- key: 'PLATFORM_JUNPTO'
33200
+ key: '跳至'
33201
33201
  }, {
33202
33202
  nodeType: "SCRIPTNODE",
33203
33203
  node: scriptNode
33204
33204
  }, {
33205
33205
  nodeType: Node.TEXT_NODE,
33206
- key: 'PLATFORM_PAGE'
33206
+ key: ''
33207
33207
  }];
33208
33208
  for (let i = 0; i < element.childNodes.length; i++) {
33209
33209
  let childNode = element.childNodes[i];
@@ -33238,13 +33238,13 @@ const check = element => {
33238
33238
  if (innerHTML.includes("/") && innerHTML.includes("page") || innerHTML.includes("/") && innerHTML.includes("条") && innerHTML.includes("页")) {
33239
33239
  let oldValue = element.innerHTML;
33240
33240
  if (innerHTML.includes("page")) {
33241
- oldValue = oldValue.replace('page', '$L{PLATFORM_PAGE}');
33241
+ oldValue = oldValue.replace('page', '$L{}');
33242
33242
  }
33243
33243
  if (innerHTML.includes("页")) {
33244
- oldValue = oldValue.replace('页', '$L{PLATFORM_PAGE}');
33244
+ oldValue = oldValue.replace('页', '$L{}');
33245
33245
  }
33246
33246
  if (innerHTML.includes("条")) {
33247
- oldValue = oldValue.replace('条', '$L{PLATFORM_PIECES}');
33247
+ oldValue = oldValue.replace('条', '$L{}');
33248
33248
  }
33249
33249
  let tempHTMLMatch = {
33250
33250
  oldValue: oldValue
@@ -33260,7 +33260,7 @@ const check = element => {
33260
33260
  if (innerHTML.includes("确认执行:") || innerHTML.includes("Confirm Execution:")) {
33261
33261
  console.log("检查smardaten平台删除提问对话框:", innerHTML);
33262
33262
  let tempHTMLMatch = {
33263
- oldValue: '$L{PLATFORM_DELETE_CONFIRM_TITLE}'
33263
+ oldValue: '$L{操作确认:删除?}'
33264
33264
  };
33265
33265
  checkResult.result = true;
33266
33266
  checkResult.innerHTMLMatch = tempHTMLMatch;
@@ -33273,7 +33273,7 @@ const check = element => {
33273
33273
  if (innerHTML.includes("Cancel") || innerHTML.includes("取消")) {
33274
33274
  console.log("检查smardaten平台 Tip提问取消删除按钮:", innerHTML);
33275
33275
  let tempHTMLMatch = {
33276
- oldValue: '$L{PLATFORM_CANCEL}'
33276
+ oldValue: '$L{取消}'
33277
33277
  };
33278
33278
  checkResult.result = true;
33279
33279
  checkResult.innerHTMLMatch = tempHTMLMatch;
@@ -33282,7 +33282,7 @@ const check = element => {
33282
33282
  if (innerHTML.includes("确认") || innerHTML.includes("OK")) {
33283
33283
  console.log("检查smardaten平台 Tip提问确认删除按钮:", innerHTML);
33284
33284
  let tempHTMLMatch = {
33285
- oldValue: '$L{PLATFORM_OK}'
33285
+ oldValue: '$L{确认}'
33286
33286
  };
33287
33287
  checkResult.result = true;
33288
33288
  checkResult.innerHTMLMatch = tempHTMLMatch;