소스 검색

前台 全部档案问题 修复

AlvisLiu 1 년 전
부모
커밋
dee4e4bc2d
4개의 변경된 파일4743개의 추가작업 그리고 5개의 파일을 삭제
  1. 2 1
      src/components/stu-doc-item/index.vue
  2. 6 2
      src/pages/teacher/studoc/studocAll.vue
  3. 6 2
      src/pages/teacher/studoc/studocSingle.vue
  4. 4729 0
      yarn.lock

+ 2 - 1
src/components/stu-doc-item/index.vue

@@ -4,9 +4,10 @@ import { Plus, Calendar, Search } from "@element-plus/icons-vue";
 import { ElMessage, ElMessageBox } from "element-plus";
 
 
-const optionRadio = ref(props.docInfo.dxxd_wxdj);
+
 
 const props = defineProps(['docInfo', 'd'])
+const optionRadio = ref(props.docInfo.dxxd_wxdj);
 
 const emit = defineEmits(['func']);
 

+ 6 - 2
src/pages/teacher/studoc/studocAll.vue

@@ -23,10 +23,14 @@ const tempParams = ref("");
 const allStuDocData = ref("");
 //初始化数据-档案
 const InitData = () => {
-  if (dataTime.value.length == 0) {
+  if (dataTime.value == '') {
     tempParams.value = "";
   } else {
-    tempParams.value = dataTime.value[0] + " - " + dataTime.value[1];
+    if (dataTime.value==null ) {
+      tempParams.value=""
+    } else {
+      tempParams.value = dataTime.value[0] + " - " + dataTime.value[1];
+    }
   }
   request({
     url: "/dyaw/xlfw_xsda_dajl/index",

+ 6 - 2
src/pages/teacher/studoc/studocSingle.vue

@@ -20,10 +20,14 @@ const tempParams = ref("");
 const singleStuDocData = ref("");
 //初始化数据-档案
 const InitData = () => {
-  if (dataTime.value.length == 0) {
+  if (dataTime.value == "") {
     tempParams.value = '';
   } else {
-    tempParams.value = dataTime.value[0] + " - " + dataTime.value[1];
+    if (dataTime.value==null ) {
+      tempParams.value=""
+    } else {
+      tempParams.value = dataTime.value[0] + " - " + dataTime.value[1];
+    }
   }
   request({
     url: "/dyaw/xlfw_xsda_dajl/index",

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 4729 - 0
yarn.lock