|
@@ -18,6 +18,7 @@
|
|
|
<m-button type="danger" text @click="onDelete(row)">删除</m-button>
|
|
|
</template>
|
|
|
</m-table>
|
|
|
+ <AccumulatePointsApplyEdit ref="accumulatePointsApplyEditRefs"></AccumulatePointsApplyEdit>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -26,8 +27,12 @@ import {
|
|
|
// getAccumulatePointList,
|
|
|
deleteAccumulatePoint
|
|
|
} from '@/api/accumulatePoint'
|
|
|
+import AccumulatePointsApplyEdit from './accumulatePointsApplyEdit.vue'
|
|
|
export default {
|
|
|
name: 'accumulatePointsEntering',
|
|
|
+ components: {
|
|
|
+ AccumulatePointsApplyEdit
|
|
|
+ },
|
|
|
data () {
|
|
|
return {
|
|
|
searchItems: [
|
|
@@ -74,10 +79,10 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
onAdd () {
|
|
|
- this.$refs.accumulatePointRefs.open()
|
|
|
+ this.$refs.accumulatePointsApplyEditRefs.open()
|
|
|
},
|
|
|
onEdit (item) {
|
|
|
- this.$refs.accumulatePointRefs.open(item)
|
|
|
+ this.$refs.accumulatePointsApplyEditRefs.open(item)
|
|
|
},
|
|
|
onDelete (row) {
|
|
|
this.$confirm('确定删除吗?', '提示')
|