guhongwei 2 年 前
コミット
119a831927

+ 7 - 2
src/views/expo/achieve/dock/index.vue

@@ -13,7 +13,7 @@
           <cButton @toAdd="toAdd()"> </cButton>
         </el-col>
         <el-col :span="24" class="thr">
-          <cTable :fields="fields" :opera="opera" :list="list" @query="search" :total="total" @edit="toEdit" @del="toDel"> </cTable>
+          <cTable :fields="fields" :opera="opera" :list="list" @query="search" :total="total" @edit="toEdit" @del="toDel" @exp="toExp"> </cTable>
         </el-col>
       </el-col>
     </el-row>
@@ -59,7 +59,8 @@ let fields: Ref<any[]> = ref([
 // 操作
 let opera: Ref<any[]> = ref([
   { label: '修改', method: 'edit', display: (i) => i.status == '0' },
-  { label: '删除', method: 'del', confirm: true, type: 'danger', display: (i) => i.status == '0' }
+  { label: '删除', method: 'del', confirm: true, type: 'danger', display: (i) => i.status == '0' },
+  { label: '参展专家', method: 'exp' }
 ]);
 
 // 查询数据
@@ -111,6 +112,10 @@ const toDel = async (data) => {
     search({ skip, limit });
   }
 };
+// 参展专家
+const toExp = (data) => {
+  console.log(data);
+};
 const searchOther = async () => {
   let res: IQueryResult;
   // 状态

+ 1 - 1
src/views/expo/achieve/trans/index.vue

@@ -14,7 +14,7 @@
         </el-col>
       </el-col>
     </el-row>
-    <cDialog :dialog="dialog" @handleClose="toClose">
+    <cDialog :dialog="dialog" @toClose="toClose">
       <template v-slot:info>
         <cForm v-if="dialog.type == '1'" :span="24" :fields="formFields" :form="form" @save="onSubmit">
           <template #status>

+ 1 - 1
src/views/news/column/index.vue

@@ -20,7 +20,7 @@
         </el-col>
       </el-col>
     </el-row>
-    <cDialog :dialog="dialog" @handleClose="toClose">
+    <cDialog :dialog="dialog" @toClose="toClose">
       <template v-slot:info>
         <cForm v-if="dialog.type == '1'" :span="24" :fields="formFields" :form="form" :rules="{}" @save="onSubmit">
           <template #is_use>

+ 1 - 1
src/views/product/index.vue

@@ -17,7 +17,7 @@
         </el-col>
       </el-col>
     </el-row>
-    <cDialog :dialog="dialog" @handleClose="toClose">
+    <cDialog :dialog="dialog" @toClose="toClose">
       <template v-slot:info>
         <cForm v-if="dialog.type == '1'" :span="24" :fields="formFields" :form="form" :rules="{}" @save="toSave">
           <template #status>

+ 1 - 1
src/views/subscribe/organ/detail.vue

@@ -47,7 +47,7 @@
         </el-col>
       </el-col>
     </el-row>
-    <cDialog :dialog="dialog" @handleClose="toClose">
+    <cDialog :dialog="dialog" @toClose="toClose">
       <template v-slot:info>
         <el-col :span="24" class="dialog_type" v-if="dialog.type == '1'">
           <cForm :fields="projectfields" :form="otherForm" :rules="{}" @save="otherSave"> </cForm>

+ 1 - 1
src/views/system/dict/detail.vue

@@ -25,7 +25,7 @@
         </el-col>
       </el-col>
     </el-row>
-    <cDialog :dialog="dialog" @handleClose="toClose">
+    <cDialog :dialog="dialog" @toClose="toClose">
       <template v-slot:info>
         <cForm v-if="dialog.type == '1'" :span="24" :fields="formFields" :form="form" :rules="rules" @save="onSubmit">
           <template #is_use>

+ 1 - 1
src/views/system/dict/index.vue

@@ -23,7 +23,7 @@
         </el-col>
       </el-col>
     </el-row>
-    <cDialog :dialog="dialog" @handleClose="toClose">
+    <cDialog :dialog="dialog" @toClose="toClose">
       <template v-slot:info>
         <cForm v-if="dialog.type == '1'" :span="24" :fields="formFields" :form="form" :rules="rules" @save="onSubmit">
           <template #is_use>

+ 1 - 1
src/views/system/module/menus.vue

@@ -36,7 +36,7 @@
         </el-col>
       </el-col>
     </el-row>
-    <cDialog :dialog="dialog" @handleClose="toClose">
+    <cDialog :dialog="dialog" @toClose="toClose">
       <template v-slot:info>
         <el-col :span="24" class="dialog_one" v-if="dialog.type == '1'">
           <cForm :fields="fields" :form="form" labelWidth="auto" @save="toSave" @dataChange="dataChange">

+ 1 - 1
src/views/user/company/index.vue

@@ -19,7 +19,7 @@
       </el-col>
     </el-col>
   </el-row>
-  <cDialog :dialog="dialog" @handleClose="toClose">
+  <cDialog :dialog="dialog" @toClose="toClose">
     <template v-slot:info>
       <el-col :span="24" class="dialog_one" v-if="dialog.type == '1'">
         <cForm :fields="infofields" :form="form" labelWidth="auto" @save="toSave">

+ 1 - 1
src/views/user/expert/index.vue

@@ -21,7 +21,7 @@
         </el-col>
       </el-col>
     </el-row>
-    <cDialog :dialog="dialog" @handleClose="toClose">
+    <cDialog :dialog="dialog" @toClose="toClose">
       <template v-slot:info>
         <cForm v-if="dialog.type == '1'" :span="24" :fields="formFields" :form="form" :rules="{}" @save="onSubmit">
           <template #status>

+ 1 - 1
src/views/user/personal/index.vue

@@ -21,7 +21,7 @@
         </el-col>
       </el-col>
     </el-row>
-    <cDialog :dialog="dialog" @handleClose="toClose">
+    <cDialog :dialog="dialog" @toClose="toClose">
       <template v-slot:info>
         <el-col :span="24" class="dialog_one" v-if="dialog.type == '1'">
           <cForm :span="24" :fields="formFields" :form="form" @save="toSave">