diff --git a/src/assets/js/useListData.js b/src/assets/js/useListData.js index a1b79eb..c9d68de 100644 --- a/src/assets/js/useListData.js +++ b/src/assets/js/useListData.js @@ -104,4 +104,4 @@ export const layoutFnGetHiddenLevelList = async () => { DICTIONARIES_ID: "5e7cf8620ba54ad89719d0be62133c7a", }); return ref(resData); -}; \ No newline at end of file +}; diff --git a/src/request/api.js b/src/request/api.js index 0434b80..ebf0e20 100644 --- a/src/request/api.js +++ b/src/request/api.js @@ -28,3 +28,5 @@ export const setVideo = (params) => post("/app/audioOrVideo/createUploadVideo", params); // 阿里云上传视频 export const setVideoRefresh = (params) => post("/app/audioOrVideo/refreshUploadVideo", params); // 阿里云上传视频刷新凭证 +export const getAppVersion = (params) => + post("/app/versionmanager/getVersion", params); // 获取动态路由 diff --git a/src/views/enterprise_management/user_practitioner/choiceadd.vue b/src/views/enterprise_management/user_practitioner/choiceadd.vue index 1a6c386..4a17484 100644 --- a/src/views/enterprise_management/user_practitioner/choiceadd.vue +++ b/src/views/enterprise_management/user_practitioner/choiceadd.vue @@ -53,7 +53,7 @@ - + @@ -455,13 +455,16 @@ : '' " > - + @@ -1053,9 +1056,6 @@ const fnGetData = async (USER_ID) => { form.QUALIFICATION_CERTIFICATE_VALIDITY = [ item.ID_VALIDITY_START, item.ID_VALIDITY_END, - - - ]; form.QUALIFICATION_CERTIFICATE_VALIDITY_START = item.ID_VALIDITY_START; form.QUALIFICATION_CERTIFICATE_VALIDITY_END = item.ID_VALIDITY_END; @@ -1081,6 +1081,9 @@ const fnGetData = async (USER_ID) => { data.form.SHIFTDUTYONE = ""; data.form.SHIFTDUTYTWO = ""; data.form.BZ = ""; + data.form.IS_SAFETY = 0; + data.form.ISHEAD = "0"; + data.form.ISLEADER = "0"; }; const fnGetUserRole = async () => { @@ -1278,7 +1281,7 @@ const fnSubmit = debounce( // ElMessage.error("已超过可创建用户数量"); // return; // } - formData.append("choice","choice") + formData.append("choice", "choice"); await setPractitionerAdd(formData); } else { if ( diff --git a/src/views/enterprise_management/user_practitioner/components/select_person.vue b/src/views/enterprise_management/user_practitioner/components/select_person.vue index 55246eb..1382ad1 100644 --- a/src/views/enterprise_management/user_practitioner/components/select_person.vue +++ b/src/views/enterprise_management/user_practitioner/components/select_person.vue @@ -8,10 +8,7 @@ - + @@ -24,10 +21,7 @@ - + @@ -129,7 +123,6 @@ const fnSubmit = debounce( }, { atBegin: true } ); - diff --git a/src/views/hidden_danger_government/rectification/index.vue b/src/views/hidden_danger_government/rectification/index.vue index 27736a6..bcc20ef 100644 --- a/src/views/hidden_danger_government/rectification/index.vue +++ b/src/views/hidden_danger_government/rectification/index.vue @@ -15,7 +15,12 @@ - + @@ -128,7 +133,9 @@ import { useRouter } from "vue-router"; import { serialNumber, translationStatus } from "@/assets/js/utils"; import useButtonJurisdiction from "@/assets/js/useButtonJurisdiction.js"; -import useListData, { layoutFnGetHiddenLevelList } from "@/assets/js/useListData.js"; +import useListData, { + layoutFnGetHiddenLevelList, +} from "@/assets/js/useListData.js"; import { getHiddenDangerListAll } from "@/request/hidden_danger_government.js"; import { ElMessage } from "element-plus"; diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 13520ea..4f62e6f 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -62,7 +62,7 @@ >
{ + const resData = await getAppVersion(); + data.qyAppSrc = VITE_FILE_URL + resData.pd.FILEURL; +}; +await fnAppVersion(); const fnLogin = debounce( 1000, () => { diff --git a/src/views/training_process_management/class_management/index.vue b/src/views/training_process_management/class_management/index.vue index f99a02f..35b9bad 100644 --- a/src/views/training_process_management/class_management/index.vue +++ b/src/views/training_process_management/class_management/index.vue @@ -129,11 +129,7 @@ width="150" fixed="left" /> - + diff --git a/src/views/training_resource_management/course_management/view.vue b/src/views/training_resource_management/course_management/view.vue index 95d799e..123283e 100644 --- a/src/views/training_resource_management/course_management/view.vue +++ b/src/views/training_resource_management/course_management/view.vue @@ -42,7 +42,11 @@ {{ item.NAME || item.COURSEWARENAME }} - + 课件时长:{{ secondConversion(item.VIDEOTIME) }}