|
@@ -129,14 +129,7 @@ export default {
|
|
|
submitLog () {
|
|
|
this.$refs.form.validate(async (valid)=>{
|
|
|
if (!valid) return false
|
|
|
- let resource = ''
|
|
|
- if (this.$route.path == '/projectChangeDetail'){
|
|
|
- resource = '项目商机'
|
|
|
- }else if (this.$route.path == '/customerDetail'){
|
|
|
- resource = '我的客户'
|
|
|
- }else if (this.$route.path == 'PublicCustomerDetail'){
|
|
|
- resource = '公海客户'
|
|
|
- }
|
|
|
+ let resource = this.$route.matched[1].meta.title
|
|
|
const res = await this.$api.requested({
|
|
|
"id": 20220930121601,
|
|
|
"content": {
|