zhengnaiwen_citu 5 månader sedan
förälder
incheckning
6be5f8d927

+ 3 - 1
src/App.vue

@@ -15,5 +15,7 @@ export default {
 }
 </script>
 <style lang="scss">
-
+#nprogress .bar {
+  background: $theme-color !important;
+}
 </style>

+ 20 - 0
src/views/humanResources/accumulatePoints/accumulatePointsApply/accumulatePointsApplyEdit.vue

@@ -0,0 +1,20 @@
+<template>
+  <m-dialog ref="dialog">
+
+  </m-dialog>
+</template>
+
+<script>
+export default {
+  name: 'accumulatePointsApplyEdit',
+  methods: {
+    open () {
+      this.$refs.dialog.open()
+    }
+  }
+}
+</script>
+
+<style lang="scss" scoped>
+
+</style>

+ 7 - 2
src/views/humanResources/accumulatePoints/accumulatePointsEntering/index.vue → src/views/humanResources/accumulatePoints/accumulatePointsApply/index.vue

@@ -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('确定删除吗?', '提示')

+ 15 - 0
src/views/humanResources/accumulatePoints/accumulatePointsRules/accumulatePointsRulesEdit.vue

@@ -0,0 +1,15 @@
+<template>
+  <div>
+
+  </div>
+</template>
+
+<script>
+export default {
+  name: 'accumulatePointsRulesEdit'
+}
+</script>
+
+<style lang="scss" scoped>
+
+</style>