Forráskód Böngészése

增加估计目的类型

wucl 4 hónapja
szülő
commit
90d6ab75d9
2 módosított fájl, 21 hozzáadás és 8 törlés
  1. 9 6
      src/views/major/detail.vue
  2. 12 2
      src/views/major/todoDetail.vue

+ 9 - 6
src/views/major/detail.vue

@@ -190,12 +190,15 @@
                         class="postInfo-container-item"
                       >
                       <el-select v-model="major.evaluateAim" placeholder="请选择" style="width: 100%">
-                              <el-option label="抵押" value="抵押"></el-option> 
-                              <el-option label="咨询" value="咨询"></el-option>
-                              <el-option label="融资" value="融资"></el-option> 
-                              <el-option label="可行性研究" value="可行性研究"></el-option>
-                              <el-option label="不良资产价值评估" value="不良资产价值评估"></el-option> 
-                              <el-option label="其他" value="其他"></el-option>
+                        <el-option label="抵押" value="抵押"></el-option>
+                          <el-option label="咨询" value="咨询"></el-option>
+                          <el-option label="融资" value="融资"></el-option>
+                          <el-option label="司法" value="司法"></el-option>
+                          <el-option label="可行性研究" value="可行性研究"></el-option>
+                          <el-option label="不良资产价值评估" value="不良资产价值评估"></el-option>
+                          <el-option label="租金" value="租金"></el-option>
+                          <el-option label="BD" value="BD"></el-option>
+                          <el-option label="其他" value="其他"></el-option>
                             </el-select>
                       </el-form-item>
                     </el-col>

+ 12 - 2
src/views/major/todoDetail.vue

@@ -1684,10 +1684,11 @@
             <el-row class="row-style" v-if="allotPerformance.performanceList.length > 0">
               <el-col :xs="24" :sm="12" :lg="6" :span="6" v-for="(a, index) in allotPerformance.performanceList">
                 <el-card shadow="always" style="margin-top:30px;margin-right:15px;margin-bottom:30px;">
-                  <span v-if="a.isPrincipal" style="position:absolute; top:35px;left :87px"><el-tag
+                  <span v-if="a.isPrincipal" style="position:absolute; top:45px;left :87px"><el-tag
                       type="danger">项目负责人</el-tag></span>
+                      <i style="float: right; color: #1890ff;" class="el-icon-delete" @click="removePerformanceList(a)"></i>
                   <div class="performance-avatar-wrapper perfomance-icon-title">{{ a.userName.slice(-2) }}</div>
-                  <el-input v-model.number="a.ratio" type="number" style="width:80%;margin-left:5px">
+                  <el-input v-model.number="a.ratio" type="number" style="width:80%;margin-left:5px;margin-top: 5px;">
                     <template slot="append">%</template>
                   </el-input>
                 </el-card>
@@ -4086,6 +4087,12 @@ export default {
       });
       this.needAddToPerformanceUsers = [];
     },
+    removePerformanceList(a){
+      console.log(this.allotPerformance.performanceList);
+      console.log(a)
+      this.allotPerformance.performanceList = this.allotPerformance.performanceList.filter(item=>item.userId!=a.userId);
+      console.log(this.allotPerformance.performanceList)
+    }
   },
 }
 </script>
@@ -4215,4 +4222,7 @@ a:hover{
   position: relative;
   top: -2px;
 }
+.el-icon-delete:hover{
+  cursor: pointer;
+}
 </style>