|
@@ -28,7 +28,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="form-item adfacjb">
|
|
<view class="form-item adfacjb">
|
|
|
- <view class="form-item-title" :class="{'red':isqtype}">团队职能类型</view>
|
|
|
|
|
|
|
+ <view class="form-item-title" :class="{'red':isqtype}">团队模式类型</view>
|
|
|
<view class="form-item-inp adfac" @click="turnPage('function')">
|
|
<view class="form-item-inp adfac" @click="turnPage('function')">
|
|
|
<text :class="{'active':functionTypeText!=='请选择'}">{{functionTypeText}}</text>
|
|
<text :class="{'active':functionTypeText!=='请选择'}">{{functionTypeText}}</text>
|
|
|
<u-icon name="arrow-right" size="20rpx" color="#B9C0C8"></u-icon>
|
|
<u-icon name="arrow-right" size="20rpx" color="#B9C0C8"></u-icon>
|
|
@@ -48,13 +48,13 @@
|
|
|
<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" :class="{'red':isqtype}">团队层级</view>
|
|
<view class="form-item-title" :class="{'red':isqtype}">团队层级</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>
|
|
|
</view>
|
|
</view>
|
|
|
- </view>
|
|
|
|
|
|
|
+ </view> -->
|
|
|
</view>
|
|
</view>
|
|
|
<view class="box">
|
|
<view class="box">
|
|
|
<view class="box-title" :class="{'red':isqtype}">团队简介</view>
|
|
<view class="box-title" :class="{'red':isqtype}">团队简介</view>
|
|
@@ -70,14 +70,14 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<cus-select :show="teamScaleShow" title="选择团队规模" :list="teamScaleData" @close="teamScaleShow=false" @confirmTeam="e=>selectConfirm(e,'scale','teamScaleText','teamScaleShow')"></cus-select>
|
|
<cus-select :show="teamScaleShow" title="选择团队规模" :list="teamScaleData" @close="teamScaleShow=false" @confirmTeam="e=>selectConfirm(e,'scale','teamScaleText','teamScaleShow')"></cus-select>
|
|
|
- <cus-select :show="teamLevelShow" title="选择团队层级" :list="teamLevelData" @close="teamLevelShow=false" @confirmTeam="e=>selectConfirm(e,'hierarchy','teamLevelText','teamLevelShow')"></cus-select>
|
|
|
|
|
|
|
+ <!-- <cus-select :show="teamLevelShow" title="选择团队层级" :list="teamLevelData" @close="teamLevelShow=false" @confirmTeam="e=>selectConfirm(e,'hierarchy','teamLevelText','teamLevelShow')"></cus-select> -->
|
|
|
</view>
|
|
</view>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
import CusSelect from '@/components/CusSelect/index.vue'
|
|
import CusSelect from '@/components/CusSelect/index.vue'
|
|
|
import CusProvinceCityArea from '@/components/CusProvinceCityArea/index.vue'
|
|
import CusProvinceCityArea from '@/components/CusProvinceCityArea/index.vue'
|
|
|
-import props from '../../uni_modules/uview-ui/libs/config/props'
|
|
|
|
|
|
|
+import props from '../../uni_modules/uview-ui/libs/config/props'
|
|
|
export default {
|
|
export default {
|
|
|
components:{ CusSelect, CusProvinceCityArea },
|
|
components:{ CusSelect, CusProvinceCityArea },
|
|
|
props:{
|
|
props:{
|
|
@@ -170,7 +170,7 @@ import props from '../../uni_modules/uview-ui/libs/config/props'
|
|
|
events:{
|
|
events:{
|
|
|
selectConfirm:data=>{
|
|
selectConfirm:data=>{
|
|
|
if(data.type==='function'){
|
|
if(data.type==='function'){
|
|
|
- this.teamInfo.functionIds = data.ids;
|
|
|
|
|
|
|
+ this.teamInfo.functionIds = data.ids;
|
|
|
this.functionTypeText = data.names.join(',');
|
|
this.functionTypeText = data.names.join(',');
|
|
|
}else if(data.type==='architecture'){
|
|
}else if(data.type==='architecture'){
|
|
|
this.teamInfo.orgIds = data.ids;
|
|
this.teamInfo.orgIds = data.ids;
|
|
@@ -204,10 +204,10 @@ import props from '../../uni_modules/uview-ui/libs/config/props'
|
|
|
if(!this.teamInfo.districtId) 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.isqtype){
|
|
if(this.isqtype){
|
|
|
- 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.scale) return this.$showToast('请选择团队规模')
|
|
|
- if(!this.teamInfo.hierarchy) return this.$showToast('请选择团队层级')
|
|
|
|
|
|
|
+ // if(!this.teamInfo.hierarchy) return this.$showToast('请选择团队层级')
|
|
|
if(!this.teamInfo.brief) return this.$showToast('请输入团队简介')
|
|
if(!this.teamInfo.brief) return this.$showToast('请输入团队简介')
|
|
|
}
|
|
}
|
|
|
|
|
|