cloud-web-corejs 1.0.121 → 1.0.122

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.
@@ -47,7 +47,7 @@
47
47
  <i class="el-icon-close el-icon"></i>
48
48
  {{ $t1('取 消') }}
49
49
  </el-button>
50
- <el-button type="primary" @click="dialogPrimary" class="button-sty">
50
+ <el-button type="primary" @click="confirmDialog" class="button-sty">
51
51
  <i class="el-icon-check el-icon"></i>
52
52
  {{ $t1('确 定') }}
53
53
  </el-button>
@@ -57,76 +57,9 @@
57
57
 
58
58
  <script>
59
59
  import {selectDialogMixins} from '@base/mixins/selectDialog/index.js';
60
+ import mixin from "./mixins/wfTaskUserRangeDialog";
60
61
 
61
62
  export default {
62
- props: ['visiable', 'multi', 'rows','rangeTableDatas', 'param','current_prefix','modelId','taskDefinitionKey'],
63
- mixins: [selectDialogMixins],
64
- created() {
65
- this.initSetting();
66
- },
67
- mounted() {
68
- this.initTableM1();
69
- },
70
- data() {
71
- var that = this;
72
- return {
73
- showDialog: true,
74
- falseValue: false,
75
- selectMulti: true,
76
- formData: {},
77
- vxeOption: {},
78
- tableData: [],
79
- fieldKey:"userId"
80
- };
81
- },
82
- methods: {
83
- initTableM1() {
84
- this.tableData = this.$baseLodash.cloneDeep(this.rangeTableDatas || []);
85
- let that = this;
86
- let tableOption = {
87
- vue: that,
88
- tableRef: 'table-m1',
89
- tableName: 'wf_task_user_range_dialog-m1',
90
- /*path: this.current_prefix + '/wf_task_user_range/list',
91
- param: () => {
92
- return {
93
- modelId:this.modelId,
94
- taskDefinitionKey:this.taskDefinitionKey,
95
- }
96
- }, */
97
- columns: [
98
- {type: 'checkbox', fixed: 'left', width: 48, resizable: false},
99
- {
100
- title: this.$t1('候选人姓名'),
101
- field: 'nickName',
102
- width: 250,
103
- fixed: 'left'
104
- },
105
- {
106
- width: 47,
107
- fixed: 'right',
108
- title: '',
109
- sortable: false
110
- }
111
- ],
112
- config: {
113
- checkboxConfig: {
114
- checkStrictly: true,
115
- showHeader: this.selectMulti,
116
- trigger: 'row'
117
- },
118
- /* proxyConfig: {
119
- props: {
120
- result: "objx",
121
- total: "objx.length",
122
- }
123
- } */
124
- }
125
- };
126
- this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
127
- that.vxeOption = opts;
128
- });
129
- }
130
- }
63
+ mixins: [selectDialogMixins,mixin]
131
64
  };
132
65
  </script>