Commit e679c6c2 by lsk

cptopn添加默认tab

parent 3cb5b067
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
size="small" size="small"
:validate-on-rule-change="false" :validate-on-rule-change="false"
> >
<el-tabs ref="elment" type="card" @tab-click="tabClick"> <el-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="Overview" name="opnp1"> <el-tab-pane label="Overview" name="opnp1">
<!--PD000020 --> <!--PD000020 -->
<m-opnp1 :model="model" :codes="codes" /> <m-opnp1 :model="model" :codes="codes" />
...@@ -118,6 +118,7 @@ export default { ...@@ -118,6 +118,7 @@ export default {
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理 mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal:"opnp1",
trnName:"cptopn", trnName:"cptopn",
model: new Cptopn().data, model: new Cptopn().data,
checkRules: Check, checkRules: Check,
......
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