yusheng 1 سال پیش
والد
کامیت
fd80a41b0c

+ 2 - 1
src/enum/dict.js

@@ -83,7 +83,8 @@ export default {
   不拆物料层规格: 'material_layer',
   生产类型: 'productionType',
   协同办公分类: 'collaborative_type',
-  市场活动类型: 'activity_type'
+  市场活动类型: 'activity_type',
+  客户联系人状态: 'contact_link_status',
 };
 
 export const numberList = [

+ 2 - 14
src/views/bpm/handleTask/components/contact/contactDetailDialog.vue

@@ -365,17 +365,7 @@ import fileMain from "@/components/addDoc/index.vue";
 
 
 export default {
-  props: {
-    categoryTreeList: Array,
-    taskDefinitionKey: {
-      type: String,
-      default: 'starter',
-    },
-    businessId: {
-      type: String,
-      default: ''
-    }
-  },
+
   mixins: [dictMixins],
   components: {fileMain, certificateQualificationsDialog},
   data() {
@@ -609,9 +599,7 @@ export default {
       ],
     };
   },
-  created() {
-    this._getById(this.businessId);
-  },
+
   methods: {
     cancel() {
       this.$nextTick(() => {

+ 16 - 2
src/views/bpm/handleTask/components/contact/contactList.vue

@@ -15,8 +15,18 @@
         >
       </template>
     </ele-pro-table>
+    <ele-modal
+    custom-class="ele-dialog-form long-dialog-form"
+    v-if="visible"
+    :visible.sync="visible"
+    :close-on-click-modal="false"
+    :append-to-body="true"
+    width="70%"
+  >
+  <ContactDetailDialog  ref="contactDetailDialogRef"></ContactDetailDialog>
+</ele-modal>
 
-    <ContactDetailDialog  ref="contactDetailDialogRef"></ContactDetailDialog>
+   
   </div>
 </template>
 
@@ -36,6 +46,7 @@
     },
     data() {
       return {
+        visible:false,
         datasource:[],
         columns: [
           {
@@ -154,7 +165,10 @@
     methods: {
      
       openDetail(row) {
-        this.$refs.contactDetailDialogRef.open(row);
+        this.visible=true
+       this.$nextTick(()=>{
+        this.$refs.contactDetailDialogRef._getById(row.id);
+       })
       }
     },
     

+ 3 - 3
src/views/bpm/handleTask/components/contractBook/contractChange/detailDialog.vue

@@ -9,8 +9,8 @@
       <headerTitle title="基本信息"></headerTitle>
       <el-row>
         <el-col :span="12">
-          <el-form-item label="编码" prop="code">
-            <el-input v-model="form.code" disabled></el-input>
+          <el-form-item label="编码" prop="changeCode">
+            <el-input v-model="form.changeCode" disabled></el-input>
           </el-form-item>
         </el-col>
 
@@ -44,7 +44,7 @@
   import fileMain from '@/components/addDoc/index.vue';
   const defForm = {
     name: '',
-    code: '',
+    changeCode: '',
     file: [], //条件
     remark: '',
     type: '',