Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
swx_weapp
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2022-11-15 15:09:00 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1fa31864cbf49ce729aef26f8a6418d1124d73a0
1fa31864
1 parent
06209ec7
fix 记录人只能创建者编辑
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
src/pages/editInfo/index.vue
src/pages/editInfo/index.vue
View file @
1fa3186
<!--
* @Date: 2022-09-30 09:53:14
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-11-
03 16:33:28
* @LastEditTime: 2022-11-
15 14:36:16
* @FilePath: /swx/src/pages/editInfo/index.vue
* @Description: 文件描述
-->
...
...
@@ -61,7 +61,7 @@
<view style="margin-right: 0; margin-top: 0.5rem;"><van-icon @tap="show_type_popup=true" :name="icon_sel" color="" /></view>
</view>
</view>
<view v-if="role === 'player'" class="at-input" style="margin-right: 1rem;">
<view v-if="role === 'player'
&& my_member_role === 'creator'
" class="at-input" style="margin-right: 1rem;">
<view class="at-input__container">
<label class="h5-label at-input__title at-input__title">记录人</label>
<input @tap="show_partner_popup=true" class="h5-input at-input__input" placeholder-class="placeholder" :value="user_partner.text" placeholder="请选择记录人" :disabled="true"/>
...
...
@@ -121,6 +121,7 @@ const phone = ref('');
const user_sex = ref('');
const age_group = ref('');
const role = ref('');
const my_member_role = ref('');
const partner = ref('');
const status_columns = ref([]);
const type_columns = ref([]);
...
...
@@ -141,6 +142,7 @@ onMounted(async () => {
user_status.value = data.member.status;
role.value = data.member.role;
partner.value = data.member.partner;
my_member_role.value = data.my_member_role;
}
// 年龄段存在,默认选中
if (age_group.value) {
...
...
Please
register
or
login
to post a comment