|
@@ -2,19 +2,19 @@
|
|
|
<view class="ti_page">
|
|
<view class="ti_page">
|
|
|
<view class="form">
|
|
<view class="form">
|
|
|
<view class="form-item adfacjb">
|
|
<view class="form-item adfacjb">
|
|
|
- <view class="form-item-title">团队名称</view>
|
|
|
|
|
|
|
+ <view class="form-item-title red">团队名称</view>
|
|
|
<view class="form-item-inp">
|
|
<view class="form-item-inp">
|
|
|
<u-input v-model="teamInfo.teamName" placeholder="请输入团队名称" placeholder-style="color:#B3BFC8;" border="none" inputAlign="right" fontSize="30rpx" color="#667E90"/>
|
|
<u-input v-model="teamInfo.teamName" placeholder="请输入团队名称" placeholder-style="color:#B3BFC8;" border="none" inputAlign="right" fontSize="30rpx" color="#667E90"/>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="form-item adfacjb">
|
|
<view class="form-item adfacjb">
|
|
|
- <view class="form-item-title">所在公司</view>
|
|
|
|
|
|
|
+ <view class="form-item-title red">所在公司</view>
|
|
|
<view class="form-item-inp">
|
|
<view class="form-item-inp">
|
|
|
<u-input v-model="teamInfo.enterpriseName" placeholder="请输入公司名称" placeholder-style="color:#B3BFC8;" border="none" inputAlign="right" fontSize="30rpx" color="#667E90"/>
|
|
<u-input v-model="teamInfo.enterpriseName" placeholder="请输入公司名称" placeholder-style="color:#B3BFC8;" border="none" inputAlign="right" fontSize="30rpx" color="#667E90"/>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="form-item adfacjb">
|
|
<view class="form-item adfacjb">
|
|
|
- <view class="form-item-title">所属地区</view>
|
|
|
|
|
|
|
+ <view class="form-item-title red">所属地区</view>
|
|
|
<view class="form-item-inp adfac" @click="pickerShow('areaShow')">
|
|
<view class="form-item-inp adfac" @click="pickerShow('areaShow')">
|
|
|
<text :class="{'active':areaText!=='请选择'}">{{areaText}}</text>
|
|
<text :class="{'active':areaText!=='请选择'}">{{areaText}}</text>
|
|
|
<u-icon name="arrow-right" size="24rpx" color="#B9C0C8"></u-icon>
|
|
<u-icon name="arrow-right" size="24rpx" color="#B9C0C8"></u-icon>
|
|
@@ -42,14 +42,14 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="form-item adfacjb">
|
|
<view class="form-item adfacjb">
|
|
|
- <view class="form-item-title">团队规模</view>
|
|
|
|
|
|
|
+ <view class="form-item-title red">团队规模</view>
|
|
|
<view class="form-item-inp adfac" @click="selectShow('teamScaleShow')">
|
|
<view class="form-item-inp adfac" @click="selectShow('teamScaleShow')">
|
|
|
<text :class="{'active':teamScaleText!=='请选择'}">{{teamScaleText}}</text>
|
|
<text :class="{'active':teamScaleText!=='请选择'}">{{teamScaleText}}</text>
|
|
|
<u-icon name="arrow-right" size="20rpx" color="#B9C0C8"></u-icon>
|
|
<u-icon name="arrow-right" size="20rpx" color="#B9C0C8"></u-icon>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="form-item adfacjb">
|
|
<view class="form-item adfacjb">
|
|
|
- <view class="form-item-title">团队层级</view>
|
|
|
|
|
|
|
+ <view class="form-item-title red">团队层级</view>
|
|
|
<view class="form-item-inp adfac" @click="selectShow('teamLevelShow')">
|
|
<view class="form-item-inp adfac" @click="selectShow('teamLevelShow')">
|
|
|
<text :class="{'active':teamLevelText!=='请选择'}">{{teamLevelText}}</text>
|
|
<text :class="{'active':teamLevelText!=='请选择'}">{{teamLevelText}}</text>
|
|
|
<u-icon name="arrow-right" size="20rpx" color="#B9C0C8"></u-icon>
|
|
<u-icon name="arrow-right" size="20rpx" color="#B9C0C8"></u-icon>
|
|
@@ -57,7 +57,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="box">
|
|
<view class="box">
|
|
|
- <view class="box-title">团队简介</view>
|
|
|
|
|
|
|
+ <view class="box-title red">团队简介</view>
|
|
|
<view class="box-textarea">
|
|
<view class="box-textarea">
|
|
|
<u-textarea border="none" height="320rpx" maxlength="-1" style="color: #667E90;padding: 0;" :placeholderStyle="{'color':'#B3BFC8','font-size':'30rpx','line-height':'40rpx'}"
|
|
<u-textarea border="none" height="320rpx" maxlength="-1" style="color: #667E90;padding: 0;" :placeholderStyle="{'color':'#B3BFC8','font-size':'30rpx','line-height':'40rpx'}"
|
|
|
v-model="teamInfo.brief" placeholder="示例:这是一个为公司ERP系统升级而组建的36人团队,成员由公司副总经理、各部门总监以及各部门核心骨干组成。团队成员工作地点分布在香港、上海、苏州、深圳和东莞等地。团队成员年龄在35-50岁之间,男女比例比较均衡,大部份成员在该公司同事超过十年。"></u-textarea>
|
|
v-model="teamInfo.brief" placeholder="示例:这是一个为公司ERP系统升级而组建的36人团队,成员由公司副总经理、各部门总监以及各部门核心骨干组成。团队成员工作地点分布在香港、上海、苏州、深圳和东莞等地。团队成员年龄在35-50岁之间,男女比例比较均衡,大部份成员在该公司同事超过十年。"></u-textarea>
|
|
@@ -190,9 +190,15 @@
|
|
|
this[key3] = false;
|
|
this[key3] = false;
|
|
|
},
|
|
},
|
|
|
handleConfirm(){
|
|
handleConfirm(){
|
|
|
|
|
+ if(!this.teamInfo.teamName) return this.$showToast('请输入团队名称')
|
|
|
|
|
+ if(!this.teamInfo.enterpriseName) return this.$showToast('请输入公司名称')
|
|
|
|
|
+ if(!this.teamInfo.districtId) return this.$showToast('请选择所属地区')
|
|
|
if(!this.teamInfo.industryId) return this.$showToast('请选择所属行业')
|
|
if(!this.teamInfo.industryId) return this.$showToast('请选择所属行业')
|
|
|
if(this.teamInfo.functionIds.length===0) return this.$showToast('请选择团队职能类型')
|
|
if(this.teamInfo.functionIds.length===0) return this.$showToast('请选择团队职能类型')
|
|
|
if(this.teamInfo.orgIds.length===0) return this.$showToast('请选择团队架构类型')
|
|
if(this.teamInfo.orgIds.length===0) return this.$showToast('请选择团队架构类型')
|
|
|
|
|
+ if(!this.teamInfo.scale) return this.$showToast('请选择团队规模')
|
|
|
|
|
+ if(!this.teamInfo.hierarchy) return this.$showToast('请选择团队层级')
|
|
|
|
|
+ if(!this.teamInfo.brief) return this.$showToast('请输入团队简介')
|
|
|
|
|
|
|
|
this.$emit('handleConfirm',this.teamInfo)
|
|
this.$emit('handleConfirm',this.teamInfo)
|
|
|
},
|
|
},
|
|
@@ -288,6 +294,19 @@
|
|
|
font-size: 30rpx;
|
|
font-size: 30rpx;
|
|
|
color: #002846;
|
|
color: #002846;
|
|
|
line-height: 42rpx;
|
|
line-height: 42rpx;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ &.red{
|
|
|
|
|
+ &::after{
|
|
|
|
|
+ content: "*";
|
|
|
|
|
+ font-family: PingFangSC, PingFang SC;
|
|
|
|
|
+ font-weight: 400;
|
|
|
|
|
+ font-size: 30rpx;
|
|
|
|
|
+ color: #FD4F66;
|
|
|
|
|
+ line-height: 42rpx;
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ left: -16rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|