eoss-ui 0.8.15 → 0.8.17

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 (96) hide show
  1. package/lib/eoss-ui.common.js +207 -207
  2. package/lib/flow-list.js +96 -96
  3. package/lib/flow.js +83 -83
  4. package/lib/index.js +1 -1
  5. package/lib/main.js +5 -5
  6. package/lib/sizer.js +12 -12
  7. package/lib/theme-chalk/index.css +1 -1
  8. package/lib/theme-chalk/login.css +1 -1
  9. package/package.json +1 -1
  10. package/packages/button-group/src/main.vue +346 -346
  11. package/packages/calogin/src/main.vue +412 -412
  12. package/packages/clients/src/main.vue +151 -151
  13. package/packages/flow/src/component/CommonOpinions.vue +376 -376
  14. package/packages/flow/src/component/CustomPreset.vue +2 -2
  15. package/packages/flow/src/component/FileList.vue +97 -97
  16. package/packages/flow/src/component/Preset.vue +2 -2
  17. package/packages/flow/src/component/SendMsg.vue +242 -242
  18. package/packages/flow/src/component/SortFlow.vue +110 -110
  19. package/packages/flow/src/form.vue +123 -123
  20. package/packages/flow/src/freeStartFlow.vue +2 -2
  21. package/packages/flow/src/main.vue +2 -2
  22. package/packages/flow/src/processForm.vue +2 -2
  23. package/packages/flow/src/reset.vue +2 -2
  24. package/packages/flow/src/table.vue +58 -58
  25. package/packages/flow-list/src/main.vue +2337 -2337
  26. package/packages/form/src/table.vue +1512 -1512
  27. package/packages/icon/src/main.vue +104 -104
  28. package/packages/login/src/resetPassword.vue +557 -557
  29. package/packages/main/src/public/online.vue +89 -89
  30. package/packages/main/src/public/search.vue +464 -464
  31. package/packages/main/src/public/settings.vue +273 -273
  32. package/packages/main/src/simplicity/apps.vue +388 -388
  33. package/packages/main/src/simplicity/avatar.vue +82 -82
  34. package/packages/main/src/simplicity/handler.vue +158 -158
  35. package/packages/main/src/simplicity/menu-list.vue +135 -135
  36. package/packages/main/src/simplicity/message.vue +293 -293
  37. package/packages/main/src/simplicity/notice.vue +222 -222
  38. package/packages/main/src/simplicity/sub-menu.vue +276 -276
  39. package/packages/main/src/simplicity/user.vue +259 -259
  40. package/packages/main/src/simplicityTop/apps.vue +388 -388
  41. package/packages/main/src/simplicityTop/avatar.vue +82 -82
  42. package/packages/main/src/simplicityTop/handler.vue +215 -215
  43. package/packages/main/src/simplicityTop/lists.vue +84 -84
  44. package/packages/main/src/simplicityTop/menu-list.vue +135 -135
  45. package/packages/main/src/simplicityTop/message.vue +293 -293
  46. package/packages/main/src/simplicityTop/notice.vue +222 -222
  47. package/packages/main/src/simplicityTop/router-page.vue +45 -45
  48. package/packages/main/src/simplicityTop/sub-menu.vue +274 -274
  49. package/packages/main/src/simplicityTop/user.vue +259 -259
  50. package/packages/nav/src/main.vue +351 -351
  51. package/packages/selector/src/main.vue +761 -761
  52. package/packages/selector-panel/src/main.vue +1036 -1036
  53. package/packages/selector-panel/src/selection.vue +174 -174
  54. package/packages/sizer/src/main.vue +7 -4
  55. package/packages/switch/src/main.vue +170 -170
  56. package/packages/theme-chalk/lib/index.css +1 -1
  57. package/packages/theme-chalk/lib/login.css +1 -1
  58. package/packages/theme-chalk/src/data-table.scss +297 -297
  59. package/packages/theme-chalk/src/flow-list.scss +55 -55
  60. package/packages/theme-chalk/src/form.scss +501 -501
  61. package/packages/theme-chalk/src/handler.scss +148 -148
  62. package/packages/theme-chalk/src/icon.scss +3452 -3452
  63. package/packages/theme-chalk/src/login.scss +1006 -1006
  64. package/packages/theme-chalk/src/main.scss +664 -664
  65. package/packages/theme-chalk/src/menu.scss +224 -224
  66. package/packages/theme-chalk/src/selector.scss +114 -114
  67. package/packages/theme-chalk/src/simplicity-top.scss +1845 -1845
  68. package/packages/theme-chalk/src/simplicity.scss +1403 -1403
  69. package/packages/theme-chalk/src/tree.scss +165 -165
  70. package/packages/theme-chalk/src/upload.scss +172 -172
  71. package/packages/tips/src/main.vue +141 -141
  72. package/packages/wujie/src/main.vue +146 -146
  73. package/src/config/api.js +348 -348
  74. package/src/index.js +163 -163
  75. package/src/utils/rules.js +18 -18
  76. package/packages/.DS_Store +0 -0
  77. package/packages/calogin/.DS_Store +0 -0
  78. package/packages/date-picker/.DS_Store +0 -0
  79. package/packages/date-picker/src/.DS_Store +0 -0
  80. package/packages/dialog/.DS_Store +0 -0
  81. package/packages/flow/.DS_Store +0 -0
  82. package/packages/flow/src/.DS_Store +0 -0
  83. package/packages/flow-list/.DS_Store +0 -0
  84. package/packages/form/.DS_Store +0 -0
  85. package/packages/icon/.DS_Store +0 -0
  86. package/packages/login/.DS_Store +0 -0
  87. package/packages/main/.DS_Store +0 -0
  88. package/packages/main/src/.DS_Store +0 -0
  89. package/packages/menu/.DS_Store +0 -0
  90. package/packages/select/.DS_Store +0 -0
  91. package/packages/selector/.DS_Store +0 -0
  92. package/packages/selector-panel/.DS_Store +0 -0
  93. package/packages/theme-chalk/src/.DS_Store +0 -0
  94. package/packages/upload/.DS_Store +0 -0
  95. package/src/.DS_Store +0 -0
  96. package/src/utils/.DS_Store +0 -0
