|
@@ -41,6 +41,7 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
|
+ import * as Dictionaries from '$project/utils/dictionaries'
|
|
import * as API_Person from '@/apis/person'
|
|
import * as API_Person from '@/apis/person'
|
|
import * as API_Common from '@/apis/common'
|
|
import * as API_Common from '@/apis/common'
|
|
import Common from '$project/components/Common.vue'
|
|
import Common from '$project/components/Common.vue'
|
|
@@ -84,6 +85,11 @@
|
|
this.subForm.name = this.person_temp.name;
|
|
this.subForm.name = this.person_temp.name;
|
|
this.subForm.phone = this.person_temp.phone;
|
|
this.subForm.phone = this.person_temp.phone;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ if (!this.project) {
|
|
|
|
+ this.project = Dictionaries.getProject(0);
|
|
|
|
+ }
|
|
|
|
+
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
//表单检测
|
|
//表单检测
|