Merge branch 'test' into lb

This commit is contained in:
lb
2023-10-11 10:30:25 +08:00
14 changed files with 615 additions and 315 deletions

View File

@@ -50,29 +50,24 @@ import {
const tableProps = [
{
prop: 'code',
label: '工厂编码',
align: 'center',
label: '工厂编码'
},
{
prop: 'name',
label: '工厂名称',
align: 'center',
label: '工厂名称'
},
{
prop: 'address',
label: '地址',
align: 'center',
label: '地址'
},
{
prop: 'remark',
label: '备注',
align: 'center',
label: '备注'
},
{
prop: 'createTime',
label: '创建时间',
align: 'center',
filter: parseTime,
filter: parseTime
},
];
@@ -120,14 +115,14 @@ export default {
name: 'search',
color: 'primary',
},
{
type: 'separate',
},
{
type: 'button',
btnName: '重置',
name: 'reset',
},
// {
// type: 'separate',
// },
// {
// type: 'button',
// btnName: '重置',
// name: 'reset',
// },
{
type: 'separate',
},

View File

@@ -1,8 +1,8 @@
<!--
* @Author: zwq
* @Date: 2023-08-02 15:12:42
* @LastEditors: zwq
* @LastEditTime: 2023-08-03 14:24:36
* @LastEditors: DY
* @LastEditTime: 2023-10-10 16:49:03
* @Description:
-->
<template>
@@ -81,6 +81,7 @@ export default {
};
getProductPage(params).then((response) => {
this.tableProps[1].list = response.data.list;
console.log('打印', this.tableProps[1].list)
});
},
methods: {

View File

@@ -1,8 +1,8 @@
<!--
* @Author: zwq
* @Date: 2023-08-03 14:09:18
* @LastEditors: zwq
* @LastEditTime: 2023-08-03 14:51:16
* @LastEditors: DY
* @LastEditTime: 2023-10-10 16:54:09
* @Description:
-->
<template>
@@ -48,6 +48,9 @@ export default {
visible: false,
};
},
mounted() {
console.log('hello', this.list)
},
methods: {
changeInput() {
const data = {