cnhis-design-vue 0.1.77-beta → 0.1.81-beta

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.
Files changed (35) hide show
  1. package/es/big-table/index.js +44 -25
  2. package/es/big-table/style.css +1 -1
  3. package/es/img/no-data2.0ca9388b.png +0 -0
  4. package/es/index/index.js +642 -358
  5. package/es/index/style.css +1 -1
  6. package/es/multi-chat/index.js +91 -64
  7. package/es/multi-chat/style.css +1 -1
  8. package/es/multi-chat-client/index.js +8 -0
  9. package/es/multi-chat-setting/index.js +32 -19
  10. package/es/multi-chat-setting/style.css +1 -1
  11. package/es/scale-view/index.js +46 -37
  12. package/es/scale-view/style.css +1 -1
  13. package/es/table-filter/index.js +428 -204
  14. package/es/table-filter/style.css +1 -1
  15. package/es/utils/vexutils.js +21 -0
  16. package/lib/cui.common.js +902 -572
  17. package/lib/cui.umd.js +902 -572
  18. package/lib/cui.umd.min.js +40 -40
  19. package/lib/img/no-data2.0ca9388b.png +0 -0
  20. package/package.json +2 -2
  21. package/packages/big-table/src/BigTable.vue +20 -1
  22. package/packages/big-table/src/assets/style/table-base.less +9 -1
  23. package/packages/multi-chat/chat/index.vue +2 -1
  24. package/packages/multi-chat/chat/scrollList.vue +56 -28
  25. package/packages/multi-chat/img/no-data2.png +0 -0
  26. package/packages/multi-chat/setting/baseInfo/index.vue +5 -0
  27. package/packages/scale-view/scaleView.vue +13 -8
  28. package/packages/table-filter/src/base-search-com/BaseSearch.vue +53 -44
  29. package/packages/table-filter/src/components/multi-select/multi-select.vue +69 -20
  30. package/packages/table-filter/src/components/multi-select/select-pages.vue +72 -0
  31. package/packages/table-filter/src/components/out-quick-search/out-quick-search.vue +13 -37
  32. package/packages/table-filter/src/mixins/mixins.js +7 -0
  33. package/packages/table-filter/src/mixins/wordBookutils.js +98 -0
  34. package/packages/table-filter/src/quick-search/QuickSearch.vue +22 -38
  35. package/src/utils/vexutils.js +17 -1
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "0.1.77-beta",
3
+ "version": "0.1.81-beta",
4
4
  "description": "基于 Ant Desgin Vue 的UI库",
5
5
  "keyword": "cnhis-design-vue vue cnhis",
6
6
  "homepage": "http://dv.cnhis.com/",
@@ -93,4 +93,4 @@
93
93
  "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
94
94
  }
95
95
  }
96
- }
96
+ }
@@ -106,6 +106,18 @@
106
106
  <NoData :noDataImg="emptyItems.noDataImg" :noDataTip="emptyItems.noDataTip" :showImg="!isNestTable"></NoData>
107
107
  </div>
108
108
  </template>
109
+ <!-- 修复 vxe-table升级3.x版本 原自定义checkbox样式失效 -->
110
+ <template v-slot:tooltip_checkbox="{ row, checked }">
111
+ <a-tooltip
112
+ v-if="row.forbiddenBatchSelect"
113
+ :title="row.forbiddenBatchSelectReason"
114
+ placement="right"
115
+ trigger="hover"
116
+ >
117
+ <i class="disabled-checked-tips"></i>
118
+ </a-tooltip>
119
+ <a-checkbox class="tooltip-checkbox-item" v-else :checked="checked"></a-checkbox>
120
+ </template>
109
121
  <template v-slot:tooltip_footer="{ column }">
110
122
  <!-- 分组统计 -->
111
123
  <template v-if="groupCountFields && groupCountFields.length">
