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