chenrui 2 anni fa
parent
commit
090f5f54f2

+ 11 - 1
src/api/product.js

@@ -20,8 +20,18 @@ export const productUpdate = params => {
   })
 }
 //  箭冠 产品 列表  分页
+// export const productList = (params) => {
+//   const url = `/product/queryPage/${params.pageNo}/${params.pageSize}`
+//   delete params.pageNo
+//   delete params.pageSize
+//   return axios({
+//     url: url,
+//     data: params,
+//     method: 'post'
+//   })
+// }
 export const productList = (params) => {
-  const url = `/product/queryPage/${params.pageNo}/${params.pageSize}`
+  const url = `/productLog/queryPage/${params.pageNo}/${params.pageSize}`
   delete params.pageNo
   delete params.pageSize
   return axios({

+ 7 - 7
src/views/productManagement/productOnlineInfo/list.vue

@@ -106,8 +106,8 @@ export default {
       tableHeight: 0,
       productType: [],
       queryParam: { //  查询条件
-        onlineBeginDate: '',
-        onlineEndDate: '',
+        beginDate: '',
+        endDate: '',
         code: '', //  产品编码
         name: '', //  产品名称
         origCode: '', //  原厂编码
@@ -123,7 +123,7 @@ export default {
       dateFormat: 'YYYY-MM-DD',
       columns: [
         { title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
-        { title: '上线时间', dataIndex: 'onlineAuditTime', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '上线时间', dataIndex: 'auditTime', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品品牌', dataIndex: 'productBrandName', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品分类', scopedSlots: { customRender: 'productType' }, width: '13%', align: 'center' },
         { title: '产品名称', dataIndex: 'name', width: '16%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
@@ -159,14 +159,14 @@ export default {
   methods: {
     //  创建时间  change
     dateChange (date) {
-      this.queryParam.onlineBeginDate = date[0] || ''
-      this.queryParam.onlineEndDate = date[1] || ''
+      this.queryParam.beginDate = date[0] || ''
+      this.queryParam.endDate = date[1] || ''
     },
     //  重置
     resetSearchForm () {
       this.$refs.rangeDate.resetDate()
-      this.queryParam.onlineBeginDate = ''
-      this.queryParam.onlineEndDate = ''
+      this.queryParam.beginDate = ''
+      this.queryParam.endDate = ''
       this.queryParam.code = ''
       this.queryParam.name = ''
       this.queryParam.origCode = ''