|
|
@@ -93,6 +93,19 @@
|
|
|
<uni-section title="沟通内容确定" type="line" padding v-if="id != '' && form.leiXing != '2'">
|
|
|
<textarea maxlength="-1" v-model="form.gouTongQueDingNei" placeholder="意见和建议" :disabled="true"></textarea>
|
|
|
</uni-section>
|
|
|
+ <u-row v-if="typeValue == 1">
|
|
|
+ <u-col span="6">
|
|
|
+ <uni-section title="沟通人" type="line" padding>
|
|
|
+ <view style="height: 40rpx">{{bianZhiRenName}}</view>
|
|
|
+ </uni-section>
|
|
|
+ </u-col>
|
|
|
+ <u-col span="6">
|
|
|
+ <uni-section title="确定人" type="line" padding>
|
|
|
+ <view style="height: 40rpx;">{{queDingRenName}}</view>
|
|
|
+ </uni-section>
|
|
|
+ </u-col>
|
|
|
+ </u-row>
|
|
|
+
|
|
|
|
|
|
<view class="padding flex flex-direction" v-if="typeValue == '3'">
|
|
|
<u-button type="success" class="btn btn-back-color" @click="onSubmit">提交
|
|
|
@@ -171,7 +184,9 @@
|
|
|
}],
|
|
|
kehuXinXinList: [],
|
|
|
|
|
|
- weiTuoList: []
|
|
|
+ weiTuoList: [],
|
|
|
+ bianZhiRenName: '',
|
|
|
+ queDingRenName: ''
|
|
|
}
|
|
|
},
|
|
|
onLoad(options) {
|
|
|
@@ -335,6 +350,18 @@
|
|
|
if (data.lei_xing_ == '2' && data.shi_fou_guo_shen_ == '已编制') {
|
|
|
this.getTaskId(data.id_)
|
|
|
}
|
|
|
+
|
|
|
+ if (data.bian_zhi_ren_) {
|
|
|
+ this.getBianZhiRen(data.bian_zhi_ren_, res => {
|
|
|
+ this.bianZhiRenName = res.NAME_
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
+ if (data.gou_tong_ren_yuan) {
|
|
|
+ this.getBianZhiRen(data.gou_tong_ren_yuan, res => {
|
|
|
+ this.queDingRenName = res.NAME_
|
|
|
+ })
|
|
|
+ }
|
|
|
uni.hideLoading()
|
|
|
}
|
|
|
})
|
|
|
@@ -454,7 +481,7 @@
|
|
|
let useId = info.user.id
|
|
|
|
|
|
let sql =
|
|
|
- `select id_,wei_tuo_bian_hao_ from t_lhwtsqb where create_by_ = '${useId}' order by create_time_ desc`
|
|
|
+ `select tl.id_,tl.wei_tuo_bian_hao_ from t_lhwtsqb tl left join t_bjd td on tl.he_tong_id_ = td.id_ where (tl.create_by_ = '${useId}' or td.ke_hu_zhang_hao_ = '${useId}') and tl.wei_tuo_lei_xing_ = '客户委托' ORDER BY tl.create_time_ desc`
|
|
|
|
|
|
let requestData = this.$sig(sql)
|
|
|
this.$http.post("/ibps/business/v3/sys/universal/inputSqlSelectData", requestData).then(res => {
|
|
|
@@ -593,6 +620,16 @@
|
|
|
document.body.removeChild(link)
|
|
|
uni.hideLoading()
|
|
|
})
|
|
|
+ },
|
|
|
+ getBianZhiRen(id, callback) {
|
|
|
+ let sql = `select * from ibps_party_employee where ID_ = '${id}'`
|
|
|
+ let requestData = this.$sig(sql)
|
|
|
+ this.$http.post("/ibps/business/v3/sys/universal/inputSqlSelectData", requestData).then(res => {
|
|
|
+ const datas = res.data.variables.data
|
|
|
+ if (datas.length > 0) {
|
|
|
+ callback(datas[0])
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -604,6 +641,6 @@
|
|
|
}
|
|
|
|
|
|
.btn {
|
|
|
- margin: 15rpx
|
|
|
+ margin: 15rpx;
|
|
|
}
|
|
|
</style>
|