diff --git a/src/views/analysis/Tender.vue b/src/views/analysis/Tender.vue
index ec28b26..93a9735 100644
--- a/src/views/analysis/Tender.vue
+++ b/src/views/analysis/Tender.vue
@@ -13,11 +13,14 @@
- {{ item.unitName }}
+ style="width:350px"
+ @search="handleSearchUnits"
+ >
+ {{ item.unitName }}
@@ -58,14 +61,14 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
{
this.allTender = res
+ const firstUnit = res[0]
+ this.handleSearchUnits(firstUnit ? firstUnit.unitName : '')
if (res.length) {
this.tenderId = res[0].id
this.year = dayjs().format('YYYY')
@@ -257,11 +264,6 @@ export default {
this.getWinningAmountList()
this.getInvolvedTenderNumber()
},
- filterOption (input, option) {
- return (
- option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
- )
- },
getWinningList () {
winningList({ tenderId: this.tenderId }).then(res => {
this.winningList = res
@@ -566,6 +568,15 @@ export default {
},
getTableIndex (idx) {
return idx + 1
+ },
+
+ // 搜索单位
+ handleSearchUnits (val) {
+ if (val) {
+ this.filterdTender = this.allTender.filter(item => item.unitName.toLowerCase().includes(val.toLowerCase()))
+ } else {
+ this.filterdTender = []
+ }
}
}
}
diff --git a/src/views/project/biddingproject/Form.vue b/src/views/project/biddingproject/Form.vue
index 6fecacf..4457714 100644
--- a/src/views/project/biddingproject/Form.vue
+++ b/src/views/project/biddingproject/Form.vue
@@ -14,26 +14,22 @@
:rules="rules"
:labelCol="{ flex: '110px' }"
:wrapperCol="{ flex: 1, style: { overflow: 'hidden' } }">
-
-
-
-
-
-
-
-
- {{ item.title }}
-
-
-
-
-
+
+
+
+
+
+
+
+
+ {{ item.title }}
+
@@ -41,8 +37,6 @@
-
-
@@ -53,8 +47,6 @@
-
-
@@ -65,38 +57,23 @@
-
-
-
-
- 万元
-
-
-
-
-
-
-
-
- {{ participateUnitTips }}
-
-
-
-
-
-
+
+
+
+
+
+ {{ participateUnitTips }}
+
+
+
+
+
+
@@ -125,26 +102,6 @@
style="width:100%" />
-
-
diff --git a/src/views/project/biddingproject/Index.vue b/src/views/project/biddingproject/Index.vue
index f6fa322..0e20092 100644
--- a/src/views/project/biddingproject/Index.vue
+++ b/src/views/project/biddingproject/Index.vue
@@ -63,16 +63,32 @@
-
- {{ item.unitName }}
+
+
+ {{ item.unitName }}
-
- {{ item.unitName }}
+
+
+ {{ item.unitName }}
@@ -471,6 +487,9 @@ export default {
importVisible: false,
logPerviewVisible: false,
allTender: [],
+ winningUnits: [], // 中标单位筛选
+ participateUnits: [], // 参与单位筛选
+
deptList: [],
projectFileColumns,
expandedRowKeys: [],
@@ -970,6 +989,22 @@ export default {
return 'display:none;'
}
return 'width: 60%; display:inline-block;padding-left: 10px;'
+ },
+ // 搜索中标单位
+ handleSearchWinningUnits (val) {
+ if (val) {
+ this.winningUnits = this.allTender.filter(item => item.unitName.toLowerCase().includes(val.toLowerCase()))
+ } else {
+ this.winningUnits = []
+ }
+ },
+ // 搜索参与单位
+ handleSearchParticipateUnits (val) {
+ if (val) {
+ this.participateUnits = this.allTender.filter(item => item.unitName.toLowerCase().includes(val.toLowerCase()))
+ } else {
+ this.participateUnits = []
+ }
}
},
computed: {
diff --git a/src/views/recheck/components/Report.vue b/src/views/recheck/components/Report.vue
index d533df4..1a7c708 100644
--- a/src/views/recheck/components/Report.vue
+++ b/src/views/recheck/components/Report.vue
@@ -142,10 +142,10 @@
{{ detail.similarity + '%' }}
- 初步结论:
+
排除本人已发表作品相似比:
diff --git a/src/views/recheck/components/TotalRecord.vue b/src/views/recheck/components/TotalRecord.vue
index 51954a6..affc217 100644
--- a/src/views/recheck/components/TotalRecord.vue
+++ b/src/views/recheck/components/TotalRecord.vue
@@ -12,10 +12,10 @@
{{ item.similarity + '%' }}
- 初步结论:
+