n20-common-lib 2.17.5 → 2.17.6
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
|
@@ -47,14 +47,7 @@
|
|
|
47
47
|
</div>
|
|
48
48
|
<el-link slot="reference" :underline="false" icon="el-icon-chat-dot-round">{{ $lc('常用审批意见') }}</el-link>
|
|
49
49
|
</el-popover>
|
|
50
|
-
<ClDialog
|
|
51
|
-
v-drag
|
|
52
|
-
:visible.sync="setSpr"
|
|
53
|
-
:title="'常用审批意见' | $lc"
|
|
54
|
-
width="800px"
|
|
55
|
-
append-to-body
|
|
56
|
-
top="7.5vh"
|
|
57
|
-
>
|
|
50
|
+
<ClDialog v-drag :visible.sync="setSpr" :title="'常用审批意见' | $lc" width="800px" append-to-body top="7.5vh">
|
|
58
51
|
<div class="flex-box flex-r flex-v m-b-s">
|
|
59
52
|
<i
|
|
60
53
|
v-title="$lc('此处只可设置个人常用审批意见,全局需到工作流审批意见设置中设置')"
|
|
@@ -240,7 +233,6 @@ export default {
|
|
|
240
233
|
break
|
|
241
234
|
case '删除':
|
|
242
235
|
if (row.id) this.deleteList.push({ ...row, appNoType: 'delte' })
|
|
243
|
-
console.log(index)
|
|
244
236
|
this.tableDataA.splice(index, 1)
|
|
245
237
|
break
|
|
246
238
|
case '批量删除':
|
|
@@ -248,6 +240,9 @@ export default {
|
|
|
248
240
|
this.$message.warning('请选择要删除的数据')
|
|
249
241
|
return false
|
|
250
242
|
}
|
|
243
|
+
this.selectValue.forEach((item) => {
|
|
244
|
+
if (item.id) this.deleteList.push({ ...item, appNoType: 'delte' })
|
|
245
|
+
})
|
|
251
246
|
this.tableDataA = this.tableDataA.filter((item) => !this.selectValue.includes(item))
|
|
252
247
|
break
|
|
253
248
|
case '编辑':
|
|
@@ -300,6 +295,7 @@ export default {
|
|
|
300
295
|
this.tableData = this.getOnlyData(data.list || [])
|
|
301
296
|
})
|
|
302
297
|
}
|
|
298
|
+
this.deleteList = []
|
|
303
299
|
},
|
|
304
300
|
getOnlyData(data) {
|
|
305
301
|
let result = []
|