于宏哲PHP 9 months ago
parent
commit
b6dd6761bb
  1. 9
      pages/market/clue/edit_clues.vue
  2. 9
      pages/market/clue/index.vue

9
pages/market/clue/edit_clues.vue

@ -66,6 +66,7 @@
<fui-input :borderBottom="false" :padding="[0]" placeholder="点击填写" v-model="formData.phone_number" backgroundColor="#434544" size="26" color="#fff" @blur="handlePhoneBlur"></fui-input> <fui-input :borderBottom="false" :padding="[0]" placeholder="点击填写" v-model="formData.phone_number" backgroundColor="#434544" size="26" color="#fff" @blur="handlePhoneBlur"></fui-input>
</view> </view>
</fui-form-item> </fui-form-item>
</view> </view>
</fui-form> </fui-form>
</view> </view>
@ -77,14 +78,14 @@
<fui-form ref="form" top="0" :model="formData" :show="false"> <fui-form ref="form" top="0" :model="formData" :show="false">
<view class="title" style="margin-top: 20rpx;">六要素信息</view> <view class="title" style="margin-top: 20rpx;">六要素信息</view>
<view class="input-style"> <view class="input-style">
<!-- 需求 -->
<fui-form-item label="需求" labelSize='26' prop="demand" background='#434544' labelColor='#fff' :bottomBorder='false'> <fui-form-item label="需求" labelSize='26' prop="demand" background='#434544' labelColor='#fff' :bottomBorder='false'>
<view class="input-title" style="margin-right:14rpx;"> <view class="input-title" style="margin-right:14rpx;">
<view class="input-title" style="margin-right:14rpx;" @click="openCicker('demand')"> <fui-input :borderBottom="false" :padding="[0]" placeholder="点击填写" v-model="formData.demand" backgroundColor="#434544" size="26" color="#fff" ></fui-input>
{{ formData.demand ? picker_config.demand.text : '点击选择' }}
</view>
</view> </view>
</fui-form-item> </fui-form-item>
<!-- 理念 --> <!-- 理念 -->
<fui-form-item label="理念" labelSize='26' prop="cognitive_idea" background='#434544' labelColor='#fff' :bottomBorder='false'> <fui-form-item label="理念" labelSize='26' prop="cognitive_idea" background='#434544' labelColor='#fff' :bottomBorder='false'>
<view class="input-title" style="margin-right:14rpx;"> <view class="input-title" style="margin-right:14rpx;">

9
pages/market/clue/index.vue

@ -25,7 +25,7 @@
<view class="card-con-span">{{ v.customerResource.phone_number }}</view> <view class="card-con-span">{{ v.customerResource.phone_number }}</view>
</view> </view>
<view class="card-con"> <view class="card-con">
所属校区{{ v.customerResource.name }} 所属校区{{ v.customerResource.campus_name }}
</view> </view>
<view class="card-con"> <view class="card-con">
@ -347,7 +347,7 @@
} }
] ]
//,() //,()
await this.getPersonnelAll(); // await this.getPersonnelAll();
} else { } else {
this.values = [{ this.values = [{
id: 1, id: 1,
@ -358,10 +358,11 @@
// //
async getPersonnelAll() { async getPersonnelAll(campus='') {
let res = await apiRoute.common_getPersonnelAll({ let res = await apiRoute.common_getPersonnelAll({
personnel_id: this.userInfo.id, //id personnel_id: this.userInfo.id, //id
account_type: 'market', //|teacher=,market= account_type: 'market', //|teacher=,market=
campus:campus
}) })
if (res.code != 1) { if (res.code != 1) {
uni.showToast({ uni.showToast({
@ -591,6 +592,8 @@
//- //-
// //
openAssign(item) { openAssign(item) {
console.log(item)
this.getPersonnelAll(item.customerResource.campus)
this.select_item = item this.select_item = item
this.select_show = true this.select_show = true
}, },

Loading…
Cancel
Save