Pārlūkot izejas kodu

feature:首页工单反馈增加人员,创建工单名默认项目名称+工单类型

liuzl 2 gadi atpakaļ
vecāks
revīzija
e0e667f45d

+ 14 - 5
src/views/plat/work/index.vue

@@ -66,7 +66,10 @@
                   <p class="tit">试用开始反馈:</p>
                   <div v-for="(row, idx) in startList(v.feedbackTrail)" :key="idx">
                     <div>
-                      <el-descriptions border :column="2" :content-style="CS" :label-style="LS">
+                      <el-descriptions border :column="3" :content-style="CS" :label-style="LS">
+                        <el-descriptions-item label="反馈人员">
+                          {{ row.feedbackTrialName }}
+                        </el-descriptions-item>
                         <el-descriptions-item label="反馈时间">
                           {{ parseTime(row.feedbackTrialTime, '{y}-{m}-{d}') }}
                         </el-descriptions-item>
@@ -92,7 +95,10 @@
                   <p class="tit">试用过程反馈:</p>
                   <div v-for="(row, idx) in processList(v.feedbackTrail)" :key="idx">
                     <div v-show="idx < (v.showLength ? v.showLength : 1)">
-                      <el-descriptions border :column="2" :content-style="CS" :label-style="LS">
+                      <el-descriptions border :column="3" :content-style="CS" :label-style="LS">
+                        <el-descriptions-item label="反馈人员">
+                          {{ row.feedbackTrialName }}
+                        </el-descriptions-item>
                         <el-descriptions-item label="反馈时间">
                           {{ parseTime(row.feedbackTrialTime, '{y}-{m}-{d}') }}
                         </el-descriptions-item>
@@ -122,7 +128,10 @@
                   <p class="tit">试用总结反馈:</p>
                   <div v-for="(row, idx) in endList(v.feedbackTrail)" :key="idx">
                     <div>
-                      <el-descriptions border :column="2" :content-style="CS" :label-style="LS">
+                      <el-descriptions border :column="3" :content-style="CS" :label-style="LS">
+                        <el-descriptions-item label="反馈人员">
+                          {{ row.feedbackTrialName }}
+                        </el-descriptions-item>
                         <el-descriptions-item label="反馈时间">
                           {{ parseTime(row.feedbackTrialTime, '{y}-{m}-{d}') }}
                         </el-descriptions-item>
@@ -147,7 +156,7 @@
               </el-row>
               <el-row v-if="v.orderTypeName == '技术文件支持' || v.orderTypeName == '售前讲解支持'" :gutter="20">
                 <el-col v-if="v.feedbackSupportTime" :span="24">
-                  <p class="tit">支持人员总结:</p>
+                  <p class="tit">{{ v.feedbackSupportName }} (支持人员)总结:</p>
                   <el-descriptions border :column="1" :content-style="CS" :label-style="LS">
                     <el-descriptions-item label="反馈时间">{{ v.feedbackSupportTime }}</el-descriptions-item>
                     <el-descriptions-item label="本次讲解情况反馈">
@@ -156,7 +165,7 @@
                   </el-descriptions>
                 </el-col>
                 <el-col v-if="v.feedbackSaleTime" :span="24">
-                  <p class="tit">销售人员反馈:</p>
+                  <p class="tit">{{ v.feedbackSaleName }} (销售人员)反馈:</p>
                   <el-descriptions border :column="1" :content-style="CS" :label-style="LS">
                     <el-descriptions-item label="反馈时间">{{ v.feedbackSaleTime }}</el-descriptions-item>
                     <el-descriptions-item v-if="v.orderTypeName == '售前讲解支持'" label="会议纪要">

+ 3 - 0
src/views/work/order/components/Edit.vue

@@ -153,6 +153,9 @@
             this.dingtalkForm.items[index].props.value = this.form.saleName
             this.dingtalkForm.items[index].props.disabled = true
           }
+          if (this.dingtalkForm.items[index].props.label === '工单名称') {
+            this.dingtalkForm.items[index].props.value = this.form.custName + this.form.orderTypeName
+          }
         }
         this.$refs.dingTalkFrom.setFormAndRules(this.dingtalkForm)
       },