centaline-data-driven-v3 0.0.54 → 0.0.56

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "centaline-data-driven-v3",
3
- "version": "0.0.54",
3
+ "version": "0.0.56",
4
4
  "private": false,
5
5
  "description": "centaline-data-driven-v3",
6
6
  "main": "dist/centaline-data-driven-v3.umd.js",
@@ -2,15 +2,14 @@
2
2
  <template v-for="(col, index) in model.fields" :key="index">
3
3
  <template v-if="col.show !== false&&(col.controlLabel||col.code1||col.name1)">
4
4
  <component v-if="col.show !== false" ref="Fields" :is="col.is" :vmodel="col"
5
- :parameterAction="parameterAction" v-bind="col.bindPara" @fieldClick="fieldClickHandler"
6
- @change="change" @popupSearchList="popupSearchListHandler">
5
+ :parameterAction="parameterAction" v-bind="col.bindPara" @fieldClick="fieldClickHandler(col)"
6
+ @change="change(col)" @popupSearchList="popupSearchListHandler">
7
7
  </component>
8
8
  </template>
9
9
  </template>
10
10
  </template>
11
11
  <script lang="ts" setup>
12
12
  import { ref } from 'vue'
13
- import common from '../../utils/common'
14
13
  import { initData } from '../../utils/mixins';
15
14
  import ContainerControl from '../../loader/src/ContainerControl';
16
15
  const emit = defineEmits(['click', 'change', 'fieldClick', 'popupSearchList'])
@@ -24,15 +23,12 @@ const Fields = ref()
24
23
 
