3
0

3 Revīzijas 8bd917b88b ... 0e6f7ca9f7

Autors SHA1 Ziņojums Datums
  lmm 0e6f7ca9f7 Merge remote-tracking branch 'origin/master' 2 mēneši atpakaļ
  lmm 3ab0471ea7 Merge remote-tracking branch 'origin/master' 2 mēneši atpakaļ
  lmm 5bd3875fd5 Merge remote-tracking branch 'origin/master' 2 mēneši atpakaļ

+ 3 - 3
src/views/museums/photogroup/PhotosIndex.vue

@@ -26,12 +26,12 @@
 <!--          class="!w-240px"-->
 <!--        />-->
 <!--      </el-form-item>-->
-      <el-form-item label="上传时间" prop="createdAt">
+      <el-form-item label="创建时间" prop="createdAt">
         <el-date-picker
           v-model="queryParams.createdAt"
           value-format="YYYY-MM-DD"
           type="date"
-          placeholder="选择上传时间"
+          placeholder="选择创建时间"
           clearable
           class="!w-240px"
         />
@@ -97,7 +97,7 @@
       </el-table-column>
 
       <el-table-column
-        label="上传时间"
+        label="创建时间"
         align="center"
         prop="createdAt"
         :formatter="dateFormatter"

+ 3 - 3
src/views/museums/photogroup/index.vue

@@ -28,12 +28,12 @@
           class="!w-220px"
         />
       </el-form-item>
-      <el-form-item label="上传时间" prop="createdAt" label-width="100px">
+      <el-form-item label="创建时间" prop="createdAt" label-width="100px">
         <el-date-picker
           v-model="queryParams.createdAt"
           value-format="YYYY-MM-DD"
           type="date"
-          placeholder="选择上传时间"
+          placeholder="选择创建时间"
           clearable
           class="!w-240px"
         />
@@ -101,7 +101,7 @@
 <!--        width="180px"-->
 <!--      />-->
       <el-table-column
-        label="上传时间"
+        label="创建时间"
         align="center"
         prop="createTime"
         :formatter="dateFormatter"

+ 6 - 2
src/views/museums/specimeninfo/SpecimenImportForm.vue

@@ -146,13 +146,17 @@ const submitForm = async () => {
 /** 文件上传成功 */
 const emits = defineEmits(['success'])
 const submitFormSuccess = (response: any) => {
-  if (response.code !== 0) {
+
+  console.log(response.data.code != 0 , response.data.code)
+  if (response.data.code != 0) {
     message.error(response.msg)
     formLoading.value = false
     return
   }
   // 拼接提示语
-  const data = response.data
+
+  const data = response.data.data
+  console.log(data)
   let text = '上传成功数量:' + data.createSpecimenNumbers.length + ';'
   for (let specimenInfodata of data.createSpecimenNumbers) {
     text += '标本编号:' + specimenInfodata + '、'