|
@@ -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;
|
|
|
// 状态
|