Commit a1e8a30c by 李少勇

删除无用的event引用

parent c78e38c4
...@@ -76,7 +76,7 @@ export default { ...@@ -76,7 +76,7 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: { ...Event }, methods: {},
created: function () {}, created: function () {},
}; };
</script> </script>
......
<template> <template>
<div class="eibs-tab" > <div class="eibs-tab" >
<el-collapse v-model="activeNames" @change="handleChange"> <el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="备查表" name="addbcb1"> <el-collapse-item title="备查表" name="addbcb1">
<m-addbcb1 :model="model" :codes="codes" /> <m-addbcb1 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="附言" name="coninfp"> <el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
</template> </template>
<script> <script>
import event from '../event' import event from '../event'
import Addbcb1 from "./Addbcb1"; import Addbcb1 from "./Addbcb1";
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "~/views/Public/Coninfp";
export default { export default {
components: { components: {
"m-addbcb1": Addbcb1, "m-addbcb1": Addbcb1,
...@@ -29,9 +28,7 @@ export default { ...@@ -29,9 +28,7 @@ export default {
}; };
}, },
methods: { methods: {
...Event,
handleChange(names){ handleChange(names){
// console.log(names);//激活的(展开的)面板的name数组集合
if (this.isInDisplay) { if (this.isInDisplay) {
return return
} }
......
...@@ -52,7 +52,6 @@ ...@@ -52,7 +52,6 @@
</template> </template>
<script> <script>
import event from '../event'; import event from '../event';
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
...@@ -60,7 +59,7 @@ export default { ...@@ -60,7 +59,7 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: { ...Event }, methods: { },
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -75,9 +75,7 @@ export default { ...@@ -75,9 +75,7 @@ export default {
}, },
computed: {}, computed: {},
watch: {}, watch: {},
methods: { methods: {},
...Event,
},
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -14,9 +14,6 @@ ...@@ -14,9 +14,6 @@
import event from '../event'; import event from '../event';
import Cnyp1 from "./Cnyp1"; import Cnyp1 from "./Cnyp1";
import Voup from "./Voup"; import Voup from "./Voup";
const tabNameToRulePathMapping = {
"voup": "cnybop.voup",
}
export default { export default {
components: { components: {
"m-cnyp1": Cnyp1, "m-cnyp1": Cnyp1,
...@@ -30,9 +27,7 @@ export default { ...@@ -30,9 +27,7 @@ export default {
activeNames: ["cnyp1"], activeNames: ["cnyp1"],
}; };
}, },
methods: { methods: {},
...Event,
},
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -109,7 +109,7 @@ export default { ...@@ -109,7 +109,7 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: { }, methods: {},
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -334,7 +334,7 @@ export default { ...@@ -334,7 +334,7 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: { ...Event }, methods: {},
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -99,7 +99,7 @@ export default { ...@@ -99,7 +99,7 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: { ...Event }, methods: {},
created: function () {}, created: function () {},
watch: {}, watch: {},
}; };
......
...@@ -280,9 +280,7 @@ export default { ...@@ -280,9 +280,7 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: { methods: {},
...Event,
},
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -180,7 +180,7 @@ export default { ...@@ -180,7 +180,7 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: { ...Event }, methods: {},
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -407,7 +407,7 @@ export default { ...@@ -407,7 +407,7 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: { ...Event }, methods: {},
created: function () {}, created: function () {},
}; };
</script> </script>
......
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