@@ -1,110 +1,110 @@
1
- <template>
2
- <div
3
- class="flow-sort-box"
4
- style="height: 100%;overflow-y: auto;"
5
- v-loading="loading"
6
- element-loading-text="加载中..."
7
- element-loading-spinner="el-icon-loading"
8
- element-loading-background="rgba(255, 255,255, 0.8)">
9
- <Draggable
10
- class="flow-sort-draggable"
11
- :list="sortList"
12
- >
13
- <es-button style="margin-top: 10px;" v-for="item in sortList" :key="item.id" plain>{{
14
- item.name
15
- }}</es-button></Draggable
16
- >
17
- <div class="flow-sort-btn">
18
- <es-button type="primary" @click="saveSort(true)">保存</es-button>
19
- <es-button @click="saveSort(false)">取消</es-button>
20
- </div>
21
- </div>
22
- </template>
23
-
24
- <script>
25
- import util from 'eoss-ui/src/utils/util';
26
- import Draggable from 'vuedraggable';
27
- import { toDefinitionChangeSort,setSort } from 'eoss-ui/src/config/api';
28
- export default {
29
- name: 'SortFlow',
30
- components: {
31
- Draggable
32
- },
33
- props: {
34
- flowTypeCode: {
35
- type: String,
36
- default: ''
37
- },
38
- defaultProcessKey: {
39
- type: String,
40
- default: ''
41
- }
42
- },
43
- data() {
44
- return {
45
- sortList: [],
46
- loading:false
47
- };
48
- },
49
- mounted() {
50
- this.getSortInfo();
51
- },
52
- methods: {
53
- saveSort(type){
54
- if(type){
55
- let arr = [];
56
- this.sortList.map((item,index)=>{
57
- arr.push({
58
- id:item.id,
59
- processDefId:item.processDefId,
60
- sort:this.sortList.length - index
61
- })
62
- });
63
- const params = {
64
- url: setSort,
65
- method: 'post',
66
- format: false,
67
- headers: {
68
- Accept: 'application/json,text/plain',
69
- 'Content-Type': 'application/json;charset=UTF-8'
70
- },
71
- data: arr
72
- };
73
- this.loading=true;
74
- util.ajax(params).then((res) => {
75
- this.loading=false;
76
- if (res.rCode === 0 || res.status=== 'success') {
77
- this.$message.success('保存成功');
78
- this.$emit('success',this.sortList)
79
- }
80
- }).catch(() => {
81
- this.loading=false;
82
- });
83
- }else{
84
- this.$emit('close')
85
- }
86
- },
87
- getSortInfo() {
88
- const params = {
89
- url: toDefinitionChangeSort,
90
- method: 'get',
91
- params: {
92
- flowTypeCode: this.flowTypeCode,
93
- defaultProcessKey: this.defaultProcessKey
94
- }
95
- };
96
- this.loading=true;
97
- util.ajax(params).then((res) => {
98
- this.loading=false;
99
- if (res.rCode === 0) {
100
- this.sortList = res.results.definitionList || [];
101
- }
102
- }).catch(() => {
103
- this.loading=false;
104
- });
105
- }
106
- }
107
- };
108
- </script>
109
-
110
- <style></style>
1
+ <template>
2
+ <div
3
+ class="flow-sort-box"
4
+ style="height: 100%;overflow-y: auto;"
5
+ v-loading="loading"
6
+ element-loading-text="加载中..."
7
+ element-loading-spinner="el-icon-loading"
8
+ element-loading-background="rgba(255, 255,255, 0.8)">
9
+ <Draggable
10
+ class="flow-sort-draggable"
11
+ :list="sortList"
12
+ >
13
+ <es-button style="margin-top: 10px;" v-for="item in sortList" :key="item.id" plain>{{
14
+ item.name
15
+ }}</es-button></Draggable
16
+ >
17
+ <div class="flow-sort-btn">
18
+ <es-button type="primary" @click="saveSort(true)">保存</es-button>
19
+ <es-button @click="saveSort(false)">取消</es-button>
20
+ </div>
21
+ </div>
22
+ </template>
23
+
24
+ <script>
25
+ import util from 'eoss-ui/src/utils/util';
26
+ import Draggable from 'vuedraggable';
27
+ import { toDefinitionChangeSort,setSort } from 'eoss-ui/src/config/api';
28
+ export default {
29
+ name: 'SortFlow',
30
+ components: {
31
+ Draggable
32
+ },
33
+ props: {
34
+ flowTypeCode: {
35
+ type: String,
36
+ default: ''
37
+ },
38
+ defaultProcessKey: {
39
+ type: String,
40
+ default: ''
41
+ }
42
+ },
43
+ data() {
44
+ return {
45
+ sortList: [],
46
+ loading:false
47
+ };
48
+ },
49
+ mounted() {
50
+ this.getSortInfo();
51
+ },
52
+ methods: {
53
+ saveSort(type){
54
+ if(type){
55
+ let arr = [];
56
+ this.sortList.map((item,index)=>{
57
+ arr.push({
58
+ id:item.id,
59
+ processDefId:item.processDefId,
60
+ sort:this.sortList.length - index
61
+ })
62
+ });
63
+ const params = {
64
+ url: setSort,
65
+ method: 'post',
66
+ format: false,
67
+ headers: {
68
+ Accept: 'application/json,text/plain',
69
+ 'Content-Type': 'application/json;charset=UTF-8'
70
+ },
71
+ data: arr
72
+ };
73
+ this.loading=true;
74
+ util.ajax(params).then((res) => {
75
+ this.loading=false;
76
+ if (res.rCode === 0 || res.status=== 'success') {
77
+ this.$message.success('保存成功');
78
+ this.$emit('success',this.sortList)
79
+ }
80
+ }).catch(() => {
81
+ this.loading=false;
82
+ });
83
+ }else{
84
+ this.$emit('close')
85
+ }
86
+ },
87
+ getSortInfo() {
88
+ const params = {
89
+ url: toDefinitionChangeSort,
90
+ method: 'get',
91
+ params: {
92
+ flowTypeCode: this.flowTypeCode,
93
+ defaultProcessKey: this.defaultProcessKey
94
+ }
95
+ };
96
+ this.loading=true;
97
+ util.ajax(params).then((res) => {
98
+ this.loading=false;
99
+ if (res.rCode === 0) {
100
+ this.sortList = res.results.definitionList || [];
101
+ }
102
+ }).catch(() => {
103
+ this.loading=false;
104
+ });
105
+ }
106
+ }
107
+ };
108
+ </script>
109
+
110
+ <style></style>
@@ -1,123 +1,123 @@
1
- <template>
2
- <div class="es-from" v-loading="loading">
3
- <el-form
4
- ref="dynamicValidateForm"
5
- :label-position="labelPosition"
6
- :model="newData"
7
- :label-width="labelWidth"
8
- class="demo-dynamic"
9
- >
10
- <el-form-item
11
- prop="sort"
12
- label="排序号"
13
- :rules="[{ required: true, message: `请输入排序号`, trigger: 'blur' }]"
14
- >
15
- <el-input
16
- v-model="newData.sort"
17
- :placeholder="`请输入入排序号`"
18
- ></el-input>
19
- </el-form-item>
20
- <el-form-item
21
- prop="content"
22
- label="内容"
23
- :rules="[{ required: true, message: `请输入内容`, trigger: 'blur' }]"
24
- >
25
- <el-input
26
- v-model="newData.content"
27
- type="textarea"
28
- :rows="3"
29
- :placeholder="`请输入内容`"
30
- ></el-input>
31
- </el-form-item>
32
- <!-- <el-form-item> -->
33
- <!-- </el-form-item> -->
34
- </el-form>
35
- <div style="text-align: right">
36
- <el-button
37
- v-show="showSubBtn"
38
- type="primary"
39
- size="small"
40
- @click="submitForm('dynamicValidateForm')"
41
- >
42
- 保存
43
- </el-button>
44
- </div>
45
- </div>
46
- </template>
47
-
48
- <script>
49
- import { addCommonOpion, editCommonOpion } from 'eoss-ui/src/config/api';
50
- import util from 'eoss-ui/src/utils/util';
51
- export default {
52
- name: 'ideas',
53
- componentName: 'ideas',
54
- props: {
55
- data: {
56
- type: Object,
57
- default: () => {}
58
- },
59
- formItemList: {
60
- type: Array,
61
- default: () => []
62
- },
63
- labelWidth: {
64
- type: String,
65
- default: '100px'
66
- },
67
- showSubBtn: {
68
- type: Boolean,
69
- default: true
70
- },
71
- labelPosition: {
72
- type: String,
73
- default: 'left'
74
- }
75
- },
76
- data() {
77
- return {
78
- formList: [],
79
- loading: false,
80
- newData: {},
81
- index: 0
82
- };
83
- },
84
- mounted() {
85
- this.data.id ? this.add(this.data.id) : this.add();
86
- },
87
- methods: {
88
- add(id) {
89
- this.loading = true;
90
- util
91
- .ajax({
92
- url: id ? editCommonOpion : addCommonOpion,
93
- params: { id }
94
- })
95
- .then((res) => {
96
- const { status, message, data } = res;
97
- if (status == 'success') {
98
- this.newData = data.bean;
99
- } else {
100
- this.$message.error(message || '系统错误,请联系管理员!');
101
- }
102
- this.loading = false;
103
- })
104
- .catch((err) => {
105
- this.loading = false;
106
- if (err.message && err.message !== 'canceled') {
107
- this.$message.error(err.message);
108
- }
109
- });
110
- },
111
- submitForm(formName) {
112
- this.$refs[formName].validate((valid) => {
113
- if (valid) {
114
- this.$emit('subMit', { addVisible: false, data: this.newData });
115
- this.$emit('sub-mit', { addVisible: false, data: this.newData });
116
- } else {
117
- return false;
118
- }
119
- });
120
- }
121
- }
122
- };
123
- </script>
1
+ <template>
2
+ <div class="es-from" v-loading="loading">
3
+ <el-form
4
+ ref="dynamicValidateForm"
5
+ :label-position="labelPosition"
6
+ :model="newData"
7
+ :label-width="labelWidth"
8
+ class="demo-dynamic"
9
+ >
10
+ <el-form-item
11
+ prop="sort"
12
+ label="排序号"
13
+ :rules="[{ required: true, message: `请输入排序号`, trigger: 'blur' }]"
14
+ >
15
+ <el-input
16
+ v-model="newData.sort"
17
+ :placeholder="`请输入入排序号`"
18
+ ></el-input>
19
+ </el-form-item>
20
+ <el-form-item
21
+ prop="content"
22
+ label="内容"
23
+ :rules="[{ required: true, message: `请输入内容`, trigger: 'blur' }]"
24
+ >
25
+ <el-input
26
+ v-model="newData.content"
27
+ type="textarea"
28
+ :rows="3"
29
+ :placeholder="`请输入内容`"
30
+ ></el-input>
31
+ </el-form-item>
32
+ <!-- <el-form-item> -->
33
+ <!-- </el-form-item> -->
34
+ </el-form>
35
+ <div style="text-align: right">
36
+ <el-button
37
+ v-show="showSubBtn"
38
+ type="primary"
39
+ size="small"
40
+ @click="submitForm('dynamicValidateForm')"
41
+ >
42
+ 保存
43
+ </el-button>
44
+ </div>
45
+ </div>
46
+ </template>
47
+
48
+ <script>
49
+ import { addCommonOpion, editCommonOpion } from 'eoss-ui/src/config/api';
50
+ import util from 'eoss-ui/src/utils/util';
51
+ export default {
52
+ name: 'ideas',
53
+ componentName: 'ideas',
54
+ props: {
55
+ data: {
56
+ type: Object,
57
+ default: () => {}
58
+ },
59
+ formItemList: {
60
+ type: Array,
61
+ default: () => []
62
+ },
63
+ labelWidth: {
64
+ type: String,
65
+ default: '100px'
66
+ },
67
+ showSubBtn: {
68
+ type: Boolean,
69
+ default: true
70
+ },
71
+ labelPosition: {
72
+ type: String,
73
+ default: 'left'
74
+ }
75
+ },
76
+ data() {
77
+ return {
78
+ formList: [],
79
+ loading: false,
80
+ newData: {},
81
+ index: 0
82
+ };
83
+ },
84
+ mounted() {
85
+ this.data.id ? this.add(this.data.id) : this.add();
86
+ },
87
+ methods: {
88
+ add(id) {
89
+ this.loading = true;
90
+ util
91
+ .ajax({
92
+ url: id ? editCommonOpion : addCommonOpion,
93
+ params: { id }
94
+ })
95
+ .then((res) => {
96
+ const { status, message, data } = res;
97
+ if (status == 'success') {
98
+ this.newData = data.bean;
99
+ } else {
100
+ this.$message.error(message || '系统错误,请联系管理员!');
101
+ }
102
+ this.loading = false;
103
+ })
104
+ .catch((err) => {
105
+ this.loading = false;
106
+ if (err.message && err.message !== 'canceled') {
107
+ this.$message.error(err.message);
108
+ }
109
+ });
110
+ },
111
+ submitForm(formName) {
112
+ this.$refs[formName].validate((valid) => {
113
+ if (valid) {
114
+ this.$emit('subMit', { addVisible: false, data: this.newData });
115
+ this.$emit('sub-mit', { addVisible: false, data: this.newData });
116
+ } else {
117
+ return false;
118
+ }
119
+ });
120
+ }
121
+ }
122
+ };
123
+ </script>
@@ -2200,9 +2200,9 @@ export default {
2200
2200
  }
