招标解析
This commit is contained in:
parent
74e46fe54b
commit
789b3c64ef
|
|
@ -203,6 +203,10 @@ export default {
|
|||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
handleColWidth: {
|
||||
type: Number,
|
||||
default: 200
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
/* 根据操作栏控制表头是否显示 */
|
||||
|
|
@ -275,8 +279,6 @@ export default {
|
|||
columnCheckList: [],
|
||||
// 操作列最小宽度
|
||||
dynamicWidth: 0,
|
||||
// 操作列固定宽度,防止列数过少导致过宽
|
||||
handleColWidth: 200,
|
||||
// 自增id
|
||||
idCount: 1,
|
||||
// 日期查询条件 字段名称
|
||||
|
|
|
|||
|
|
@ -499,6 +499,20 @@ export const dynamicRoutes = [
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/analysisDetail',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
permissions: ['enterpriseLibrary:analysis:detail'],
|
||||
children: [
|
||||
{
|
||||
path: 'index',
|
||||
component: () => import('@/views/analysis/components/AnalysisDetail'),
|
||||
name: 'AnalysisDetail',
|
||||
meta: { title: '项目解析结果', activeMenu: '/analysis', noCache: true }
|
||||
}
|
||||
]
|
||||
},
|
||||
]
|
||||
|
||||
// 防止连续点击多次路由报错
|
||||
|
|
|
|||
|
|
@ -0,0 +1,14 @@
|
|||
<template>
|
||||
<div>
|
||||
<h1>AnalysisDetail</h1>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'AnalysisDetail'
|
||||
}
|
||||
</script>
|
||||
<style scoped lang="scss">
|
||||
|
||||
</style>
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
<el-card class="analysis-container">
|
||||
<div class="table-container">
|
||||
<TableModel :formLabel="formLabel" :showOperation="true" :showRightTools="false" ref="analysisTableRef"
|
||||
:columnsList="columnsList" :request-api="listAPI">
|
||||
:columnsList="columnsList" :request-api="listAPI" :sendParams="sendParams" :handleColWidth="250">
|
||||
<template slot="tableTitle">
|
||||
<h3>数据列表</h3>
|
||||
</template>
|
||||
|
|
@ -13,13 +13,17 @@
|
|||
<el-button @click="showViewer = true">预览文档</el-button>
|
||||
</template>
|
||||
<template slot="handle" slot-scope="{ data }">
|
||||
<el-button type="text" v-hasPermi="['enterpriseLibrary:tool:detail']" class="action-btn"
|
||||
<el-button type="text" v-hasPermi="['enterpriseLibrary:analysis:detail']" class="action-btn"
|
||||
@click="handleDetail(data)">
|
||||
查看
|
||||
</el-button>
|
||||
<el-button type="text" v-hasPermi="['enterpriseLibrary:tool:edit']" class="action-btn"
|
||||
style="color: #EAA819;" @click="handleUpdate(data)">
|
||||
编辑
|
||||
@click="handleUpdate(data)">
|
||||
标段解析
|
||||
</el-button>
|
||||
<el-button type="text" v-hasPermi="['enterpriseLibrary:tool:edit']" class="action-btn"
|
||||
@click="handleUpdate(data)">
|
||||
查看标段
|
||||
</el-button>
|
||||
<el-button type="text" v-hasPermi="['enterpriseLibrary:tool:del']" class="action-btn"
|
||||
style="color: #DB3E29;" @click="handleDelete(data)">
|
||||
|
|
@ -35,14 +39,15 @@
|
|||
@download-success="onDownloadSuccess" />
|
||||
</el-dialog>
|
||||
<!-- 新建项目 -->
|
||||
<AnalysisForm v-if="showAnalysisForm" :title="title" :row="row"
|
||||
@closeDialog="showAnalysisForm = false" :width="600"/>
|
||||
<AnalysisForm v-if="showAnalysisForm" :title="title" :row="row" @closeDialog="showAnalysisForm = false"
|
||||
:width="600" />
|
||||
</el-card>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import TableModel from '@/components/TableModel2'
|
||||
import { columnsList, formLabel } from './config'
|
||||
import { encryptWithSM4 } from '@/utils/sm'
|
||||
import { listAPI, delDataAPI } from '@/api/analysis/analysis'
|
||||
import OnlyOfficeViewer from '@/views/common/OnlyOfficeViewer.vue'
|
||||
import AnalysisForm from './components/AnalysisForm.vue'
|
||||
|
|
@ -58,6 +63,9 @@ export default {
|
|||
formLabel,
|
||||
columnsList,
|
||||
listAPI,
|
||||
sendParams: {
|
||||
enterpriseId: 2
|
||||
},
|
||||
showViewer: false,
|
||||
documentId: '716d9f3d89434c56bc49296dbbccc226',
|
||||
documentName: 'technicalSolutionDatabase/2025/11/03/716d9f3d89434c56bc49296dbbccc226.docx',
|
||||
|
|
@ -97,10 +105,12 @@ export default {
|
|||
|
||||
/* 查看操作 */
|
||||
handleDetail(row) {
|
||||
this.title = "查看详情";
|
||||
this.isAdd = 'detail';
|
||||
this.row = row;
|
||||
this.isflag = true;
|
||||
this.$router.push({
|
||||
name: 'AnalysisDetail',
|
||||
query: {
|
||||
proId: encryptWithSM4('2')
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
/* 搜索操作 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue