|
@@ -273,14 +273,6 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
activated () {
|
|
|
- this.pageType = this.$route.query.type
|
|
|
- this.$refs.vipform.resetFields();
|
|
|
- },
|
|
|
- deactivated () {
|
|
|
- Object.assign(this.$data, this.$options.data())
|
|
|
- this.$refs.vipform.resetFields();
|
|
|
- },
|
|
|
- mounted () {
|
|
|
if (this.$route.query.rules) {
|
|
|
this.rules = this.$route.query.rules;
|
|
|
}
|
|
@@ -299,6 +291,12 @@ export default {
|
|
|
this.organList = res.data;
|
|
|
}
|
|
|
});
|
|
|
+ this.pageType = this.$route.query.type
|
|
|
+ this.$refs.vipform.resetFields();
|
|
|
+ },
|
|
|
+ deactivated () {
|
|
|
+ Object.assign(this.$data, this.$options.data())
|
|
|
+ this.$refs.vipform.resetFields();
|
|
|
},
|
|
|
methods: {
|
|
|
submitFrom () {
|