@@ -1319,7 +1331,14 @@ export default create({
1319
1331
  visible: isBatchSelect == 1 && !this.isNestTable,
1320
1332
  resizable: false,
1321
1333
  width: checkMinWidth,
1322
- slots: selectType === 'checkbox' ? checkboxSlot : null,
1334
+ // slots: selectType === 'checkbox' ? checkboxSlot : null,
1335
+ // 修复 vxe-table升级3.x版本 原自定义checkbox样式失效
1336
+ slots:
1337
+ selectType === "checkbox"
1338
+ ? {
1339
+ checkbox: "tooltip_checkbox"
1340
+ }
1341
+ : null,
1323
1342
  showOverflow: true
1324
1343
  }
1325
1344
  ];
@@ -229,7 +229,7 @@ body {
229
229
  }
230
230
  /deep/ .disabled-checked-tips {
231
231
  position: absolute;
232
- left: 0;
232
+ left: 6px;
233
233
  top: 50%;
234
234
  bottom: 0;
235
235
  right: 0;
@@ -325,3 +325,11 @@ body {
325
325
  width: var(--tableImageWidth);
326
326
  }
327
327
  }
328
+
329
+
330
+ /deep/.vxe-table--body .tooltip-checkbox-item {
331
+ .ant-checkbox:not(.ant-checkbox-checked) .ant-checkbox-inner {
332
+ border-radius: 2px;
333
+ border: 2px solid #5585f5 !important;
334
+ }
335
+ }
@@ -410,8 +410,9 @@ export default {
410
410
  },
