Bläddra i källkod

修改客户管理以及新增专利数据库

zhuliu 1 år sedan
förälder
incheckning
46089dab40
2 ändrade filer med 14 tillägg och 9 borttagningar
  1. 7 8
      src/views/client/index.vue
  2. 7 1
      src/views/project/components/drawer/form.vue

+ 7 - 8
src/views/client/index.vue

@@ -38,12 +38,11 @@
                 </div>
               </template>
             </el-table-column>
-            <template v-if="!choseClient">
-              <div>
-                <el-table-column prop="personnelName" label="客户对接人" align="center"
-                  show-overflow-tooltip></el-table-column>
-                <el-table-column prop="remark" label="备注" align="center" show-overflow-tooltip></el-table-column>
-                <el-table-column label="操作" align="center" width="150">
+            <!-- <template >
+              <div> -->
+                <el-table-column  v-show="!choseClient" prop="personnelName" label="客户对接人" align="center" show-overflow-tooltip></el-table-column>
+                <el-table-column  v-show="!choseClient" prop="remark" label="备注" align="center" show-overflow-tooltip></el-table-column>
+                <el-table-column  v-show="!choseClient" label="操作" align="center" width="150">
                   <template slot-scope="scope">
                     <el-dropdown split-button type="primary" size="small" @click="handleEdit(scope.row)">
                       <span>编辑</span> 
@@ -53,8 +52,8 @@
                     </el-dropdown>
                   </template>
                 </el-table-column>
-              </div>
-            </template>
+              <!-- </div>
+            </template> -->
           </el-table>
         </div>
 

+ 7 - 1
src/views/project/components/drawer/form.vue

@@ -46,6 +46,9 @@
                         </el-option>
                       </el-select>
                     </div>
+                    <span slot="button">
+                      <i class="el-icon-plus"></i>
+                    </span>
                   </mySelectButton>
             </el-form-item>
             <template v-if="(ruleForm.id && !(ruleForm.eventIds && ruleForm.eventIds.length)) || !ruleForm.id">
@@ -387,7 +390,10 @@ export default {
      */
     //打开事件弹窗
     addEvent(){
-      this.$refs.addEvent.open(null, 1)
+      var form = {
+        scenarioId : this.scenarioId
+      }
+      this.$refs.addEvent.open(form, 1)
     },
     //事件新增成功
     handleSuccess(){