fei
10 小时以前 e81f448084ab4f340860598498f035df23a9d014
修改了相关代码
10个文件已修改
95 ■■■■■ 已修改文件
src/router/index.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/archiveAnnotation/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/archiveCategory/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/archiveDoublePdf/index.vue 32 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/archiveExport/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/archiveManager/archiveMaterial/index.vue 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/archiveManager/index.vue 27 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/archivePlaceName/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/archiveProjectName/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/archiveSignature/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/index.js
@@ -123,7 +123,7 @@
      },
      //案卷详细信息管理
      {
        path: 'archiveMaterialManager/:recordId/:pageCount/:sho/:recordStrId/:inquiryNumber',
        path: 'archiveMaterialManager/:recordId/:pageCount/:sho/:recordStrId/:inquiryNumber/:filingNumber',
        component: () => import('@/views/archiveManager/archiveMaterial/index'),
        name: 'ArchiveMaterialManager',
        meta: { title: '详细信息', activeMenu: '/archiveManager/infoManager' }
src/views/archiveAnnotation/index.vue
@@ -116,7 +116,7 @@
import { listAnnotation, getAnnotation, delAnnotation, addAnnotation, updateAnnotation } from "@/api/system/annotation"
export default {
  name: "Annotation",
  name: "ArchiveAnnotation",
  data() {
    return {
      // 遮罩层
src/views/archiveCategory/index.vue
@@ -153,7 +153,7 @@
import { listCategory, getCategory, delCategory, addCategory, updateCategory, enload } from "@/api/system/category"
export default {
  name: "Category",
  name: "ArchiveCategory",
  data() {
    return {
      // 遮罩层
src/views/archiveDoublePdf/index.vue
@@ -21,12 +21,12 @@
          <div class="el-upload__tip" slot="tip">支持单个或批量上传,请选择PDF文件</div>
        </el-upload>
      </div>
      <!-- 下载按钮区域 - 上传前禁用,上传后可用 -->
      <div class="download-container" style="white-space: nowrap;">
        <el-button
          type="primary"
          icon="el-icon-download"
        <el-button
          type="primary"
          icon="el-icon-download"
          @click="downloadFile"
          :disabled="!canDownload"
        >
@@ -43,9 +43,9 @@
            </a>
          </div>
          <div>
            <el-button
              type="text"
              icon="el-icon-copy-document"
            <el-button
              type="text"
              icon="el-icon-copy-document"
              @click="copyLink"
              size="small"
            >
@@ -62,7 +62,7 @@
import { getToken } from '@/utils/auth'
import { getPdfFile } from '@/api/system/dpdf'
export default {
  name: "DoublePdf",
  name: "Pdf",
  data() {
    return {
      fid: '',
@@ -123,22 +123,22 @@
    getList() {
      this.loading = true
    },
    /** 上传前检查 */
    beforeUpload(file) {
      const isPdf = file.type === 'application/pdf'
      const isLt50M = file.size / 1024 / 1024 < 50
      if (!isPdf) {
        this.$message.error('上传文件只能是 PDF 格式!')
      }
      if (!isLt50M) {
        this.$message.error('上传文件大小不能超过 50MB!')
      }
      return isPdf && isLt50M
    },
    /** 上传成功处理 */
    handleUploadSuccess(response) {
      console.log(response)
@@ -157,7 +157,7 @@
        this.$message.error(response.msg || '上传失败')
      }
    },
    /** 获取下载链接 */
    downloadFile() {
      // 发起ajax请求获取下载链接
@@ -183,7 +183,7 @@
        this.$message.error('获取下载链接失败,请重试')
      })
    },
    /** 复制链接到剪贴板 */
    copyLink() {
      if (this.displayedDownloadLink) {
@@ -194,7 +194,7 @@
        textarea.style.opacity = '0'
        document.body.appendChild(textarea)
        textarea.select()
        try {
          document.execCommand('copy')
          this.$message.success('链接已复制到剪贴板')
@@ -206,7 +206,7 @@
        }
      }
    },
    /** 上传失败处理 */
    handleUploadError(err) {
      this.$message.error('上传失败,请重试')
src/views/archiveExport/index.vue
@@ -529,7 +529,7 @@
import { listPlaceName } from "@/api/system/placeName"
import { archiveAllExport } from "@/api/system/archiveEx"
export default {
  name: "Records",
  name: "AchiveExport/info",
  data() {
    return {
      open_check: false,
src/views/archiveManager/archiveMaterial/index.vue
@@ -2,7 +2,7 @@
    <div class="app-container">
      <div v-if="sho">
         <h2 class="title-border">添加案卷详细记录   {当前录入了{{total}}条}  {当前档号为: {{recordStrId}} } {当前文号为: {{inquiryNumber}} }  </h2>
         <h2 class="title-border">添加案卷详细记录   {录入了{{total}}条}  { {{recordStrId}} } { {{inquiryNumber}} } { {{filingNumber}} }  </h2>
 <el-form ref="form" :model="form" :rules="rules" label-width="100px">
   <el-row>
@@ -457,15 +457,17 @@
              <el-input v-model="forms.documentNumber" placeholder="请输入文件编号" />
            </el-form-item>
           <el-row>
           <el-col :span="16">
           <el-col >
               <el-form-item label="责任者" prop="creator">
                   <el-input type="textarea" rows="1" v-model="forms.creator" placeholder="请输入责任者" />
                   <el-input type="textarea"          rows="2"
                    v-auto-height="{ minRows: 2, maxRows: 10 }" v-model="forms.creator" placeholder="请输入责任者" />
                 </el-form-item>
           </el-col>
           </el-row>
           <el-form-item label="文件题名" prop="title">
             <el-input type="textarea" rows="1" v-model="forms.title" placeholder="请输入文件题名" />
             <el-input type="textarea"          rows="2"
                    v-auto-height="{ minRows: 2, maxRows: 10 }" v-model="forms.title" placeholder="请输入文件题名" />
           </el-form-item>
                 <el-form-item label="日期" prop="date">
                  <el-input v-model="forms.date" placeholder="请输入日期 (格式:yyyy-mm-dd)" style="width: 200px;" />
@@ -818,7 +820,7 @@
  export default {
    name: "Materials",
    name: "ArchiveMaterialManager",
    data() {
      return {
        //附件数量
@@ -889,6 +891,7 @@
        ],
        recordId: null,
        inquiryNumber: '',
        filingNumber: '',
        recordStrId: '',
        // 遮罩层
        loading: true,
@@ -920,7 +923,7 @@
        // 查询参数
        queryParams: {
          pageNum: 1,
          pageSize: 10,
          pageSize: 50,
          creator: null,
          title: null,
          date: null,
@@ -1036,6 +1039,7 @@
      const recordId = this.$route.params && this.$route.params.recordId
      this.recordStrId = this.$route.params && this.$route.params.recordStrId
      this.inquiryNumber = this.$route.params && this.$route.params.inquiryNumber
      this.filingNumber = this.$route.params && this.$route.params.filingNumber
      this.totalPageCount = this.$route.params && this.$route.params.pageCount
      this.sho = this.$route.params && this.$route.params.sho
src/views/archiveManager/index.vue
@@ -474,7 +474,15 @@
                </el-dropdown>
              </template>
            </el-table-column>
      <el-table-column label="当前授权录入的用户" align="center" sortable="custom" prop="userName" width="120" v-if="userId==1">
   <template slot-scope="scope">
              <el-button
                :type="scope.row.userName === '' ? 'default' : 'primary'"
                size="mini">
                {{ scope.row.userName === null ? '未分配' : scope.row.userName }}
              </el-button>
              </template>
              </el-table-column>
            <el-table-column label="状态" align="center"  sortable="custom" prop="recordStatus" width="120">
              <template slot-scope="scope">
                <el-button :type="scope.row.recordStatus === '未录入' ? 'danger' : 'success'" size="mini">
@@ -984,7 +992,7 @@
     components: {
        VueOfficeExcel
    },
  name: "Records",
  name: "InfoManager",
  data() {
    return {
      openSearch: false,
@@ -1053,7 +1061,7 @@
      // 查询参数
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        pageSize: 50,
        recordId: null,
        inquiryNumber: null,
        categoryType: null, // 类别类型
@@ -1521,14 +1529,18 @@
      var mid = row.id
      const roleId = 2
   //   alert(mid)
var filingNumber = row.filingNumber
if(filingNumber==="")
  filingNumber = ' '
      var recordId = mid
      var pageCount = row.pageCount
      var recordStrId = row.recordId
      var inquiryNumber = row.inquiryNumber
      var sho = false
    //  this.$router.push("/archiveManager/infoManagerAu/user/" + roleId+"/"+recordId)
      this.$router.push("/archiveManager/infoManagerAu/archiveMaterialManager/" + recordId+"/"+pageCount+"/"+sho+"/"+recordStrId+"/"+inquiryNumber)
      this.$router.push("/archiveManager/infoManagerAu/archiveMaterialManager/" + recordId+"/"+pageCount+"/"+sho+"/"+recordStrId+"/"+inquiryNumber+"/"+filingNumber)
    },
    /*导出备考表*/
@@ -1581,7 +1593,7 @@
       var valid = false;
      var pageCount = row.pageCount
      var recordStrId = row.recordId
      var filingNumber = row.filingNumber
      var inquiryNumber = row.inquiryNumber
      console.log(recordStrId==='')
      console.log("+---------------------")
@@ -1599,10 +1611,11 @@
   //   alert(mid)
      var recordId = mid
if(filingNumber==="")
  filingNumber = ' '
      var sho = true
    //  this.$router.push("/archiveManager/infoManagerAu/user/" + roleId+"/"+recordId)
      this.$router.push("/archiveManager/infoManagerAu/archiveMaterialManager/" + recordId+"/"+pageCount+"/"+sho+"/"+recordStrId+"/"+inquiryNumber)
      this.$router.push("/archiveManager/infoManagerAu/archiveMaterialManager/" + recordId+"/"+pageCount+"/"+sho+"/"+recordStrId+"/"+inquiryNumber+"/"+filingNumber)
      }else
      {
        this.$modal.msgWarning("请补充页号等相关信息,再编辑卷内目录!")
src/views/archivePlaceName/index.vue
@@ -153,7 +153,7 @@
import { listPlaceName, enload,getName, delName, addName, updateName } from "@/api/system/placeName"
export default {
  name: "Name",
  name: "ArchiveZoneInfo",
  data() {
    return {
      // 遮罩层
@@ -293,7 +293,7 @@
             /** 导入模板下载操作*/
    handleExportTemplate()
    {
     this.download('/system/placeName/model', {
      }, `placeName_${new Date().getTime()}.xls`)
@@ -331,7 +331,7 @@
  });
    }
  }
}
</script>
src/views/archiveProjectName/index.vue
@@ -166,7 +166,7 @@
import { listName, getName, enload,delName, addName, updateName } from "@/api/system/projectName"
export default {
  name: "Name",
  name: "ArchiveProjectName",
  data() {
    return {
      // 遮罩层
@@ -317,7 +317,7 @@
      }, `projectName_${new Date().getTime()}.xls`)
    },
      /** 导入操作*/
    async handleImport({file}){
   // 检查文件类型是否为xlsx
src/views/archiveSignature/index.vue
@@ -124,7 +124,7 @@
import { listSignature, getSignature, delSignature, addSignature, updateSignature } from "@/api/system/signature"
export default {
  name: "Signature",
  name: "ArchiveSignature",
  data() {
    return {
      // 遮罩层