[update] 解决搜索条件年代号清空去不掉,企标详情完善

This commit is contained in:
lideqin
2023-09-20 09:33:52 +08:00
parent a8ff3fca6c
commit aab24bc7e7
5 changed files with 47 additions and 31 deletions
@@ -175,11 +175,11 @@ export default {
},
// 企标评价
handleEvaluate () {
this.$refs.enterpriseStandardEvaluateModal.open(this.detailData.id)
this.$refs.enterpriseStandardEvaluateModal.open(this.detailData.standard_number)
},
// 更新记录
handleOpenUpdateRecord () {
this.$refs.updateRecordModal.open(this.detailData.standardNumber)
this.$refs.updateRecordModal.open(this.detailData.standard_number)
},
// 提交问题
submitQuestion () {
@@ -296,13 +296,13 @@ export default {
}
},
methods: {
open (id) {
open (standardNumber) {
this.visible = true
this.initData(id)
this.initData(standardNumber)
},
initData (id) {
initData (standardNumber) {
this.confirmLoading = true
detailEvaluate({ id: id }).then(res => {
detailEvaluate({ standardNumber: standardNumber }).then(res => {
if (res.success) {
this.scoreData = res.result
this.nameArr = Object.keys(this.scoreData)