于宏哲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>
</view>
</fui-form-item>
</view>
</fui-form>
</view>
@ -77,14 +78,14 @@
<fui-form ref="form" top="0" :model="formData" :show="false">
<view class="title" style="margin-top: 20rpx;">六要素信息</view>
<view class="input-style">
<!-- 需求 -->
<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;" @click="openCicker('demand')">
{{ formData.demand ? picker_config.demand.text : '点击选择' }}
</view>
<fui-input :borderBottom="false" :padding="[0]" placeholder="点击填写" v-model="formData.demand" backgroundColor="#434544" size="26" color="#fff" ></fui-input>
</view>
</fui-form-item>
<!-- 理念 -->
<fui-form-item label="理念" labelSize='26' prop="cognitive_idea" background='#434544' labelColor='#fff' :bottomBorder='false'>
<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>
<view class="card-con">
所属校区{{ v.customerResource.name }}
所属校区{{ v.customerResource.campus_name }}
</view>
<view class="card-con">
@ -347,7 +347,7 @@
}
]
//,()
await this.getPersonnelAll();
// await this.getPersonnelAll();
} else {
this.values = [{
id: 1,
@ -358,10 +358,11 @@
//
async getPersonnelAll() {
async getPersonnelAll(campus='') {
let res = await apiRoute.common_getPersonnelAll({
personnel_id: this.userInfo.id, //id
account_type: 'market', //|teacher=,market=
campus:campus
})
if (res.code != 1) {
uni.showToast({
@ -591,6 +592,8 @@
//-
//
openAssign(item) {
console.log(item)
this.getPersonnelAll(item.customerResource.campus)
this.select_item = item
this.select_show = true
},

Loading…
Cancel
Save