|
@@ -5,6 +5,7 @@
|
|
|
:dynamic-params="dynamicParams"
|
|
:dynamic-params="dynamicParams"
|
|
|
:filter-params="filterParams"
|
|
:filter-params="filterParams"
|
|
|
:type-name="typeName"
|
|
:type-name="typeName"
|
|
|
|
|
+ :type-id="typeId"
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
@@ -22,19 +23,21 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
data () {
|
|
data () {
|
|
|
- const { templateid_, guo_lv_can_shu_, typeName } = this.templateData
|
|
|
|
|
|
|
+ const { templateid_, guo_lv_can_shu_, typeName, typeId } = this.templateData
|
|
|
return {
|
|
return {
|
|
|
typeName,
|
|
typeName,
|
|
|
templateId: templateid_,
|
|
templateId: templateid_,
|
|
|
|
|
+ typeId,
|
|
|
filterParams: guo_lv_can_shu_ ? JSON.parse(guo_lv_can_shu_) : [],
|
|
filterParams: guo_lv_can_shu_ ? JSON.parse(guo_lv_can_shu_) : [],
|
|
|
dynamicParams: {}
|
|
dynamicParams: {}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
watch: {
|
|
watch: {
|
|
|
templateData (v) {
|
|
templateData (v) {
|
|
|
- const { templateid_, guo_lv_can_shu_, typeName } = v
|
|
|
|
|
|
|
+ const { templateid_, guo_lv_can_shu_, typeName, typeId } = v
|
|
|
this.typeName = typeName
|
|
this.typeName = typeName
|
|
|
this.templateId = templateid_
|
|
this.templateId = templateid_
|
|
|
|
|
+ this.typeId = typeId
|
|
|
this.filterParams = guo_lv_can_shu_ ? JSON.parse(guo_lv_can_shu_) : []
|
|
this.filterParams = guo_lv_can_shu_ ? JSON.parse(guo_lv_can_shu_) : []
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|