zhaoxiaoqiang1
2026-01-04 f1d30d03186c79ca2cbcfe60d6d2ce7d73fba97b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<template>
  <div v-loading="loading">
    <el-form label-position="right" :model="form" v-show="!loading" ref="form">
      <el-row>
        <p class="title">审批意见</p>
        <details-input :config="form.phasechoice"></details-input>
        <!-- <details-input rows="20" is-text-area="textarea" :config="form.phaseopinion"></details-input> -->
        <el-col class="opinion" :span="24" v-if="form.phaseopinion.visible">
          <el-form-item  :label="form.phaseopinion.filedDescription + ':'">
            <!-- <p></p> -->
            <p class="opinion-content">{{form.phaseopinion.valueDesc === '' ?'--' :form.phaseopinion.valueDesc }}</p>
          </el-form-item>
        </el-col>
      </el-row>
    </el-form>
  </div>
</template>
 
<script>
import { ChannelApproveInfoRequest } from '@/api/area/partner'
import DetailsInput from './components/DetailsInput'
import { mapState } from 'vuex'
export default {
  components: { DetailsInput },
  data: function() {
    return {
      loading: true,
      form: {
        phasechoice: '',
        phaseopinion: '',
        approveorg: '',
        inputorg: '',
        objectno: '',
        inputuser: '',
        inputtime: '',
        objecttype: '',
        opinionno: '',
        serialno: '',
      }
    }
  },
  created() {
    this.initForm()
  },
  computed: {
    ...mapState({
      partnerParams: state => state.risk.partnerParams
    })
  },
  methods: {
    // 初始化
    async initForm() {
      let params = {
        ftserialno: this.partnerParams.ftserialno,
        objectType: this.partnerParams.objectType,
        objectno: this.partnerParams.serialno,
      }
      let res = await ChannelApproveInfoRequest(params)
      this._.merge(this.form, res.result)
      this.loading = false
    },
  }
}
</script>
 
<style lang="stylus" scoped>
.opinion
  position relative
  >>> .el-form-item__label
    position absolute
    top 13px
  .opinion-content
    // width 1200px
    position absolute
    left 160px
    top 0
</style>