TurnSendList.vue 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <template>
  2. <view>
  3. <Cell @click="toResult" cellType="more" title="接收人员">
  4. <view class="cell-list-more" slot="more">
  5. <text class="font-grey" v-text="executorInfo && executorInfo.executorName"></text>
  6. <uni-icons type="right" size="18" color="#ccc"></uni-icons>
  7. </view>
  8. </Cell>
  9. <Cell title="转派原因" cellType="more">
  10. <view class="cell-list-more" slot="more">
  11. <input type="text" v-model="redeployCause" placeholder="请输入" @input="inputChange"/>
  12. <uni-icons type="right" size="18" color="#ccc"></uni-icons>
  13. </view>
  14. </Cell>
  15. </view>
  16. </template>
  17. <script>
  18. import Cell from '@/components/Cell.vue'
  19. export default {
  20. name:"TurnSendList",
  21. components:{
  22. Cell
  23. },
  24. props:{
  25. executorInfo: {
  26. type:Object
  27. },
  28. code:{
  29. type:String,
  30. default:""
  31. }
  32. },
  33. data() {
  34. return {
  35. redeployCause: ''
  36. };
  37. },
  38. methods:{
  39. inputChange(e){
  40. this.$emit('change', e)
  41. },
  42. toResult(){
  43. //跳转到转派页面
  44. uni.navigateTo({
  45. url:'../turn_send_user/turn_send_user?code='+this.code
  46. })
  47. },
  48. }
  49. }
  50. </script>
  51. <style lang="scss" scoped>
  52. input{
  53. text-align: right;
  54. color: $uni-text-color-grey;
  55. font-size: $uni-font-size-base;
  56. }
  57. </style>