|
@@ -21,7 +21,7 @@
|
|
|
<el-table-column label="会员状态"></el-table-column>
|
|
|
<el-table-column label="联系电话"></el-table-column>
|
|
|
</el-table>
|
|
|
- <el-pagination style="background: #ffffff;padding: 20px 0px"
|
|
|
+ <el-pagination style="background: #ffffff;padding: 20px 0"
|
|
|
v-model:current-page="page.pageNumber"
|
|
|
v-model:page-size="page.pageSize"
|
|
|
:page-sizes="page.pageSizes"
|
|
@@ -39,7 +39,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
-import { ref, reactive, onMounted, provide } from "vue";
|
|
|
+import { ref, reactive, onMounted } from "vue";
|
|
|
import { order, orderExport, store } from "/@/api/controllerUrls";
|
|
|
import request from "/@/api/request";
|
|
|
import buttonExportExcel from "/@/components/common/buttonExportExcel.vue";
|
|
@@ -76,7 +76,7 @@ function getData() {
|
|
|
endDate: search.endDate,
|
|
|
storeId: search.storeId
|
|
|
}).then((res) => {
|
|
|
- if (res.code == 1) {
|
|
|
+ if (res.code === 1) {
|
|
|
tableData.value = res.data.list;
|
|
|
page.total = +res.data.total;
|
|
|
}
|
|
@@ -85,7 +85,7 @@ function getData() {
|
|
|
|
|
|
function getInitData() {
|
|
|
request.index(store, {}, "list").then((res) => {
|
|
|
- if (res.code == 1) {
|
|
|
+ if (res.code === 1) {
|
|
|
storeList.value = res.data;
|
|
|
}
|
|
|
});
|
|
@@ -103,7 +103,7 @@ async function exportExcel() {
|
|
|
endDate: search.endDate,
|
|
|
storeId: search.storeId
|
|
|
}, "");
|
|
|
- if (res.code == 1) {
|
|
|
+ if (res.code === 1) {
|
|
|
let data = res.data;
|
|
|
exportExcelRef.value.open(data, "订单列表", titleArr,);
|
|
|
}
|