2201
2201
  if (val == 5 || val == 6) {
2202
2202
  this.params.filid = this.userModel.orgId;
2203
- this.params.deptid = this.userModel.orgId;
2203
+ this.params.mydeptid = this.userModel.depId;
2204
2204
  if (choiceDeptId) {
2205
- this.params.deptid = choiceDeptId;
2205
+ this.params.mydeptid = choiceDeptId;
2206
2206
  }
2207
2207
  if (choiceOrgId) {
2208
2208
  this.params.filid = choiceOrgId;
@@ -3104,9 +3104,9 @@ this.$confirm('确认提交?', '提示', {
3104
3104
  }
3105
3105
  if (val == 5 || val == 6) {
3106
3106
  this.params.filid = this.userModel.orgId;
3107
- this.params.deptid = this.userModel.orgId;
3107
+ this.params.mydeptid = this.userModel.depId;
3108
3108
  if (choiceDeptId) {
3109
- this.params.deptid = choiceDeptId;
3109
+ this.params.mydeptid = choiceDeptId;
3110
3110
  }
3111
3111
  if (choiceOrgId) {
3112
3112
  this.params.filid = choiceOrgId;
@@ -1539,9 +1539,9 @@ export default {
1539
1539
  }
1540
1540
  if (val == 5 || val == 6) {
1541
1541
  params.filid = this.userModel.orgId;
1542
- params.deptid = this.userModel.orgId;
1542
+ params.mydeptid = this.userModel.depId;
1543
1543
  if (choiceDeptId) {
1544
- params.deptid = choiceDeptId;
1544
+ params.mydeptid = choiceDeptId;
1545
1545
  }
1546
1546
  if (choiceOrgId) {
1547
1547
  params.filid = choiceOrgId;
@@ -832,9 +832,9 @@ export default {
832
832
  }
833
833
  if (val == 5 || val == 6) {
834
834
  params.filid = this.userModel.orgId;
835
- params.deptid = this.userModel.orgId;
835
+ params.mydeptid = this.userModel.depId;
836
836
  if (choiceDeptId) {
837
- params.deptid = choiceDeptId;
837
+ params.mydeptid = choiceDeptId;
838
838
  }
839
839
  if (choiceOrgId) {
840
840
  params.filid = choiceOrgId;
@@ -1,58 +1,58 @@
1
- <template>
2
- <el-table
3
- :data="dataList"
4
- border
5
- stripe
6
- style="width: 100%; margin-top: 10px"
7
- >
8
- <el-table-column
9
- v-for="item of tableHead"
10
- :key="item.id"
11
- align="center"
12
- :prop="item.prop"
13
- :label="item.lable"
14
- :width="item.prop != 'content' && 180"
15
- v-bind="$attrs"
16
- ></el-table-column>
17
- <el-table-column label="操作" width="100" align="center">
18
- <template v-if="scope.row.userid" slot-scope="scope">
19
- <el-button type="text" size="small" @click="handleClick(scope.row)"
20
- >编辑</el-button
21
- >
22
- <el-button type="text" size="small" @click="delClick(scope.row)"
23
- >删除</el-button
24
- >
25
- </template>
26
- </el-table-column>
27
- </el-table>
28
- </template>
29
-
30
- <script>
31
- export default {
32
- name: 'Table',
33
- componentName: 'Table',
34
- props: {
35
- dataList: {
36
- type: Array,
37
- default: () => []
38
- },
39
- tableHead: {
40
- type: Array,
41
- default: () => [
42
- { id: 0, lable: '内容', prop: 'content' },
43
- { id: 1, lable: '用户', prop: 'username' }
44
- ]
45
- }
46
- },
47
- methods: {
48
- handleClick(val) {
49
- this.$emit('upDateClick', val);
50
- this.$emit('up-date-click', val);
51
- },
52
- delClick(val) {
53
- this.$emit('delClick', val);
54
- this.$emit('del-click', val);
55
- }
56
- }
57
- };
58
- </script>
1
+ <template>
2
+ <el-table
3
+ :data="dataList"
4
+ border
5
+ stripe
6
+ style="width: 100%; margin-top: 10px"
7
+ >
8
+ <el-table-column
9
+ v-for="item of tableHead"
10
+ :key="item.id"
11
+ align="center"
12
+ :prop="item.prop"
13
+ :label="item.lable"
14
+ :width="item.prop != 'content' && 180"
15
+ v-bind="$attrs"
16
+ ></el-table-column>
17
+ <el-table-column label="操作" width="100" align="center">
18
+ <template v-if="scope.row.userid" slot-scope="scope">
19
+ <el-button type="text" size="small" @click="handleClick(scope.row)"
20
+ >编辑</el-button
21
+ >
22
+ <el-button type="text" size="small" @click="delClick(scope.row)"
23
+ >删除</el-button
24
+ >
25
+ </template>
26
+ </el-table-column>
27
+ </el-table>
28
+ </template>
29
+
30
+ <script>
31
+ export default {
32
+ name: 'Table',
33
+ componentName: 'Table',
34
+ props: {
35
+ dataList: {
36
+ type: Array,
37
+ default: () => []
38
+ },
39
+ tableHead: {
40
+ type: Array,
41
+ default: () => [
42
+ { id: 0, lable: '内容', prop: 'content' },
43
+ { id: 1, lable: '用户', prop: 'username' }
44
+ ]
45
+ }
46
+ },
47
+ methods: {
48
+ handleClick(val) {
49
+ this.$emit('upDateClick', val);
50
+ this.$emit('up-date-click', val);
51
+ },
52
+ delClick(val) {
53
+ this.$emit('delClick', val);
54
+ this.$emit('del-click', val);
55
+ }
56
+ }
57
+ };
58
+ </script>