duy 3 months ago
parent
commit
4d30d27eee

+ 3 - 3
src/config/index.json

@@ -1,10 +1,10 @@
 {
     "version": "202304141558",
     "target6": "http://219.151.181.73:8090",
-    "target2": "http://192.168.0.125:8090",
-    "target22": "http://219.151.181.73:8090",
+    "target": "http://192.168.0.109:8090",
+    "target22": "http://219.151.185.227:8090",
     "target11": "http://39.108.216.210:8090",
-    "target": "http://219.151.185.227:8090",
+    "target2": "http://219.151.185.227:8090",
     "target7": "http://192.168.0.114:8090",
     "targe77t": "http://192.168.0.110:8090",
     "target8": "http://183.247.216.148:28090",

+ 19 - 1
src/router/modules/base.js

@@ -155,6 +155,12 @@ export default [
                         meta: { title: '档案预警' },
                         component: () => import('~src/views/archives/manage/early.vue'),
                     },
+                    {
+                        path: '/archives/manage/early/admin',
+                        name: 'archives-manage-early-admin',
+                        meta: { title: '档案预警(总管)' },
+                        component: () => import('~src/views/archives/manage/early-admin.vue'),
+                    },
                     {
                         path: '/archives/manage/tuning',
                         name: 'archives-manage-tuning',
@@ -366,7 +372,7 @@ export default [
                     {
                         path: '/using/borrow/borrow',
                         name: 'using-borrow-borrow',
-                        meta: { title: '案借阅' },
+                        meta: { title: '案借阅' },
                         component: () => import('~src/views/using/borrow/borrow.vue'),
                     },
                     {
@@ -390,6 +396,18 @@ export default [
                 meta: { title: '存储备份' },
                 component: () => import('~src/views/using/backup.vue'),
             },
+            {
+                path: '/using/backup',
+                name: 'using-backup',
+                meta: { title: '存储备份' },
+                component: () => import('~src/views/using/backup.vue'),
+            },
+               {
+                path: '/using/bim',
+                name: 'using-bim',
+                meta: { title: 'BIM查询' },
+                component: () => import('~src/views/using/bim.vue'),
+            },
         ],
     },
  

+ 0 - 0
src/views/custody/components/tab-expire.vue → src/views/archives/manage/components/tab-expire.vue


+ 0 - 0
src/views/custody/components/tab-reform.vue → src/views/archives/manage/components/tab-reform.vue


+ 0 - 0
src/views/custody/components/tab-spite.vue → src/views/archives/manage/components/tab-spite.vue


+ 1 - 1
src/views/archives/manage/inspects.vue

@@ -646,7 +646,7 @@ const getmetaInfo = async (fileId)=>{
 
 <style lang="scss">
 @import '~style/transfer/inspects.scss';
-@import '~/src/styles/theme/transfer/inspect.scss';
+@import '~src/styles/theme/transfer/inspect.scss';
 .act-border{
     border: 1px solid var(--el-color-primary);
 }

+ 1 - 1
src/views/archives/manage/tuning.vue

@@ -904,7 +904,7 @@ const refreshFileNumberClick = async () => {
 
 <style lang="scss">
 // @import '~style/file/collection.scss';
-@import '../../styles/theme/archives/tuning.scss';
+@import '~src/styles/theme/archives/tuning.scss';
 .text-disable {
     cursor: not-allowed
 }

+ 0 - 0
src/views/custody/components/hc-card1.vue → src/views/archives/test/components/hc-card1.vue


+ 0 - 0
src/views/custody/components/hc-table1.vue → src/views/archives/test/components/hc-table1.vue


+ 163 - 0
src/views/archives/test/components/meta-info.vue

@@ -0,0 +1,163 @@
+<template>
+    <hc-new-dialog v-model="showModal" is-row-footer is-table title="元数据信息" widths="62rem" @close="cancelClick">
+        <metaTable
+            v-if="metaDataTable.length > 0" :is-edit="isEdit" :loading="tabeloading"
+            :meta-data-table="metaDataTable" @changeme-data-table="changemeDataTable"
+        />
+        <hc-empty v-if="metaDataTable.length === 0" />
+        <template #rightRowFooter>
+            <div v-if="isEdit" class="dialog-footer " style="margin-top: 20px">
+                <el-button size="large" @click="gobackClick">
+                    <HcIcon name="close" />
+                    <span>返回</span>
+                </el-button>
+                <el-button hc-btn type="primary" @click="confirmClick">
+                    <HcIcon name="check" />
+                    <span>编辑</span>
+                </el-button>
+            </div>
+            <div v-else class="dialog-footer fright" style="margin-top: 20px">
+                <el-button size="large" @click="cancelClick">
+                    <HcIcon name="close" />
+                    <span>取消</span>
+                </el-button>
+                <el-button :loading="saveloading" hc-btn type="primary" @click="saveClick">
+                    <HcIcon name="check" />
+                    <span>提交</span>
+                </el-button>
+            </div>
+        </template>
+    </hc-new-dialog>
+</template>
+
+<script setup>
+import { ref, watch } from 'vue'
+import { useAppStore } from '~src/store'
+import metaTable from './meta-table.vue'
+import tuningApi from '~api/archiveConfig/tuning.js'
+import { getArrValue } from 'js-fast-way'
+//参数
+const props = defineProps({
+    show: {
+        type: Boolean,
+        default: false,
+    },
+
+    uis: {
+        type: String,
+        default: '',
+    },
+    ui: {
+        type: String,
+        default: '',
+    },
+    fileId: {
+        type: String,
+        default: '',
+    },
+    loading: {
+        type: String,
+        default: '',
+    },
+
+})
+
+const emits = defineEmits(['upshowModal', 'getTableData'])
+
+
+//变量
+const userStore = useAppStore()
+
+
+const showModal = ref(props.show)
+const isLoading = ref(props.loading)
+const fileIdval = ref(props.fileId)
+const isEdit = ref(true)
+
+const size = ref('70%')
+//监听
+watch(() => [
+    props.show,
+
+], ([show, loading, user]) => {
+    showModal.value = show
+    isLoading.value = loading
+    if (show) {
+        isEdit.value = true
+        getmetaInfo()
+    }
+})
+//获取元数据信息
+const tabeloading = ref(false)
+const metaDataTable = ref([])
+const getmetaInfo = async () => {
+    tabeloading.value = true
+    const { error, code, data } = await tuningApi.getMetadataFileByid({
+        fileId: props.fileId,
+    })
+    tabeloading.value = false
+    if (!error && code === 200) {
+        console.log(data, 'data')
+        metaDataTable.value = getArrValue(data)
+        updateInfo.value = metaDataTable.value
+    } else {
+        metaDataTable.value = []
+    }
+}
+const updateInfo = ref('')
+const changemeDataTable = (val) => {
+    updateInfo.value = val
+}
+
+//返回
+const gobackClick = () => {
+    isEdit.value = true
+    emits('upshowModal', false)
+}
+//取消
+const cancelClick = () => {
+    isEdit.value = true
+    emits('upshowModal', false)
+}
+
+//编辑
+const confirmClick = async () => {
+    isEdit.value = false
+}
+//提交
+const saveloading = ref(false)
+const saveClick = async () => {
+    isEdit.value = false
+    saveloading.value = true
+    const { error, code, msg } = await tuningApi.updateMetadata({
+        list: updateInfo.value,
+    })
+    saveloading.value = false
+    if (!error && code === 200) {
+        window.$message.success(msg)
+        emits('getTableData')
+
+    } else {
+        window.$message?.error(msg || '操作失败')
+
+    }
+    emits('upshowModal', false)
+}
+</script>
+
+<style lang="scss">
+.modalbox {
+    .m20 {
+        margin-top: 20px;
+    }
+    .fsize {
+        font-size: 1.25rem;
+    }
+}
+</style>
+
+<style lang="scss" scoped>
+.fright {
+    float: right;
+}
+</style>

+ 214 - 0
src/views/archives/test/components/meta-table.vue

@@ -0,0 +1,214 @@
+<template>
+    <div v-loading="isLoading" class="hc-csc-meta-table-data">
+        <el-scrollbar>
+            <table class="hc-csc-meta-table" border="1">
+                <template v-for="item in metaDataTableval" :key="item">
+                    <tr v-if="item.isType === 1" class="hc-csc-meta-table-tr">
+                        <td colspan="2" class="hc-csc-meta-table-td title">{{ item.containerName }}</td>
+                    </tr>
+                    <tr v-else class="hc-csc-meta-table-tr">
+                        <td class="hc-csc-meta-table-td name">{{ item.containerName }}</td>
+                        <td v-if="isEdit" class="hc-csc-meta-table-td val">{{ item.keyValue }}</td>
+                        <td v-else style="padding:0px;border: none;">
+                            <!-- <input type="input" data-id="project" name="project[]" class="iptclass" v-model="item.keyValue" :disabled="item.captureMode===1"> -->
+                            <el-input v-model="item.keyValue" type="input" data-id="project" name="project[]" :disabled="item.captureMode === 1" />
+                        </td>
+                    </tr>
+                </template>
+            </table>
+        </el-scrollbar>
+    </div>
+</template>
+
+<script setup>
+import { ref, watch } from 'vue'
+
+//参数
+const props = defineProps({
+    projectId: {
+        type: [String, Number],
+        default: '',
+    },
+    contractId: {
+        type: [String, Number],
+        default: '',
+    },
+    loading: {
+        type: Boolean,
+        default: false,
+    },
+    isEdit:{
+       type: Boolean,
+        default: true,
+    },
+    metaDataTable:{
+        type: Array,
+        default: () => ([]),
+    },
+
+})
+
+//事件
+const emit = defineEmits(['changemeDataTable'])
+//变量
+const projectId = ref(props.projectId)
+const contractId = ref(props.contractId)
+const isLoading = ref(props.loading)
+const isEditval = ref(props.isEdit)
+const metaDataTableval = ref(props.metaDataTable)
+//监听
+watch(() => [
+    props.loading,
+    props.isEdit,
+    props.metaDataTable,
+
+], ([loading, isEdit, metaDataTable]) => {
+    isLoading.value = loading
+    isEditval.value = isEdit
+    metaDataTableval.value = metaDataTable
+
+})
+//深度监听
+watch(() => [
+    metaDataTableval.value,
+], ([val]) => {
+   emit('changemeDataTable', val)
+}, {
+    deep: true,
+})
+// 元数据
+const metaDataTable = ref([
+    { type: 1, title: '聚合层次', val: '' },
+    { type: 2, title: '来源', val: '' },
+    { type: 1, title: '全宗名称', val: '' },
+    { type: 1, title: '立档单位名称', val: '' },
+    { type: 1, title: '电子文件号', val: '' },
+    { type: 2, title: '文件联', val: '' },
+    { type: 1, title: '目录文件', val: '' },
+    { type: 1, title: '文件件数', val: '' },
+    { type: 1, title: '文件页数', val: '' },
+    { type: 1, title: '元数据目录文件', val: '' },
+    { type: 1, title: '验证码', val: '' },
+    { type: 2, title: '内容描述', val: '' },
+    { type: 1, title: '题名', val: '' },
+    { type: 1, title: '关键词', val: '' },
+    { type: 1, title: '摘要', val: '' },
+    { type: 1, title: '生成方式', val: '' },
+    { type: 1, title: '责任者', val: '' },
+    { type: 1, title: '文件创建日期', val: '' },
+    { type: 2, title: '组件', val: '' },
+    { type: 1, title: 'IP地址', val: '' },
+    { type: 1, title: '桩号', val: '' },
+    { type: 1, title: '上传时间', val: '' },
+    { type: 2, title: '文件标识码', val: '' },
+    { type: 1, title: '文号', val: '' },
+    { type: 1, title: '表单标识码', val: '' },
+    { type: 2, title: '竣工图', val: '' },
+    { type: 1, title: '图号', val: '' },
+    { type: 1, title: '图幅', val: '' },
+    { type: 1, title: '图表来源', val: '' },
+    { type: 1, title: '引用变更令编号', val: '' },
+    { type: 2, title: '照片文件', val: '' },
+    { type: 1, title: '主题', val: '' },
+    { type: 1, title: '拍摄时间', val: '' },
+    { type: 1, title: '拍摄地点', val: '' },
+    { type: 1, title: '摄影者', val: '' },
+    { type: 1, title: '背景', val: '' },
+    { type: 1, title: '分组号', val: '' },
+    { type: 1, title: '组内照片编号', val: '' },
+    { type: 1, title: '水平分辨率', val: '' },
+    { type: 1, title: '垂直分辨率', val: '' },
+    { type: 1, title: '保管期限', val: '' },
+    { type: 1, title: '格式信息', val: '' },
+    { type: 2, title: '电子属性', val: '' },
+    { type: 1, title: '位置', val: '' },
+    { type: 1, title: '计算机文件名', val: '' },
+    { type: 1, title: '计算机文件大小', val: '' },
+    { type: 2, title: '数字化属性', val: '' },
+    { type: 1, title: '扫描分辨率', val: '' },
+    { type: 1, title: '扫描色彩模式', val: '' },
+    { type: 2, title: '电子签名', val: '' },
+    { type: 1, title: '签名类型', val: '' },
+    { type: 1, title: '签名时间', val: '' },
+    { type: 1, title: '签名人', val: '' },
+    { type: 1, title: '建设项目', val: '' },
+    { type: 2, title: '业务事项', val: '' },
+    { type: 1, title: '单位工程', val: '' },
+    { type: 1, title: '分部工程', val: '' },
+    { type: 1, title: '分项工程', val: '' },
+    { type: 1, title: '单位工程编码', val: '' },
+    { type: 1, title: '分部工程编码', val: '' },
+    { type: 1, title: '分项工程编码', val: '' },
+    { type: 2, title: '责任者', val: '' },
+    { type: 1, title: '责任者名称', val: '' },
+    { type: 1, title: '个人职位', val: '' },
+    { type: 1, title: '责任者手机号', val: '' },
+    { type: 2, title: '关系实体', val: '' },
+    { type: 1, title: '关系标识', val: '' },
+    { type: 1, title: '关系类型', val: '' },
+    { type: 1, title: '关系', val: '' },
+    { type: 1, title: '相关实体标识', val: '' },
+])
+</script>
+
+<style lang="scss" scoped>
+.hc-csc-meta-table-data {
+    position: relative;
+    height: 100%;
+    .hc-csc-meta-table {
+        border-spacing: 0;
+        border: 1px solid #E9E9E9;
+        border-collapse: collapse;
+        width: 100%;
+        .hc-csc-meta-table-tr {
+            position: relative;
+            background: #f1f5f8;
+            color: #50545e;
+            transition: background-color .25s ease;
+            &:hover {
+                background: var(--el-color-primary-light-9);
+            }
+            .hc-csc-meta-table-td {
+                text-align: left;
+                padding: 10px 12px;
+                font-size: 14px;
+                border: 1px solid #E9E9E9;
+                &.name {
+                    width: 150px;
+                }
+                &.title {
+                    color: #1a1a1a;
+                    text-align: center;
+                    background-color: #dae8f3;
+                }
+            }
+        }
+    }
+    .iptclass{
+        width: 100%;
+        height: 30px;
+        border-radius: 28px;
+        border: 1px solid #dae8f3;
+        padding-left: 5px;
+        outline-color:  #d6eafa;
+
+
+    }
+}
+html.dark{
+    .hc-csc-meta-table-data .hc-csc-meta-table{
+        border: 1px solid var(--el-color-primary);
+        .hc-csc-meta-table-tr{
+            background-color: transparent;
+            color: white;
+            .hc-csc-meta-table-td{
+                border: 1px solid var(--el-color-primary);
+                &.title {
+                    color: white;
+                    background-color: transparent;
+                }
+            }
+        }
+    }
+}
+</style>

+ 1 - 1
src/views/archives/test/meta-data.vue

@@ -279,5 +279,5 @@ const consultFileClick = () => {
 </style>
 
 <style lang="scss">
-@import '../../styles/theme/archives/meta-data.scss';
+@import '~src/styles/theme/archives/meta-data.scss';
 </style>

+ 0 - 0
src/views/archives/components/destory-dialog.vue → src/views/custody/components/destory-dialog.vue


+ 7 - 1
src/views/custody/ledger.vue

@@ -28,7 +28,7 @@
                 </div>
             </template>
           
-            <div :class="tableFileShow ? 'file-table' : ''" class="body">
+            <div>
                 <div class="hc-c-table-box">
                     <HcTable
                         ref="tableRef" :check-style="{ width: 29 }" :column="tableColumn" :datas="tableData"
@@ -38,6 +38,12 @@
                         <template #index="{ index }">
                             <span>{{ index + 1 }}</span>
                         </template>
+                        <template #secretLevelValue="{ row }">
+                            <span class="text-link">{{ row.secretLevelValue }}</span>
+                        </template>
+                        <template #pageN="{ row }">
+                            <span class="text-link">{{ row.pageN }}</span>
+                        </template>
                     </HcTable>
                 </div>
             </div>

+ 4 - 1
src/views/file/records.vue

@@ -23,11 +23,14 @@
             </template>
             <template #extra>
                 <HcTooltip keys="file_records_btn_upload_scanned_files">
-                    <el-button type="primary" hc-btn @click="uploadModalClick">扫描上传案卷</el-button>
+                    <el-button type="primary" hc-btn @click="uploadModalClick">上传案卷</el-button>
                 </HcTooltip>
                 <HcTooltip keys="file_records_btn_moves">
                     <el-button type="primary" hc-btn @click="movesClick">跨目录移动</el-button>
                 </HcTooltip>
+                <HcTooltip keys="file_records_btn_split">
+                    <el-button hc-btn style="background-color: #8B5CF6; border-color: #8B5CF6; color:white" @click="movesClick">分解文件</el-button>
+                </HcTooltip>
             </template>
             <HcTable
                 ref="tableRef" :column="tableColumn" :datas="tableData" :loading="tableLoading"

+ 0 - 0
src/views/home/components/border.vue → src/views/statistics/components/border.vue


+ 0 - 0
src/views/home/components/card.vue → src/views/statistics/components/card.vue


+ 0 - 0
src/views/home/components/classify.vue → src/views/statistics/components/classify.vue


+ 0 - 0
src/views/using/components/echarts/ArrRoundChart.vue → src/views/statistics/components/echarts/ArrRoundChart.vue


+ 0 - 0
src/views/using/components/echarts/BarChart.vue → src/views/statistics/components/echarts/BarChart.vue


+ 0 - 0
src/views/using/components/echarts/RoundPieChart.vue → src/views/statistics/components/echarts/RoundPieChart.vue


+ 0 - 0
src/views/home/components/gui.vue → src/views/statistics/components/gui.vue


+ 0 - 0
src/views/home/components/gui/book.vue → src/views/statistics/components/gui/book.vue


+ 0 - 0
src/views/home/components/gui/gui.scss → src/views/statistics/components/gui/gui.scss


+ 0 - 0
src/views/home/components/gui/guigui.vue → src/views/statistics/components/gui/guigui.vue


+ 0 - 0
src/views/home/components/paper.vue → src/views/statistics/components/paper.vue


+ 0 - 0
src/views/home/components/progress.vue → src/views/statistics/components/progress.vue