| | |
| | | |
| | | <u-form-item label-width='158' prop="recipientText" label="指令接收人" :required="true"> |
| | | |
| | | <u-button slot="right" type="success" size="mini" @click="recipientClick">选择接收人</u-button> |
| | | <u-input type='textarea' v-model="form.recipientPeople" placeholder="请选择指令接收人" |
| | | @click="recipientClick" autoHeight /> |
| | | |
| | | <!-- <u-button slot="right" type="success" size="mini" @click="recipientClick">选择接收人</u-button> --> |
| | | |
| | | <u-popup :closeable="true" v-model="recipientShow" mode="bottom" height="50%" border-radius="14"> |
| | | |
| | |
| | | return { |
| | | recipientShow: false, |
| | | recipientList: [], |
| | | |
| | | form: { |
| | | content: '', |
| | | recipient: '', |
| | | recipientData: [] |
| | | recipientData: [], |
| | | recipientPeople: '' |
| | | }, |
| | | rules: { |
| | | |
| | |
| | | }, |
| | | methods: { |
| | | recipientClick() { |
| | | if (this.recipientList.length > 0) { |
| | | this.recipientShow = true; |
| | | return; |
| | | } |
| | | |
| | | uni.request({ |
| | | url: this.$store.state.piAPI + "/blade-user/seleL", |
| | | method: "get", |
| | |
| | | this.recipientList = [] |
| | | |
| | | res.data.data.forEach(item => { |
| | | var flag = true |
| | | |
| | | if (item.id != this.$store.state |
| | | .UserData.user_id |
| | | ) { |
| | | item.checked = false; |
| | | this.recipientList.push(item) |
| | | if (this.recipientList.length > 0) { |
| | | this.recipientList.forEach(it => { |
| | | if (item.id == it.id) flag = false |
| | | }) |
| | | } |
| | | |
| | | if (flag == true) { |
| | | if (item.id != this.$store.state |
| | | .UserData.user_id |
| | | ) { |
| | | item.checked = false; |
| | | this.recipientList.push(item) |
| | | } |
| | | } |
| | | |
| | | }) |
| | |
| | | }); |
| | | }, |
| | | checkboxGroupChange(e) { |
| | | var that = this |
| | | |
| | | this.form.recipientData = e |
| | | |
| | | var str = "" |
| | | var num = 0 |
| | | |
| | | that.form.recipientData.forEach((item, index) => { |
| | | that.recipientList.forEach((it, index) => { |
| | | if (item == it.id) { |
| | | if (num > 0) { |
| | | str += '、'; |
| | | str += it.real_name; |
| | | } else { |
| | | str += it.real_name |
| | | } |
| | | num += 1 |
| | | return |
| | | } |
| | | }) |
| | | }) |
| | | |
| | | this.form.recipientPeople = str |
| | | |
| | | }, |
| | | |
| | | } |
| | |
| | | |
| | | <u-form-item label-width='132' label="接收人"> |
| | | |
| | | <u-button slot="right" type="success" size="mini" @click="recipientClick">选择接收人</u-button> |
| | | <u-input type='textarea' v-model="form.recipientPeople" placeholder="请选择接收人" |
| | | @click="recipientClick" autoHeight /> |
| | | |
| | | <u-popup :closeable="true" v-model="recipientShow" mode="bottom" height="50%" border-radius="14"> |
| | | |
| | |
| | | categoryText: '', |
| | | type: '', |
| | | typeText: '', |
| | | recipientData: [] |
| | | recipientData: [], |
| | | recipientPeople: '' |
| | | }, |
| | | rules: { |
| | | categoryText: [{ |
| | |
| | | |
| | | this.recipientList = [] |
| | | res.data.data.forEach(item => { |
| | | |
| | | if (item.id != this.$store.state |
| | | .UserData.user_id |
| | | ) { |
| | | |
| | | item.checked = false; |
| | | this.recipientList.push(item) |
| | | |
| | | |
| | | var flag = true |
| | | |
| | | if (this.recipientList.length > 0) { |
| | | this.recipientList.forEach(it => { |
| | | if (item.id == it.id) flag = false |
| | | }) |
| | | } |
| | | |
| | | if (flag == true) { |
| | | if (item.id != this.$store.state |
| | | .UserData.user_id |
| | | ) { |
| | | item.checked = false; |
| | | this.recipientList.push(item) |
| | | } |
| | | } |
| | | |
| | | }) |
| | |
| | | }); |
| | | }, |
| | | checkboxGroupChange(e) { |
| | | var that = this |
| | | |
| | | this.form.recipientData = e |
| | | |
| | | var str = "" |
| | | var num = 0 |
| | | |
| | | that.form.recipientData.forEach((item, index) => { |
| | | that.recipientList.forEach((it, index) => { |
| | | if (item == it.id) { |
| | | if (num > 0) { |
| | | str += '、'; |
| | | str += it.real_name; |
| | | } else { |
| | | str += it.real_name |
| | | } |
| | | num += 1 |
| | | return |
| | | } |
| | | }) |
| | | }) |
| | | |
| | | this.form.recipientPeople = str |
| | | |
| | | }, |
| | | |
| | |
| | | <i>学历</i> <span> {{ datalist.education }} </span> |
| | | </view> |
| | | <view class="once"> |
| | | <i>出生日期</i> <span> {{ datalist.birthtime }} </span> |
| | | <i>出生日期</i> <span> {{ datalist.birthday }} </span> |
| | | </view> |
| | | <view class="once"> |
| | | <i>政治面貌</i> <span> {{ datalist.politicaloutlook }} </span> |
| | | </view> |
| | | <view class="once"> |
| | | <i>联系电话</i> <span> {{ datalist.cell }} </span> |
| | | <i>联系电话</i> <span> {{ datalist.phone }} </span> |
| | | </view> |
| | | <view class="once"> |
| | | <i>所属公司</i> <span> {{ datalist.deptName }} </span> |
| | |
| | | 性别:<view class="o-once"> {{datalist.sex == 1 ? '男' : '女'}}</view> |
| | | </view> |
| | | <view class="once"> |
| | | 编号:<view class="o-once"> {{datalist.baoanzheng}}</view> |
| | | 编号:<view class="o-once"> {{datalist.securitynumber}}</view> |
| | | </view> |
| | | <view class="once"> |
| | | 发证机关:<view class="o-once"> {{datalist.fzobj}}</view> |
| | | 发证机关:<view class="o-once"> 南昌市公安局 </view> |
| | | </view> |
| | | <view class="once"> |
| | | 发证日期:<view class="o-once"> {{datalist.fztime}}</view> |
| | | 发证日期:<view class="o-once"> {{datalist.updateTime}}</view> |
| | | </view> |
| | | |
| | | <u-image class="img" width="150rpx" height="150rpx" :src="datalist.avatar"> |
| | |
| | | useName: '过客 ', |
| | | }, |
| | | logPath: '', |
| | | // piAPI: 'http://223.82.109.183:2080/api', |
| | | piAPI: 'http://192.168.0.114:81', |
| | | piAPI: 'http://223.82.109.183:2080/api', |
| | | // piAPI: 'http://192.168.0.114:81', |
| | | api: 'http://223.82.109.183:2080/api', |
| | | // piAPI: 'http://localhost:83/', |
| | | // piAPI: 'http://192.168.0.115:83', |