diff --git a/src/pages.json b/src/pages.json index 3fe2429..9a577db 100644 --- a/src/pages.json +++ b/src/pages.json @@ -168,6 +168,12 @@ "navigationBarTitleText": "升职申请" } }, + { + "path": "detail", + "style": { + "navigationBarTitleText": "升职申请" + } + }, { "path": "create", "style": { @@ -200,6 +206,7 @@ ] }, { +<<<<<<< HEAD "root": "pages/ask-leave", "pages": [ { @@ -212,12 +219,41 @@ "path": "create", "style": { "navigationBarTitleText": "请假申请" +======= + "root": "pages/train-books", + "pages": [ + { + "path": "index", + "style": { + "navigationBarTitleText": "培训课件" +>>>>>>> bef6694e8063f41c6890ee243e7b32e9f248c252 } }, { "path": "detail", "style": { +<<<<<<< HEAD "navigationBarTitleText": "请假详情" +======= + "navigationBarTitleText": "培训课件" + } + } + ] + }, + { + "root": "pages/examination", + "pages": [ + { + "path": "index", + "style": { + "navigationBarTitleText": "培训考试" + } + }, + { + "path": "detail", + "style": { + "navigationBarTitleText": "培训考试" +>>>>>>> bef6694e8063f41c6890ee243e7b32e9f248c252 } } ] diff --git a/src/pages/examination/detail.vue b/src/pages/examination/detail.vue new file mode 100644 index 0000000..60d29a1 --- /dev/null +++ b/src/pages/examination/detail.vue @@ -0,0 +1,68 @@ + + \ No newline at end of file diff --git a/src/pages/examination/index.vue b/src/pages/examination/index.vue new file mode 100644 index 0000000..001e4b0 --- /dev/null +++ b/src/pages/examination/index.vue @@ -0,0 +1,41 @@ + + \ No newline at end of file diff --git a/src/pages/make-card/create.vue b/src/pages/make-card/create.vue index 69cce34..6158a6d 100644 --- a/src/pages/make-card/create.vue +++ b/src/pages/make-card/create.vue @@ -68,7 +68,7 @@ const formRef = ref(null) const datetimePicker = ref(null) const pickerRef = ref(null) const modalRef = ref(null) -// const value = ref(Number(new Date()) +const value = ref(Number(new Date())) const id = ref(0) const loading = ref(false) const form = reactive({ @@ -108,6 +108,7 @@ onLoad(options => { } }) .then(res => { + value.value = res.date form.date = timeFormat(res.date, "yyyy-mm-dd hh:MM") form.reason = res.reason form.isOutSide = res.sign_type == 1 ? false : true diff --git a/src/pages/revert/index.vue b/src/pages/revert/index.vue index 2232c4e..c63fff2 100644 --- a/src/pages/revert/index.vue +++ b/src/pages/revert/index.vue @@ -1,7 +1,13 @@