对接握手流程

This commit is contained in:
qq787203167
2022-04-25 17:50:35 +08:00
parent 94b7ee3f3a
commit a63d4aebe1
9 changed files with 195 additions and 61 deletions
@@ -8,7 +8,7 @@
<div class="content-text">
<div class="text-field" v-for="(item,index) in standardContentList" :key="index">
<span class="text-field-left" :title="item.title">{{item.title}}</span>
<span class="text-field-right"
<span class="text-field-right" :title="queryForm[item.value]"
>{{queryForm[item.value]}}</span>
</div>
</div>
@@ -31,30 +31,20 @@
type: Object,
default: {}
},
standardContentId: {
type: String,
default: ''
standardContentQuery: {
type: Object,
default: {}
}
},
data() {
return {
queryForm: {},
queryForm: {}
}
},
mounted() {
// this.getQueryForm()
this.queryForm = this.standardContentQuery
},
methods: {
getQueryForm() {
getAction(this.url.urlFrom, { id: this.projectInformationId }).then((res) => {
if (res.success) {
this.queryForm = res.result[0] || {}
} else {
this.queryForm = {}
}
})
}
}
methods: {}
}
</script>