|
@@ -9,7 +9,8 @@
|
|
|
<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">
|
|
|
+ </cTable>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -66,7 +67,7 @@ const search = async (e: { skip: number; limit: number }) => {
|
|
|
total.value = res.total;
|
|
|
}
|
|
|
};
|
|
|
-const toSearch = (query) => {
|
|
|
+const toSearch = (query: any) => {
|
|
|
searchForm.value = query;
|
|
|
search({ skip, limit });
|
|
|
};
|
|
@@ -107,6 +108,7 @@ const searchOther = async () => {
|
|
|
margin: 0 0 10px 0;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.dialog_one {
|
|
|
.one {
|
|
|
margin: 5px 0;
|