|
|
@@ -18,7 +18,7 @@
|
|
|
<u-form-item prop="userInfo.sex" borderBottom>
|
|
|
<view class="item">
|
|
|
<text class="key">负责人</text>
|
|
|
- <view class="flex-row input">
|
|
|
+ <view class="flex-row input" @click="openSelectPerson">
|
|
|
<u--input disabled placeholder="请选择负责人" border="none"></u--input>
|
|
|
<u-icon name="arrow-right"></u-icon>
|
|
|
</view>
|
|
|
@@ -28,7 +28,7 @@
|
|
|
<u-form-item prop="userInfo.sex" borderBottom>
|
|
|
<view class="item">
|
|
|
<text class="key">分组成员</text>
|
|
|
- <view class="flex-row input">
|
|
|
+ <view class="flex-row input" @click="openSelectMember">
|
|
|
<u--input disabled placeholder="请选择分组成员" border="none"></u--input>
|
|
|
<u-icon name="arrow-right"></u-icon>
|
|
|
</view>
|
|
|
@@ -59,6 +59,52 @@
|
|
|
<view class="addGroup">
|
|
|
<text>提交</text>
|
|
|
</view>
|
|
|
+
|
|
|
+ <uni-popup ref="selectMemberPopup" type="bottom">
|
|
|
+ <view class="selectMemberPopup">
|
|
|
+ <view class="flex-row justify-around popupTitle">
|
|
|
+ <text @click="closePopup('selectMemberPopup')">取消</text>
|
|
|
+ <text>选择分组负责人</text>
|
|
|
+ <text>确定</text>
|
|
|
+ </view>
|
|
|
+ <view class="scroll-y-view">
|
|
|
+ <scroll-view scroll-y class="scroll-y1" >
|
|
|
+ <view class="flex-row justify-between member" v-for="item in 10">
|
|
|
+ <view class="flex-row">
|
|
|
+ <text class="name">张三</text>
|
|
|
+ <text class="name">1736500000</text>
|
|
|
+ </view>
|
|
|
+ <u-icon name="checkbox-mark" color="#FFE05C" size="24"></u-icon>
|
|
|
+ </view>
|
|
|
+ </scroll-view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+ </uni-popup>
|
|
|
+
|
|
|
+ <uni-popup ref="selectPersonPopup" type="bottom">
|
|
|
+ <view class="selectMemberPopup">
|
|
|
+ <view class="flex-row justify-around popupTitle">
|
|
|
+ <text @click="closePopup('selectPersonPopup')">取消</text>
|
|
|
+ <text>选择分组负责人</text>
|
|
|
+ <text>确定</text>
|
|
|
+ </view>
|
|
|
+ <view class="scroll-y-view">
|
|
|
+ <scroll-view scroll-y class="scroll-y1" >
|
|
|
+ <view class="flex-row justify-between member" v-for="item in 10">
|
|
|
+ <view class="flex-row">
|
|
|
+ <text class="name">张三</text>
|
|
|
+ <text class="name">1736500000</text>
|
|
|
+ </view>
|
|
|
+ <u-icon name="checkbox-mark" color="#FFE05C" size="24"></u-icon>
|
|
|
+ </view>
|
|
|
+ </scroll-view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+ </uni-popup>
|
|
|
+
|
|
|
+
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
@@ -87,6 +133,17 @@
|
|
|
},
|
|
|
methods: {
|
|
|
|
|
|
+ openSelectMember(){
|
|
|
+ this.$refs.selectMemberPopup.open()
|
|
|
+ },
|
|
|
+
|
|
|
+ openSelectPerson(){
|
|
|
+ this.$refs.selectPersonPopup.open()
|
|
|
+ },
|
|
|
+ closePopup(name){
|
|
|
+ this.$refs[name].close()
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
</script>
|