411
411
  async created() {
412
412
  this.init();
413
- this.registerEvent('searchCurrenChatList', keyword => {
413
+ this.registerEvent('searchCurrenChatList', ({type = 'change', keyword}) => {
414
414
  this.handleKeywordsChange({ target: { value: keyword } });
415
+ type == 'pressEnter' && this.handleKeywordsSearch({ target: { value: keyword } });
415
416
  });
416
417
  this.registerEvent('updatePanelTab', this.onlyGroup);
417
418
  },
@@ -84,7 +84,7 @@ export default {
84
84
  const data = {
85
85
  ...item,
86
86
  title,
87
- width: w,
87
+ // width: w,
88
88
  field: `_${key}_`,
89
89
  showHeaderOverflow: true,
90
90
  showOverflow: true
@@ -416,7 +416,11 @@ export default {
416
416
  this.$set(item, 'count', '');
417
417
  });
418
418
  }
419
- let params = { assemblyId: this.assemblyId };
419
+ // let params = { assemblyId: this.assemblyId };
420
+ let params = {
421
+ ...this.getDateParams(),
422
+ assemblyId: this.assemblyId,
423
+ };
420
424
  fetch
421
425
  .get('/chat/service/getQueueUsers', {
422
426
  params
@@ -891,6 +895,7 @@ export default {
891
895
  }
892
896
  const { theme, currentTab, processedScrollList, handleInfiniteOnLoad, busy, infiniteMsgShow, foldTheme, classifyIcon } = this;
893
897
  const isEnd = currentTab === 'end';
898
+ const isNoData = !processedScrollList?.length;
894
899
  const filters = this.$options.filters;
895
900
  const directives = [
896
901
  {
@@ -899,7 +904,7 @@ export default {
899
904
  }
900
905
  ];
901
906
  function getAvatar(item) {
902
- return <Avatar className="avatar" src={item.portrait} name={item.name || item.toName || item.title} len={2} />;
907
+ return <Avatar className="avatar" src={item.portrait} name={item.name || item.toName || item.title || item.titleSetting} len={2} />;
903
908
  }
904
909
  function getContent(item, filters, fold, classifyIcon) {
905
910
  const { formatName, formatCount } = filters;
@@ -951,32 +956,41 @@ export default {
951
956
  }
952
957
  return (
953
958
  <div class={[theme, 'chat-scroll-container']}>
954
- <ul class="chat-scroll-session__list">
955
- {processedScrollList.map((item, index) => {
956
- const msgCount = item.msgCount;
957
- return (
958
- <li class={{ 'scroll-item': true, active: this.isActive(item) }} key={item.id || item.bid || index} onClick={() => this.handleClick(item)} id={'item_id_' + item.id}>
959
- {foldTheme
960
- ? [
961
- <a-popover overlayClassName="chat-list-popover--fold" placement="right" destroyTooltipOnHide={true}>
962
- <template slot="content">{getContent(item, filters, foldTheme, classifyIcon)}</template>
963
- {getAvatar(item)}
964
- </a-popover>,
965
- msgCount ? <div class="chat-scroll-session__num">{msgCount > 99 ? '99+' : msgCount}</div> : null
966
- ]
967
- : [getAvatar(item), getContent(item, filters, foldTheme, classifyIcon)]}
968
- </li>
969
- );
970
- })}
971
- </ul>
972
- {isEnd ? (
973
- <div {...{ directives }} infinite-scroll-immediate-check="immediate" infinite-scroll-disabled={busy} infinite-scroll-distance={10}>
974
- <div class="infinite-wrap" style={infiniteMsgShow ? '' : 'display:none'}>
975
- <a-spin size="small" />
976
- {foldTheme ? '' : '加载中'}
977
- </div>
959
+ {!isNoData ? (
960
+ [
961
+ <ul class="chat-scroll-session__list">
962
+ {processedScrollList.map((item, index) => {
963
+ const msgCount = item.msgCount;
964
+ return (
965
+ <li class={{ 'scroll-item': true, active: this.isActive(item) }} key={item.id || item.bid || index} onClick={() => this.handleClick(item)} id={'item_id_' + item.id}>
966
+ {foldTheme
967
+ ? [
968
+ <a-popover overlayClassName="chat-list-popover--fold" placement="right" destroyTooltipOnHide={true}>
969
+ <template slot="content">{getContent(item, filters, foldTheme, classifyIcon)}</template>
970
+ {getAvatar(item)}
971
+ </a-popover>,
972
+ msgCount ? <div class="chat-scroll-session__num">{msgCount > 99 ? '99+' : msgCount}</div> : null
973
+ ]
974
+ : [getAvatar(item), getContent(item, filters, foldTheme, classifyIcon)]}
975
+ </li>
976
+ );
977
+ })}
978
+ </ul>,
979
+ isEnd ? (
980
+ <div {...{ directives }} infinite-scroll-immediate-check="immediate" infinite-scroll-disabled={busy} infinite-scroll-distance={10}>
981
+ <div class="infinite-wrap" style={infiniteMsgShow ? '' : 'display:none'}>
982
+ <a-spin size="small" />
983
+ {foldTheme ? '' : '加载中'}
984
+ </div>
985
+ </div>
986
+ ) : null
987
+ ]
988
+ ) : (
989
+ <div class="no-data">
990
+ <img src={require('../img/no-data2.png')} />
991
+ <span>{this.i18nText('1.1.6.11')}</span>
978
992
  </div>
979
- ) : null}
993
+ )}
980
994
  </div>
981
995
  );
982
996
  }
@@ -984,6 +998,20 @@ export default {
984
998
  </script>
985
999
 
986
1000
  <style lang="less">
1001
+ .no-data {
1002
+ flex: 1;
1003
+ display: flex;
1004
+ flex-direction: column;
1005
+ justify-content: center;
1006
+ align-items: center;
1007
+ & > img {
1008
+ width: 160px;
1009
+ }
1010
+ span {
1011
+ display: inline-block;
1012
+ font-size: 14px;
1013
+ }
1014
+ }
987
1015
  .chat-scroll-container {
988
1016
  height: 100%;
989
1017
  overflow-y: auto;
@@ -8,6 +8,7 @@
8
8
  <a-form-item>
9
9
  <a-checkbox @change="handleTimeSettingShow" :checked="showTimeSetting">{{ i18nText('1.9.402') }}</a-checkbox>
10
10
  <a-checkbox v-model="readStatus">已读回执</a-checkbox>
11
+ <a-checkbox v-model="lineUpNotice">排队提醒</a-checkbox>
11
12
  </a-form-item>
12
13
  <template v-if="showTimeSetting">
13
14
  <a-row class="time-setting">
@@ -374,6 +375,7 @@ export default {
374
375
  showBotSetting: false,
375
376
  evaluate: false,
376
377
  readStatus: false,
378
+ lineUpNotice: false,
377
379
  evaluateId: '',
378
380
  timeLengths: [5, 10, 20, 30, 40, 50, 60],
379
381
  functionSetting: [], // 服务端功能
@@ -532,9 +534,11 @@ export default {
532
534
  chatPublicCategory,
533
535
  evaluate,
534
536
  readStatus,
537
+ lineUpNotice,
535
538
  broadcast
536
539
  } = setting;
537
540
  this.readStatus = readStatus === 'Y';
541
+ this.lineUpNotice = lineUpNotice === 'Y';
538
542
  this.showTimeSetting = timingSettingSwitch === '1';
539
543
  this.isListClassify = isListClassify;
540
544
  this.rightClickSetting = rightClickSetting;
@@ -837,6 +841,7 @@ export default {
837
841
  }
838
842
  setting.evaluate.isChecked = this.evaluate ? 'Y' : 'N';
839
843
  setting.readStatus = this.readStatus ? 'Y' : 'N';
844
+ setting.lineUpNotice = this.lineUpNotice ? 'Y' : 'N';
840
845
  this.submitData.setting = JSON.stringify(setting);
841
846
  this.submitData.type = 'BASE_INFORMATION';
842
847
  this.submitData.assemblyId = this.assemblyId;
@@ -1288,21 +1288,26 @@ export default create({
1288
1288
  },
1289
1289
  // 保存
1290
1290
  onSubmit() {
1291
- // 判断有无测评配置 并且在测评时间内
1292
- let { evaluateResultSetting } = this.config;
1293
- if (
1294
- (!evaluateResultSetting || !Object.keys(evaluateResultSetting).length) &&
1295
- !this.showEvaluateEntry
1296
- ) {
1291
+ // 不包含测评组件,点击提交,弹出二次确认对话框,确认要提交吗?
1292
+ let hasEvaluate = this.formArray.find(item => this.isEvaluation(item.type));
1293
+ if (!hasEvaluate) {
1297
1294
  this.confirmSubmit("确认要提交吗?");
1298
1295
  return;
1299
1296
  }
1297
+ // 包含测评组件,不包含考试时长,点击提交,弹出二次确认对话框,确认要结束测评吗?
1298
+ // 判断有无测评配置 并且在测评时间内
1299
+ // 无倒计时
1300
+ let { evaluateResultSetting } = this.config;
1300
1301
  let countdownDom = this.$refs.evaluateCountdown;
1301
- if (!countdownDom?.showEvaluateCountdown) {
1302
+ if (
1303
+ !evaluateResultSetting ||
1304
+ (!Object.keys(evaluateResultSetting).length && !this.showEvaluateEntry) ||
1305
+ !countdownDom?.showEvaluateCountdown
1306
+ ) {
1302
1307
  this.confirmSubmit("确认要结束测评吗?");
1303
1308
  return;
1304
1309
  }
1305
-
1310
+ // 在倒计时内
1306
1311
  let message = "确认要提前结束测评吗?";
1307
1312
  let setAnswered = this.$refs.evaluateCountdown?.setAnswered;
1308
1313
  let totalLen = this.$refs.evaluateCountdown?.totalLen;
@@ -8,7 +8,7 @@
8
8
  设置
9
9
  <!-- {{ $t("1.1.5.3") }} -->
10
10
  </a-button>
11
- <a-dropdown overlayClassName="viewList-dropdown" v-if="editTableSource != 'relatedComponent'">
11
+ <a-dropdown overlayClassName="viewList-dropdown" v-if="showViewList">
12
12
  <a-button class="viewList-button">
13
13
  <svg-icon :icon-class="'anniuqiehuanmoshi'" style="font-size: 22px"></svg-icon>
14
14
  </a-button>
@@ -29,31 +29,29 @@
29
29
  </li>
30
30
  <!-- start--筛选外显--start -->
31
31
  <template v-for="item in outSearchFieldList">
32
- <outQuickSearch
33
- :key="item.id"
34
- :item="item"
35
- :filterApiConfig="filterApiConfigOutSearch"
36
- @outFilterChange="outFilterChange"
37
- ></outQuickSearch>
32
+ <outQuickSearch :key="item.id" :item="item" :filterApiConfig="filterApiConfigOutSearch" @outFilterChange="outFilterChange"></outQuickSearch>
38
33
  </template>
39
34
  <!-- end--筛选外显--end -->
40
35
 
41
36
  <!-- start--筛选外显 跨表--start -->
42
37
  <template v-for="relationItem in outRelationQuickSearch">
43
38
  <template v-for="item in relationItem.fieldList">
44
- <outQuickSearch
45
- :key="item.id"
46
- :item="item"
47
- :filterApiConfig="filterApiConfigOutSearch"
48
- @outFilterChange="outFilterChange"
49
- ></outQuickSearch>
39
+ <outQuickSearch :key="item.id" :item="item" :filterApiConfig="filterApiConfigOutSearch" @outFilterChange="outFilterChange"></outQuickSearch>
50
40
  </template>
51
41
  </template>
52
42
  <!-- end--筛选外显 跨表--end -->
53
43
 
54
44
  <li v-if="isShowSetting('hideSearch') && !showRelatedTreeBtn" ref="inputSearchLi" class="baseSearch-input-search">
55
45
  <template v-if="outSearchFieldList && outSearchFieldList.length">
56
- <a-input :style="{ width, margin: '0 8px 8px 0' }" allowClear placeholder="请输入关键字搜索" :value="currentValue" @input="$emit('input', $event.target.value)" @pressEnter="outFilterChange"> </a-input>
46
+ <a-input
47
+ :style="{ width, margin: '0 8px 8px 0' }"
48
+ allowClear
49
+ placeholder="请输入关键字搜索"
50
+ :value="currentValue"
51
+ @input="$emit('input', $event.target.value)"
52
+ @pressEnter="outFilterChange"
53
+ >
54
+ </a-input>
57
55
  </template>
58
56
  <a-input-search
59
57
  v-else
@@ -231,8 +229,11 @@
231
229
  :baseUrl="printConfig.printBaseUrl"
232
230
  :strategy="item.strategy"
233
231
  :btnText="item.name"
232
+ :versionType="item.__printConfig && item.__printConfig.versionType"
233
+ :port="item.__printConfig && item.__printConfig.port"
234
234
  :authorizationKey="item.__printConfig && item.__printConfig.authorizationKey"
235
235
  :templateNumber="item.__printConfig && item.__printConfig.number"
236
+ :hisParams="item.__printConfig && item.__printConfig.hisParams"
236
237
  :params="getPrintBtnParams(item)"
237
238
  :prevFn="() => printBtnPrevFn(clickRowData, item, 2, j)"
238
239
  @success="receivePrintSuccess"
@@ -294,13 +295,7 @@
294
295
  </template>
295
296
  <!-- 行内编辑对应生成的(保存、取消)按钮 -->
296
297
  <template v-if="visibleInlineOperateBtn">
297
- <a-button
298
- :style="{ display: isInlineOperating ? 'inline-block' : 'none' }"
299
- @click="inlineEditClick"
300
- class="btn-custom-class"
301
- style="margin: 0 8px 8px 0"
302
- type="primary"
303
- >
298
+ <a-button :style="{ display: isInlineOperating ? 'inline-block' : 'none' }" @click="inlineEditClick" class="btn-custom-class" style="margin: 0 8px 8px 0" type="primary">
304
299
  保存
305
300
  </a-button>
306
301
  <a-button :style="{ display: isInlineOperating ? 'inline-block' : 'none' }" @click="inlineEditCancel" class="btn-custom-class" style="margin: 0 8px 8px 0">
@@ -413,7 +408,7 @@ export default create({
413
408
  showButtonTop: [String, Number],
414
409
  showSettings: {
415
410
  type: Object,
416
- default: ()=>({})
411
+ default: () => ({})
417
412
  },
418
413
  clickRowData: Object,
419
414
  value: String,
@@ -517,9 +512,9 @@ export default create({
517
512
  default: false
518
513
  },
519
514
 
520
- tabConditionList:{
515
+ tabConditionList: {
521
516
  type: Array,
522
- default: () =>([])
517
+ default: () => []
523
518
  },
524
519
 
525
520
  lastOutSearchFieldList: {
@@ -534,7 +529,7 @@ export default create({
534
529
  type: Array,
535
530
  default: () => []
536
531
  },
537
- /**
532
+ /**
538
533
  * 筛选外显
539
534
  */
540
535
  filterApiConfigOutSearch: {
@@ -605,13 +600,7 @@ export default create({
605
600
  }
606
601
 
607
602
  // 只有一个按钮 分组按钮 非自适应
608
- if (
609
- list.length === 1 &&
610
- list[0].buttonGroup &&
611
- list[0].isButtonGroup &&
612
- !list[0].isShowFoldGroupBtn
613
- )
614
- return false;
603
+ if (list.length === 1 && list[0].buttonGroup && list[0].isButtonGroup && !list[0].isShowFoldGroupBtn) return false;
615
604
 
616
605
  let visibleList = list.filter(item => item.isVisible && !item.buttonGroup);
617
606
  if (!visibleList || !visibleList.length) return false;
@@ -642,7 +631,7 @@ export default create({
642
631
  showRelatedSearchFold() {
643
632
  if (
644
633
  !this.isShowSettingBtn &&
645
- !this.isShowSetting("hideQuickSearch") &&
634
+ !this.isShowSetting('hideQuickSearch') &&
646
635
  this.outSearchFieldList.length == 0 &&
647
636
  this.outRelationQuickSearch.length == 0 &&
648
637
  !this.showResetFilterBtn &&
@@ -713,6 +702,17 @@ export default create({
713
702
  // 是否有高级筛选外显
714
703
  showOutSearch() {
715
704
  return this.outSearchFieldList?.length || this.outRelationQuickSearch?.length;
705
+ },
706
+ showViewList(){
707
+ if (this.editTableSource === "relatedComponent") {
708
+ return this.relatedBaseInfo.showType != "TREE";
709
+ }
710
+ return !this.optionsValue('hideViewList');
711
+ },
712
+ optionsValue() {
713
+ return function(key) {
714
+ return this.$attrs.tableOptions?.[key];
715
+ }
716
716
  }
717
717
  },
718
718
  data() {
@@ -759,7 +759,7 @@ export default create({
759
759
  printBtn: {},
760
760
  groupBtnObj: {},
761
761
  btnObj: BTNOBJ,
762
- printBtnStrategys: [],// 打印按钮组策略list
762
+ printBtnStrategys: [], // 打印按钮组策略list
763
763
  outRelationQuickSearch: [] // 关联表 筛选外显
764
764
  };
765
765
  },
@@ -1377,7 +1377,7 @@ export default create({
1377
1377
  // 添加批量打印策略:strategy: MULTI(循环多条, 默认值, 为空时使用该策略) ONCE(聚合一条)
1378
1378
  this.rowPrintBtnList = rowPrintBtnList.map(item => {
1379
1379
  const obj = this.printBtnStrategys.find(v => v.id === item.settingObj[0].trigger_id);
1380
- item.strategy = obj?.setting ? JSON.parse(obj.setting).strategy : "MULTI";
1380
+ item.strategy = obj?.setting ? JSON.parse(obj.setting).strategy : 'MULTI';
1381
1381
  return item;
1382
1382
  });
1383
1383
 
@@ -1601,10 +1601,7 @@ export default create({
1601
1601
  // 跨表
1602
1602
  let outRelationQuickSearch = this.relationTableList.map(item => {
1603
1603
  return {
1604
- fieldList:
1605
- item.fieldList.fieldList.filter(
1606
- item => item.isShowSearch == 1 && item.filterExplicit == 1
1607
- ) || [],
1604
+ fieldList: item.fieldList.fieldList.filter(item => item.isShowSearch == 1 && item.filterExplicit == 1) || [],
1608
1605
  tableName: item.tableName,
1609
1606
  primaryField: item.primaryField,
1610
1607
  parameterConversionId: item.parameterConversionId,
@@ -1617,7 +1614,7 @@ export default create({
1617
1614
  };
1618
1615
  });
1619
1616
  outRelationQuickSearch = outRelationQuickSearch.filter(item => item.fieldList.length);
1620
- this.$set(this, "outRelationQuickSearch", outRelationQuickSearch);
1617
+ this.$set(this, 'outRelationQuickSearch', outRelationQuickSearch);
1621
1618
  this.dealOutFilterHideBtn();
1622
1619
  this.handlerInitSearchItem(this.outSearchFieldList);
1623
1620
  this.outRelationQuickSearch.forEach(item => {
@@ -1626,7 +1623,7 @@ export default create({
1626
1623
  if (this.lastOutSearchFieldList.length > 0) {
1627
1624
  this.outSearchFieldList = _.cloneDeep(this.lastOutSearchFieldList);
1628
1625
  }
1629
- if (this.lastOutRelationQuickSearch.length) {
1626
+ if (this.lastOutRelationQuickSearch.length) {
1630
1627
  this.outRelationQuickSearch = this.$utils.clone(this.lastOutRelationQuickSearch, true);
1631
1628
  }
1632
1629
  },
@@ -1714,7 +1711,7 @@ export default create({
1714
1711
  const obj = {
1715
1712
  table: i
1716
1713
  };
1717
- paramsArray.push(utils.setParamsValue(setData[0].params, Object.assign(paramsData,{obj})));
1714
+ paramsArray.push(utils.setParamsValue(setData[0].params, Object.assign(paramsData, { obj })));
1718
1715
  });
1719
1716
 
1720
1717
  return paramsArray;
@@ -1725,7 +1722,10 @@ export default create({
1725
1722
  printNumberList.forEach((item, index) => {
1726
1723
  cloneList[index].__printConfig = {
1727
1724
  number: item.number,
1728
- authorizationKey: item.authorizationKey
1725
+ authorizationKey: item.authorizationKey,
1726
+ port: item.port,
1727
+ versionType: item.versionType,
1728
+ hisParams: { reportid: item.number }
1729
1729
  };
1730
1730
  });
1731
1731
 
@@ -1751,7 +1751,9 @@ export default create({
1751
1751
  list = data.list.map(item => {
1752
1752
  return {
1753
1753
  number: item.number,
1754
- authorizationKey: data.authorizationKey
1754
+ authorizationKey: data.authorizationKey,
1755
+ versionType: data.versionType,
1756
+ port: data.port
1755
1757
  };
1756
1758
  });
1757
1759
  this.setPrintNumberCache({
@@ -1924,6 +1926,13 @@ export default create({
1924
1926
  // 查找默认值
1925
1927
  // let curItem = this.viewList.find(v => v.mark == 1);
1926
1928
  this.currentTempId = curItem || '0';
1929
+
1930
+ // 按钮打卡视图列表
1931
+ let tableViewId= this.optionsValue('tableViewId')
1932
+ let onlyOpenView = this.optionsValue('hideViewList') && tableViewId
1933
+ if(onlyOpenView) {
1934
+ this.currentTempId = tableViewId
1935
+ }
1927
1936
  // this.handlerSelectTemp(this.currentTempId);
1928
1937
  this.$emit('handlerChangeView', this.currentTempId);
1929
1938
  } else {