对接握手流程
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user