diff --git a/src/components/BasicForm/components/BasicDateTime.vue b/src/components/BasicForm/components/BasicDateTime.vue
index 71296a2..a55af85 100644
--- a/src/components/BasicForm/components/BasicDateTime.vue
+++ b/src/components/BasicForm/components/BasicDateTime.vue
@@ -1,18 +1,25 @@
- 请选择{{ attrs.label }}
+ 请选择{{ attrs.label }}
{{ newValue }}
-
+
@@ -25,63 +32,66 @@
* @property minDate 开始时间
* @property maxDate 结束时间
*/
-import TimePicker from '@/components/BasicPicker/TimePicker/DatetimePicker.vue'
-import dayjs from 'dayjs'
+import TimePicker from "@/components/BasicPicker/TimePicker/DatetimePicker.vue";
+import dayjs from "dayjs";
-const popup = ref(null)
+const popup = ref(null);
-const props = defineProps(['modelValue'])
-const emit = defineEmits(['update:modelValue'])
+const props = defineProps(["modelValue"]);
+const emit = defineEmits(["update:modelValue"]);
const newValue = computed({
get() {
- return props.modelValue
+ return props.modelValue;
},
set(value) {
- emit('update:modelValue', value)
- }
-})
-const attrs: any = useAttrs()
+ emit("update:modelValue", value);
+ },
+});
+const attrs: any = useAttrs();
function open() {
if (!attrs.componentProps.disabled) {
- if (attrs.componentProps.open && typeof attrs.componentProps.open == 'function') {
- attrs.componentProps.open()
+ if (
+ attrs.componentProps.open &&
+ typeof attrs.componentProps.open == "function"
+ ) {
+ attrs.componentProps.open();
}
- popup.value.open()
+ popup.value.open();
}
}
if (attrs.componentProps && attrs.componentProps.today) {
if (!attrs.componentProps.mode) {
- attrs.componentProps.mode = 'datetime'
+ attrs.componentProps.mode = "datetime";
}
- if (attrs.componentProps.mode === 'date') {
- newValue.value = dayjs().format('YYYY-MM-DD')
+ if (attrs.componentProps.mode === "date") {
+ newValue.value = dayjs().format("YYYY-MM-DD");
}
- if (attrs.componentProps.mode === 'time') {
- newValue.value = dayjs().format('HH:mm')
+ if (attrs.componentProps.mode === "time") {
+ newValue.value = dayjs().format("HH:mm");
}
- if (attrs.componentProps.mode === 'datetime') {
- newValue.value = dayjs().format('YYYY-MM-DD HH:mm')
+ if (attrs.componentProps.mode === "datetime") {
+ newValue.value = dayjs().format("YYYY-MM-DD HH:mm");
}
}
function confirm(e: any) {
- const {value, mode} = e
- if (mode === 'date') {
- newValue.value = dayjs(value).format('YYYY-MM-DD')
+ const { value, mode } = e;
+ if (mode === "date") {
+ newValue.value = dayjs(value).format("YYYY-MM-DD");
}
- if (mode === 'time') {
- newValue.value = dayjs(value).format('HH:mm')
+ if (mode === "time") {
+ newValue.value = dayjs(value).format("HH:mm");
}
- if (mode === 'datetime') {
- newValue.value = dayjs(value).format('YYYY-MM-DD HH:mm')
+ if (mode === "datetime") {
+ newValue.value = dayjs(value).format("YYYY-MM-DD HH:mm");
}
- if (attrs.componentProps.ok && typeof attrs.componentProps.ok == 'function') {
- attrs.componentProps.ok(e)
+ if (mode === "year-month") {
+ newValue.value = dayjs(value).format("YYYY-MM");
+ }
+ if (attrs.componentProps.ok && typeof attrs.componentProps.ok == "function") {
+ attrs.componentProps.ok(e);
}
}
-
-
-
diff --git a/src/pages.json b/src/pages.json
index 611c6cf..2629017 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -244,6 +244,27 @@
"enablePullDownRefresh": false
}
},
+ {
+ "path": "pages/view/hr/teacherProfile/education",
+ "style": {
+ "navigationBarTitleText": "学历情况",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/view/hr/teacherProfile/qualification",
+ "style": {
+ "navigationBarTitleText": "教师资格",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/view/hr/teacherProfile/position",
+ "style": {
+ "navigationBarTitleText": "任教任职",
+ "enablePullDownRefresh": false
+ }
+ },
{
"path": "pages/view/hr/teacherProfile/TitleInfo",
"style": {
@@ -254,7 +275,7 @@
{
"path": "pages/view/hr/teacherProfile/PositionInfo",
"style": {
- "navigationBarTitleText": "任岗情况",
+ "navigationBarTitleText": "岗位变动情况",
"enablePullDownRefresh": false
}
},
@@ -399,13 +420,13 @@
"pagePath": "pages/base/service/index",
"iconPath": "static/tabBar/x2.png",
"selectedIconPath": "static/tabBar/2.png"
- },
- {
- "text": "我的",
- "pagePath": "pages/base/mine/index",
- "iconPath": "static/tabBar/x3.png",
- "selectedIconPath": "static/tabBar/3.png"
}
+ // {
+ // "text": "我的",
+ // "pagePath": "pages/base/mine/index",
+ // "iconPath": "static/tabBar/x3.png",
+ // "selectedIconPath": "static/tabBar/3.png"
+ // }
]
}
}
\ No newline at end of file
diff --git a/src/pages/base/service/index.vue b/src/pages/base/service/index.vue
index f8a1905..2174c6b 100644
--- a/src/pages/base/service/index.vue
+++ b/src/pages/base/service/index.vue
@@ -3,23 +3,61 @@