Commit cff9ffb7 authored by 李苏's avatar 李苏 💬

basePage页面适用辅助属性mixedQueryParams需要 ...

basePage页面适用辅助属性mixedQueryParams需要  :mixedQueryParams='$attrs.mixedQueryParams' (basePage 不接收tabmixin 需要attrs 进行特殊传递)
parent a8c041f2
...@@ -14,7 +14,11 @@ ...@@ -14,7 +14,11 @@
ref="editTableForEdit" :editTableTitle='editTableTitle' v-if="editTableForEdit" :computedRow='computedRow' ref="editTableForEdit" :editTableTitle='editTableTitle' v-if="editTableForEdit" :computedRow='computedRow'
:editTableData="formDetail"> :editTableData="formDetail">
<template v-if="type!='view'" #toolbar="ctx"> <template v-if="type!='view'" #toolbar="ctx">
<AuxButton :dynamic='true' :component='Wym' rename='选择唯一码' code='dynamic' @save="savewym" /> <AuxButton
:queryParams="{
rktzid:that.form.lydjid
}"
:dynamic='true' :component='Wym' rename='选择唯一码' code='dynamic' @save="savewym" />
</template> </template>
</editTableForEdit> </editTableForEdit>
</div> </div>
...@@ -100,6 +104,7 @@ ...@@ -100,6 +104,7 @@
data() { data() {
return { return {
that:this,
Wym: Wym, Wym: Wym,
form: { form: {
// djly:'M' // djly:'M'
......
<template> <template>
<BasePage ref="basePage" :power='power' class="min_full" :config="config"> <BasePage :mixedQueryParams='$attrs.mixedQueryParams' ref="basePage" :power='power' class="min_full" :config="config">
<template #dialog="ctx"> <template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 --> <!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template> </template>
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
export default { export default {
data() { data() {
return { return {
power: { power: {
add: false, add: false,
copy: false, copy: false,
...@@ -201,9 +202,7 @@ ...@@ -201,9 +202,7 @@
}, },
methods: { methods: {
/* 示例*/ /* 示例*/
// demo(basePage){
// }
}, },
components: { components: {
// Edit // Edit
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment