Browse Source

style(writing_followUp): 格式化代码

- 调整了数组和对象的格式- 优化了缩进和空格
- 删除了未使用的变量
master
liutong 1 year ago
parent
commit
1194c8f2a5
  1. 21
      pages/market/clue/writing_followUp.vue
  2. 2
      pages/student/login/login.vue

21
pages/market/clue/writing_followUp.vue

@ -224,10 +224,10 @@ export default {
}], }],
follow_up_type:[],// follow_up_type: [],//
signing_intention_contact:[],// signing_intention_contact: [],//
follow_up_personnel:[],// follow_up_personnel: [],//
reminder_method:[],// reminder_method: [],//
} }
}, },
onLoad(options) { onLoad(options) {
@ -259,10 +259,10 @@ export default {
this.follow_up_type = res.data.dictionary this.follow_up_type = res.data.dictionary
this.options_leixing = [] this.options_leixing = []
res.data.dictionary.forEach((v,k)=>{ res.data.dictionary.forEach((v, k) => {
this.options_leixing.push({ this.options_leixing.push({
value:v.value, value: v.value,
text:v.name, text: v.name,
}) })
}) })
}, },
@ -281,10 +281,11 @@ export default {
}, },
// //
async getSigning_intention_contact() {}, async getSigning_intention_contact() {
},
// //
async getFollow_up_personnel() {}, async getFollow_up_personnel() {
},
submit() { submit() {

2
pages/student/login/login.vue

@ -73,7 +73,7 @@
uni.setStorageSync('token', res.data.token); uni.setStorageSync('token', res.data.token);
let userType = res.data.userType let userType = res.data.userType
// userType = 3// // userType = 2//
console.log('用户类型',userType) console.log('用户类型',userType)
uni.setStorageSync('userType', userType); uni.setStorageSync('userType', userType);

Loading…
Cancel
Save