25
24
  model.value.selfValidExcute = () => {
26
25
  let rtnBool = true;
27
- if (typeof Fields !== 'undefined') {
26
+ if (typeof Fields.value !== 'undefined') {
28
27
  Fields.value.forEach((f) => {
29
- if (typeof f.validExcute !== 'undefined') {
30
- if (!f.validExcute(f.model)) {
28
+ if (f.model && typeof f.model.validExcute !== 'undefined') {
29
+ if (!f.model.validExcute(f.model)) {
30
+ model.value.displayValidMessage=f.model.displayValidMessage
31
31
  rtnBool = false;
32
- if (!model.controlLabel && f.model.controlLabel) {
33
- common.message('【' + f.model.controlLabel + '】不能为空!')
34
- }
35
-
36
32
  }
37
33
  }
38
34
  });
@@ -6,7 +6,7 @@
6
6
  <span style="line-height: 32px;" v-for="item in model.value" :key="item" class="tag">{{ item }}</span>
7
7
  </template>
8
8
  <template v-else>
9
- <span style="line-height: 32px;" v-html="model.value"></span>
9
+ <span style="line-height: 32px;" v-html="model.value" @click="clickHandle"></span>
10
10
  </template>
11
11
  </div>
12
12
  </template>
@@ -21,7 +21,7 @@
21
21
  <script lang="ts" setup>
22
22
  import { initData } from '../../utils/mixins';
23
23
  import Label from '../../loader/src/Label';
24
- const emit = defineEmits(['popupSearchList'])
24
+ const emit = defineEmits(['popupSearchList','change'])
25
25
  const props = defineProps({
26
26
  parameterAction: String,
27
27
  vmodel: Object,
@@ -33,6 +33,9 @@ function popupSearchListHandle() {
33
33
  let isSingle=model.value.moreActionRouter.isSingle
34
34
  emit('popupSearchList', isSingle, model, model.value.moreActionRouter);
35
35
  }
36
+ function clickHandle(){
37
+ emit('change', model);
38
+ }
36
39
  defineExpose({
37
40
  model
38
41
  })
@@ -194,7 +194,7 @@ function load(data) {
194
194
  return v.key && v.show && (v.key.indexOf('New') > -1 || v.key.indexOf('new') > -1 || v.key.indexOf('Apply') > -1);
195
195
  })
196
196
  modeButtons.value = model.value.buttons.filter((v) => {
197
- return v.disabled = true && !(v.key.indexOf('New') > -1 || v.key.indexOf('new') > -1 || v.key.indexOf('Apply') > -1)
197
+ return v.disabled && v.show && v.isMulti && !(v.key.indexOf('New') > -1 || v.key.indexOf('new') > -1 || v.key.indexOf('Apply') > -1)
198
198
  })
199
199
  modeButtons.value.forEach((v) => {
200
200
  v.name = v.controlLabel
@@ -18,6 +18,9 @@
18
18
  <span>{{ model.controlLabel }}</span>
19
19
  </div>
20
20
  </template>
21
+ <template #extra v-if="model.sufLabel1">
22
+ <span v-html="model.sufLabel1" style="margin-left: 5px;line-height: 32px;"></span>
23
+ </template>
21
24
  <template v-if="model.unitName1" #button>
22
25
  {{ model.unitName1 }}
23
26
  </template>
@@ -173,6 +173,9 @@ function onswipenext() {
173
173
  touch-action: none;
174
174
  }
175
175
 
176
+
177
+ </style>
178
+ <style scoped>
176
179
  .viewerContent {
177
180
  background: #000000;
178
181
  height: 100%;
@@ -181,8 +184,6 @@ function onswipenext() {
181
184
  justify-content: center;
182
185
 
183
186
  }
184
- </style>
185
- <style scoped>
186
187
  .cont {
187
188
  position: absolute;
188
189
  z-index: 100000000000000;
@@ -15,7 +15,7 @@
15
15
  </el-tooltip>
16
16
  </el-icon>
17
17
  </el-checkbox>
18
- <el-icon @click="clearClickHandle" class="el-range__close-icon" style="margin-left: 10px;">
18
+ <el-icon @click="clearClickHandle" class="el-range__close-icon" style="margin-left: 10px;" v-if="!common.flagHK()">
19
19
  <CircleClose />
20
20
  </el-icon>
21
21
  </el-checkbox-group>
@@ -26,6 +26,7 @@
26
26
  <script lang="ts" setup>
27
27
  import { initData, changeHandler } from '../../utils/mixins';
28
28
  import CheckBoxList from '../../loader/src/CheckBoxList';
29
+ import common from '../../utils/common'
29
30
  const emit = defineEmits(['click', 'change', 'search'])
30
31
  const props = defineProps({
31
32
  parameterAction: String,
@@ -8,7 +8,7 @@
8
8
  :class="index > 0 && (col.controlLabel == '' || col.is == 'ct-button') ? 'complex-left-10' : ''"
9
9
  :style="{ 'width': (col.width != '0' ? col.width + 'px' : '100%'), 'flex': (col.width != '0' ? '0 0 ' + col.width + 'px' : '100%') }">
10
10
  <component ref="Fields" :is="col.is" :vmodel="col" :parameterAction="parameterAction"
11
- v-bind="col.bindPara" @fieldClick="fieldClickHandler(col)" @change="change"
11
+ v-bind="col.bindPara" @fieldClick="fieldClickHandler(col)" @change="change(col)"
12
12
  @popupSearchList="popupSearchListHandler"></component>
13
13
  </div>
14
14
  </template>
@@ -23,7 +23,7 @@
23
23
  :class="[index > 0 && (col.controlLabel == '' || col.is == 'ct-btn') ? 'complex-left-10' : '', 'containerCol']"
24
24
  :style="{ 'width': (col.width != '0' ? col.width + 'px' : '100%'), 'flex': (col.width != '0' ? '0 0 ' + col.width + 'px' : '100%') }">
25
25
  <component ref="Fields" :is="col.is" :vmodel="col" :parameterAction="parameterAction"
26
- v-bind="col.bindPara" @fieldClick="fieldClickHandler(col)" @change="change"
26
+ v-bind="col.bindPara" @fieldClick="fieldClickHandler(col)" @change="change(col)"
27
27
  @popupSearchList="popupSearchListHandler">
28
28
  </component>
29
29
  </el-col>
@@ -8,11 +8,10 @@
8
8
  :data="model.uploadData" :headers="headers" :before-upload="beforeUploadProcess"
9
9
  :on-success="handleAvatarSuccess" :on-error="handleAvatarError" :on-progress="uploadProcess"
10
10
  :limit="parseInt(model.maxValue1 || 999)" :on-exceed="handleExceed"
11
- :uploadStatus="!model.disableUpload&&!model.locked?'upload':'lock'"
12
- >
11
+ :uploadStatus="!model.disableUpload && !model.locked ? 'upload' : 'lock'">
13
12
  <el-icon>
14
13
  <Plus />
15
- </el-icon>
14
+ </el-icon>
16
15
  <template #tip>
17
16
  <div class="el-upload__tip errorMessage" style="white-space:pre-wrap;" v-show="!model.valid"
18
17
  v-html="model.validMessage">
@@ -20,7 +19,7 @@
20
19
  <div v-show="model.description" v-html="model.description">
21
20
  </div>
22
21
  </template>
23
- <div class="qrcode-target" v-if="model.QRCodeAction">
22
+ <div class="qrcode-target" v-if="model.QRCodeAction">
24
23
  <img @click.stop="qrcodeFn" ref="QRCodeRef" :src="util.getAssetsImage('serw1.png')"
25
24
  style="width: 35px;height: 35px; float: right; " alt="扫码上传" title="扫码上传" />
26
25
  </div>
@@ -106,7 +105,7 @@
106
105
 
107
106
 
108
107
  <div @dragstart="drag($event, file)" @drop="drop($event, file)" @dragover.prevent
109
- @dragenter="dragenter($event, file)" @dragleave="dragleave($event, file)" >
108
+ @dragenter="dragenter($event, file)" @dragleave="dragleave($event, file)">
110
109
  <el-image fit="fill" @click="viewerfile(file)"
111
110
  :src="file.url ? file.url : file.mediaUrl ? file.mediaUrl + '/100/100' : util.getAssetsImage('blank.png')"
112
111
  style="width: 100px; height: 100px" :z-index="previewZIndex">
@@ -187,12 +186,12 @@ const props = defineProps({
187
186
  })
188
187
  const refct_upload = ref()
189
188
  const refupload = ref()
190
- const QRCodeRef = ref()
189
+ const QRCodeRef = ref()
191
190
  const UploadhttpRequest = ref({})
192
191
  const startfile = ref();
193
192
  const endfile = ref();
194
193
  const model = ref(null);
195
-
194
+
196
195
 
197
196
  const headers = computed(() => {
198
197
  return common.getDataDrivenOpts().handler.getRequestHeaders();
@@ -246,6 +245,9 @@ function load(data) {
246
245
  showClose: true,
247
246
  });
248
247
  }
248
+ if (model.value?.fileList && model.value.fileList.length > 0) {
249
+ selfValidExcute("valid");
250
+ }
249
251
  }
250
252
  //校验上传数量
251
253
  const handleExceed: UploadProps['onExceed'] = (files) => {
@@ -261,8 +263,8 @@ const handleExceed: UploadProps['onExceed'] = (files) => {
261
263
  function handleRemove(file) {
262
264
 
263
265
 
264
- common.confirm(common.LocalizedString("确定删除该附件?","確定刪除該附件?"), "提示", {
265
- confirmButtonText: common.LocalizedString("确定","確認"),
266
+ common.confirm(common.LocalizedString("确定删除该附件?", "確定刪除該附件?"), "提示", {
267
+ confirmButtonText: common.LocalizedString("确定", "確認"),
266
268
  cancelButtonText: "取消",
267
269
  //type: 'warning'
268
270
  }).then(() => {
@@ -283,7 +285,7 @@ function handleEdit(file) {
283
285
  var dialogOption = {
284
286
  title: "编辑图片",
285
287
  content: [{
286
- component: 'ct-pictureedit',
288
+ component: 'ct-picturedit',
287
289
  width: width + "px",
288
290
  height: (window.document.body.clientHeight * 0.8).toString() + "px",
289
291
  attrs: {
@@ -626,22 +628,22 @@ function viewerfile(file) {
626
628
  File.viewerfile(file, model.value)
627
629
  }
628
630
 
629
-
630
-
631
+
632
+
631
633
  function PasteUpload(event) {
632
634
  if (!model.value.locked && !model.value.disableUpload) {
633
635
  // 获取粘贴板中的图片
634
636
  const clipboardDatas = (event.clipboardData || event.originalEvent.clipboardData);
635
637
  const items = clipboardDatas.items;
636
- //检测是否全是文件才上传
637
- let fileSum = 0;
638
+ //检测是否全是文件才上传
639
+ let fileSum = 0;
638
640
  for (let index in items) {
639
641
  const item = items[index];
640
642
  if (item.kind === 'file') {
641
643
  ++fileSum;
642
644
  }
643
645
  }
644
-
646
+
645
647
  if (fileSum == items.length) {
646
648
  for (let index in items) {
647
649
  const item = items[index];
@@ -660,32 +662,32 @@ function PasteUpload(event) {
660
662
  }
661
663
  }
662
664
 
663
- function ListenerPaste(event) {
664
- var target = event.target;
665
- const uploads = document.querySelectorAll('[uploadStatus="upload"]');
665
+ function ListenerPaste(event) {
666
+ var target = event.target;
667
+ const uploads = document.querySelectorAll('[uploadStatus="upload"]');
666
668
 
667
- if (!window.uploads) {
668
- window.uploads = { count: 0, length: uploads.length };
669
- }
670
- if (uploads.length > 1) {
671
- window.uploads.count = window.uploads.count + 1;
672
- window.uploads.length = uploads.length;
669
+ if (!window.uploads) {
670
+ window.uploads = { count: 0, length: uploads.length };
671
+ }
672
+ if (uploads.length > 1) {
673
+ window.uploads.count = window.uploads.count + 1;
674
+ window.uploads.length = uploads.length;
673
675
 
674
- if (window.uploads.count == window.uploads.length) {
675
- window.uploads = null;
676
- ElMessage({
677
- message: "存在多个上传组件,请点击粘贴上传!",
678
- type: 'info',
679
- showClose: true,
680
- });
681
- return false;
682
- }
683
- }
684
- else if (uploads.length == 1) {
676
+ if (window.uploads.count == window.uploads.length) {
685
677
  window.uploads = null;
686
- PasteUpload(event);
678
+ ElMessage({
679
+ message: "存在多个上传组件,请点击粘贴上传!",
680
+ type: 'info',
681
+ showClose: true,
682
+ });
683
+ return false;
687
684
  }
688
-
685
+ }
686
+ else if (uploads.length == 1) {
687
+ window.uploads = null;
688
+ PasteUpload(event);
689
+ }
690
+
689
691
 
690
692
  }
691
693
 
@@ -2,7 +2,7 @@
2
2
  <ct-field :vmodel="model">
3
3
  <template #Control v-if="model.code1">
4
4
  <template v-if="model.controlType==Enum.ControlType.HtmlLabel">
5
- <span class="ct-html" v-html="model.value"></span>
5
+ <span class="ct-html" @click="clickHandle" v-html="model.value"></span>
6
6
  </template>
7
7
  <template v-else-if="model.flagJson">
8
8
  <el-tag v-for="item in model.value" :key="item" type="info" :disable-transitions="true" style="margin: 2px 6px 2px 0px;">{{ item
@@ -16,7 +16,7 @@
16
16
  <div :style="{ 'width': (model.value.length > 66 ? '400px' : 'auto') }" v-html="model.value">
17
17
  </div>
18
18
  </template>
19
- <span class="ct-lable" @mouseover="onMouseOver($event)" v-html="model.value"></span>
19
+ <span class="ct-lable" @mouseover="onMouseOver($event)" v-html="model.value" @click="clickHandle"></span>
20
20
  </el-tooltip>
21
21
  <span class="unitName">{{ model.unitName1 }}</span>
22
22
  </template>
@@ -36,7 +36,7 @@ import { ref, nextTick } from 'vue'
36
36
  import { initData } from '../../utils/mixins';
37
37
  import Enum from '../../utils/Enum'
38
38
  import Label from '../../loader/src/Label';
39
- const emit = defineEmits(['popupSearchList'])
39
+ const emit = defineEmits(['popupSearchList','change'])
40
40
  const props = defineProps({
41
41
  parameterAction: String,
42
42
  vmodel: Object,
@@ -64,7 +64,9 @@ function popupSearchListHandle() {
64
64
  let isSingle=model.value.moreActionRouter.isSingle
65
65
  emit('popupSearchList', isSingle, model, model.value.moreActionRouter);
66
66
  }
67
-
67
+ function clickHandle(){
68
+ emit('change', model);
69
+ }
68
70
  defineExpose({
69
71
  model
70
72
  })
@@ -495,8 +495,10 @@ function uploadpro(filesize, res, xhr, flagError) {
495
495
  props.file.mediaUrl = media.mediaUrl;
496
496
  props.file.savedFileName = media.savedFileName;
497
497
  props.file.mediaDate = media.mediaDate;
498
+ props.file.mediaCode== media.mediaCode;
498
499
  props.file.width = canvas.value.width;
499
500
  props.file.height = canvas.value.height;
501
+
500
502
  emit('handleEditPhoto', props.file);
501
503
  }
502
504
  return true;
@@ -1145,7 +1145,13 @@ function refreshTableColumns(data) {
1145
1145
  load(SearchTable.loadSearchTableModel(data, model.value.searchModel, false, props.api));
1146
1146
  }
1147
1147
  else {
1148
- SearchTable.loadSearchTableApi(props.api, load, model.value.searchModel, true);
1148
+ if (refTableStats.value){
1149
+ disabledStats.value = true;
1150
+ getPage(1, true);
1151
+ }
1152
+ else{
1153
+ SearchTable.loadSearchTableApi(props.api, load, searchModel, true);
1154
+ }
1149
1155
  }
1150
1156
  model.value.searchStats = searchStats;
1151
1157
  model.value.toolbarKey = Math.random();
@@ -118,7 +118,7 @@
118
118
  <template v-else>
119
119
  <div class="viewerContent" style="max-height: 200px; text-align: center">
120
120
  <a :href="resultObject" target="_blank">
121
- <img :src="itemFile.thumbnailUrl" /><br />{{
121
+ <img :src="(itemFile.thumbnailUrl||itemFile.url)" /><br />{{
122
122
  itemFile.mediaLabelName || itemFile.fileName
123
123
  }}
124
124
  </a>
@@ -7,7 +7,10 @@ const CheckBoxList = function (source) {
7
7
 
8
8
  this._value = [];
9
9
  if (source.code1) {
10
- let val = JSON.parse(source.code1)
10
+ let val = source.code1
11
+ if (typeof source.code1 === 'string'){
12
+ val = JSON.parse(source.code1)
13
+ }
11
14
  val.forEach((v) => {
12
15
  if (v['code']) {
13
16
  if (!v['flagDeleted']) {
@@ -36,7 +39,10 @@ const CheckBoxList = function (source) {
36
39
  });
37
40
  });
38
41
  if (source.code1) {
39
- let checked = JSON.parse(source.code1)
42
+ let checked = source.code1
43
+ if (typeof source.code1 === 'string'){
44
+ checked = JSON.parse(source.code1)
45
+ }
40
46
  checked.forEach((v) => {
41
47
  let item = rtn.globalOptions.find((v1) => {
42
48
  return v1.code === v.code;
@@ -62,7 +68,11 @@ const CheckBoxList = function (source) {
62
68
  //初始数据
63
69
  get globalOptions() {
64
70
  if (source.code1) {
65
- return [].concat(JSON.parse(source.code1));
71
+ if (typeof source.code1 === 'string'){
72
+ return [].concat(JSON.parse(source.code1));
73
+ }
74
+ return [].concat(source.code1);
75
+
66
76
  }
67
77
  else {
68
78
  return []
@@ -511,6 +511,7 @@ function updateFile(file, model) {
511
511
  model.fileSourceList[j].mediaUrl = file.mediaUrl;
512
512
  model.fileSourceList[j].savedFileName = file.savedFileName;
513
513
  model.fileSourceList[j].mediaDate = file.mediaDate;
514
+ model.fileSourceList[j].mediaCode = file.mediaCode;
514
515
  break;
515
516
  }
516
517
  }
@@ -55,7 +55,7 @@ function loadFromModel(source, isFormList) {
55
55
  }
56
56
  },
57
57
  setActionRouter(id, attrKey, attrValue) {
58
- var router = source.actionRouters.find((v1) => {
58
+ var router = this.form.actionRouters.find((v1) => {
59
59
  return v1.key === id;
60
60
  });
61
61
  if (router) {
@@ -286,6 +286,18 @@ function loadFromModel(source, isFormList) {
286
286
  }
287
287
  return false;
288
288
  },
289
+ //设置表格选择路由
290
+ setListSelectRouter(tableId, attrKey, attrValue) {
291
+ let listData = this.excuteListData.find((v) => {
292
+ return v.fieldName1 === tableId;
293
+ });
294
+ if (listData) {
295
+ var router = listData.selectRouter;
296
+ if (router) {
297
+ router[attrKey] = attrValue;
298
+ }
299
+ }
300
+ },
289
301
  //设置表格属性值
290
302
  setListAttr(tableId, attrName, attrValue) {
291
303
  let listData = this.excuteListData.find((v) => {
@@ -188,7 +188,12 @@ const LibFunction = {
188
188
 
189
189
  }
190
190
  // var files = getMmdias(source, field);
191
- var files = field.code1 && field.code1 != "[]" ? JSON.parse(field.code1) : [];
191
+ var files = [];
192
+ if (Array.isArray(field.code1)) {
193
+ files = field.code1;
194
+ } else {
195
+ files= field.code1 && field.code1 != "[]" ? JSON.parse(field.code1) : [];
196
+ }
192
197
  item = Photo.loadFromModel(item, files, router, source.videoPlayIconUrl);
193
198
  item.is = 'ct-photo';
194
199
  break;
@@ -342,7 +342,7 @@ function updateFile(file, model) {
342
342
  model.fileSource[0].mediaUrl = file.mediaUrl;
343
343
  model.fileSource[0].savedFileName = file.savedFileName;
344
344
  model.fileSource[0].mediaDate = file.mediaDate;
345
-
345
+ model.fileSource[0].mediaCode = file.mediaCode;
346
346
 
347
347
  }
348
348
  function uploadguid() {
@@ -250,6 +250,9 @@ const Router = function (source) {
250
250
  get isMulti() {
251
251
  return source.selectedMode === Enum.ListSelectMode.Multiple;
252
252
  },
253
+ set selectedMode(v) {
254
+ source.selectedMode = v;
255
+ },
253
256
  // 路由操作完成后是否刷新当前行
254
257
  get flagFreshCurrentRow() {
255
258
  return source.flagFreshCurrentRow;
package/src/main.js CHANGED
@@ -21,12 +21,12 @@ for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
21
21
  }
22
22
 
23
23
  app.use(centaline, {
24
- //baseUrl:"http://10.88.22.66/IBS.Mvc/api/",
25
- baseUrl: "http://10.88.22.66:6060/onecard-api/",
24
+ baseUrl:"http://10.88.22.66/IBS.Mvc/api/",
25
+ //baseUrl: "http://10.88.22.66:6060/onecard-api/",
26
26
  //baseUrl: "http://10.1.245.50:38735/max-uplink-api/",
27
27
  //baseUrl: "http://10.1.245.111:38028/",
28
28
  flagRouterSelf: true,
29
- flagApp: false,//是否app端
29
+ flagApp: true,//是否app端
30
30
  zindex: 999,
31
31
  showRequestSuccessMessage: true,
32
32
  showRequestErrorMessage: true,
@@ -63,8 +63,8 @@ app.use(centaline, {
63
63
  return {
64
64
  //authObject: '{token:"aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjsOwjAQBe-ydVay1xvvOl3sJA2HiPIxElSIJBIIcXdAQEfPFK-YZt4Nlm2EChqtDafOYWqpRG6kxLoTxZhUTSRxHLUPH_DHfOmt5SDWt1gHScieHapNiol94q5pXYoNFJAvJ6isGHWmNMYVcBjWtyCr_iW2JZ93-fqPc8f18MwGIqFRCIO1GXmWGYd9npCZJ6N5JjYZ7g8AAAD__w.HgtNKtHWooj8c9Hy_vB8CfKq-qOeHMp0irnW0DfXtHo"}',
65
65
  //oldToken: 'd92d4a3b-2274-42e8-96f0-100ffb579b6e',
66
- authObject: '{token:"1-b0ca13fb-3f45-46b0-9d1f-7b028c05f6d3"}',
67
- //authObject: '{EmpID:"Token_937f0ada-8862-4c37-bf44-578531920446",MachineCode:"7a216b39-84af-43bb-842b-07604ac37a10",SSO_Token:"SSOToken_937f0ada-8862-4c37-bf44-578531920446",Platform:"WEB"}',
66
+ //authObject: '{token:"1647-1802885825978044416",platform:"WEB"}',
67
+ authObject: '{EmpID:"Token_db2d49d2-8f18-4491-a9c1-2b6bee44ad28",MachineCode:"7a216b39-84af-43bb-842b-07604ac37a10",SSO_Token:"SSOToken_db2d49d2-8f18-4491-a9c1-2b6bee44ad28",Platform:"IOS"}',
68
68
  };
69
69
  },
70
70
  // 请求完成事件,可判断是否登录过期执行响应操作
@@ -563,6 +563,12 @@ const common = {
563
563
  }
564
564
  return strCN;
565
565
  },
566
+ flagHK() {
567
+ if (dataDrivenOpts.language == 'HK') {
568
+ return true;
569
+ }
570
+ return false
571
+ },
566
572
  //是否微信浏览器
567
573
  flagMicroMessenger() {
568
574
  var ua = navigator.userAgent.toLowerCase();