manage-client 4.1.135 → 4.1.136
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
|
@@ -101,14 +101,14 @@
|
|
|
101
101
|
<th>表名</th>
|
|
102
102
|
<th>保存人</th>
|
|
103
103
|
<th>保存时间</th>
|
|
104
|
-
|
|
104
|
+
<th>操作</th>
|
|
105
105
|
</tr>
|
|
106
106
|
</template>
|
|
107
107
|
<template partial='body' >
|
|
108
108
|
<td>{{row.f_files_name}}</td>
|
|
109
109
|
<td>{{row.f_operator}}</td>
|
|
110
110
|
<td>{{row.f_operate_date}}</td>
|
|
111
|
-
|
|
111
|
+
<td><button type="button" class="btn btn-link" @click.stop="$parent.$parent.$parent.delete(row)">删除</button></td>
|
|
112
112
|
</template>
|
|
113
113
|
</data-grid>
|
|
114
114
|
</criteria-paged>
|
|
@@ -177,6 +177,12 @@ export default {
|
|
|
177
177
|
this.reportHistory = true
|
|
178
178
|
this.model.search('1=1')
|
|
179
179
|
},
|
|
180
|
+
delete (row) {
|
|
181
|
+
this.$resetdelete('rs/entity/t_report_record', {id: row.id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
|
|
182
|
+
this.$dispatch('delect-report', '删除计划', row)
|
|
183
|
+
this.search()
|
|
184
|
+
})
|
|
185
|
+
},
|
|
180
186
|
getReportInfo (tname, cond) {
|
|
181
187
|
this.$resetpost('api/af-revenue/sql/manageSingleTable',{data: {
|
|
182
188
|
tablename: tname ? tname : this.tablename,
|