[update] 企标各模块添加注释,企标详情获取企标评价换接口
This commit is contained in:
@@ -188,22 +188,22 @@ export default {
|
||||
currentTreeNodeCode: null, // 当前选中的树节点的code值
|
||||
mouseInNodeKey: null, // 鼠标悬浮的节点key值
|
||||
operationList: [
|
||||
{
|
||||
{ // 收藏
|
||||
text: this.$t('enterpriseStandardLibrary.standard.collection'),
|
||||
clickEvent: 'handleCollection',
|
||||
has: 'enterpriseStandard:collection'
|
||||
},
|
||||
{
|
||||
{ // 编辑
|
||||
text: this.$t('edit'),
|
||||
clickEvent: 'handleEdit',
|
||||
has: 'enterpriseStandard:edit'
|
||||
},
|
||||
{
|
||||
{ // 分享
|
||||
text: this.$t('share'),
|
||||
clickEvent: 'handleShare',
|
||||
has: 'enterpriseStandard:share'
|
||||
},
|
||||
{
|
||||
{ // 删除
|
||||
text: this.$t('delete'),
|
||||
clickEvent: 'handleDelete',
|
||||
has: 'enterpriseStandard:delete'
|
||||
|
||||
@@ -280,7 +280,7 @@ export default {
|
||||
},
|
||||
// 企标评价
|
||||
handleEvaluate () {
|
||||
this.$refs.enterpriseStandardEvaluateModal.open(this.detailData.standard_number)
|
||||
this.$refs.enterpriseStandardEvaluateModal.open(this.detailData.id)
|
||||
},
|
||||
// 更新记录
|
||||
handleOpenUpdateRecord () {
|
||||
|
||||
+4
-4
@@ -296,13 +296,13 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
open (standardNumber) {
|
||||
open (standardId) {
|
||||
this.visible = true
|
||||
this.initData(standardNumber)
|
||||
this.initData(standardId)
|
||||
},
|
||||
initData (standardNumber) {
|
||||
initData (standardId) {
|
||||
this.confirmLoading = true
|
||||
detailEvaluate(standardNumber).then(res => {
|
||||
detailEvaluate(standardId).then(res => {
|
||||
if (res.success) {
|
||||
this.scoreData = res.result
|
||||
this.nameArr = Object.keys(this.scoreData)
|
||||
|
||||
Reference in New Issue
Block a user