|
@@ -239,24 +239,32 @@
|
|
|
|
|
|
<!-- 选择研究员 -->
|
|
|
<van-popup :show="isResearcherPicker" position="bottom">
|
|
|
- <!-- <view class="select-rs-header">
|
|
|
- <text class="cancel" @click="cancelResearcher">取消</text>
|
|
|
- <text class="ensure" @click="confirmResearcher">确认</text>
|
|
|
- </view>
|
|
|
- <van-tree-select
|
|
|
- :items="researcherList"
|
|
|
- :main-active-index="rs_picker.firstindex"
|
|
|
- :active-id="rs_picker.id"
|
|
|
- @click-nav="clickFirstHandle"
|
|
|
- @click-item="clickItemHandle"
|
|
|
- /> -->
|
|
|
- <van-cascader
|
|
|
- title="请选择研究员"
|
|
|
- active-color="#3385FF"
|
|
|
- :options="researcherList"
|
|
|
- @close="cancelResearcher"
|
|
|
- @finish="chooseResearcher"
|
|
|
- />
|
|
|
+ <!-- 内部会议可多选研究员,且只有ficc会有内部会议 -->
|
|
|
+ <template v-if="!['路演', '公开会议'].includes(formData.activityType)">
|
|
|
+ <view class="select-rs-header">
|
|
|
+ <text class="cancel" @click="cancelResearcher">取消</text>
|
|
|
+ <text class="ensure" @click="confirmResearcher">确认</text>
|
|
|
+ </view>
|
|
|
+ <van-tree-select
|
|
|
+ :items="ficcReasearcherList"
|
|
|
+ :main-active-index="rs_picker.firstindex"
|
|
|
+ :active-id="rs_picker.id"
|
|
|
+ @click-nav="clickFirstHandle"
|
|
|
+ @click-item="clickItemHandle"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <van-cascader
|
|
|
+ v-if="isResearcherPicker"
|
|
|
+ v-model="this.formData.selectResearchers[this.selectRsIndex].researcherId"
|
|
|
+ title="请选择研究员"
|
|
|
+ active-color="#3385FF"
|
|
|
+ :options="researcherList"
|
|
|
+ @close="isResearcherPicker=false"
|
|
|
+ @finish="chooseResearcher"
|
|
|
+ />
|
|
|
+
|
|
|
+ </template>
|
|
|
</van-popup>
|
|
|
|
|
|
<!-- 选择时间 -->
|
|
@@ -357,10 +365,10 @@
|
|
|
|
|
|
if(uni.getStorageSync('roadshow_compantyId')) {
|
|
|
this.formData.companyId = Number(uni.getStorageSync('roadshow_compantyId'));
|
|
|
- this.formData.englishCompany = Number(uni.getStorageSync('roadshow_isEnglishCompany'))
|
|
|
+ this.formData.englishCompany = Number(uni.getStorageSync('roadshow_isEnglishCompany'))
|
|
|
this.getCompanyInfo();
|
|
|
uni.removeStorageSync('roadshow_compantyId');
|
|
|
- uni.removeStorageSync('roadshow_isEnglishCompany');
|
|
|
+ uni.removeStorageSync('roadshow_isEnglishCompany');
|
|
|
}
|
|
|
}
|
|
|
}
|