This commit is contained in:
2022-03-04 10:44:28 +08:00
parent 878c9b22f7
commit 33a27dd810
16 changed files with 280 additions and 162 deletions

View File

@@ -1,8 +1,8 @@
<!--
* @Author: gtz
* @Date: 2021-04-06 20:07:22
* @LastEditors: gtz
* @LastEditTime: 2021-06-23 16:22:06
* @LastEditors: zwq
* @LastEditTime: 2022-03-03 17:00:54
* @Description: file content
-->
<template>
@@ -23,7 +23,7 @@
<script>
// edit here
import DataDict from './filters'
// import DataDict from './filters'
const tableBtn = [{
type: 'edit',
btnName: 'btn.edit'
@@ -35,12 +35,14 @@ const tableProps = [{
prop: 'name',
label: i18n.t('module.art.processList.processName'),
align: 'center'
}, {
prop: 'type',
label: i18n.t('module.art.processList.type'),
align: 'center',
filter: DataDict('typeFilter')
}, {
},
// {
// prop: 'type',
// label: i18n.t('module.art.processList.type'),
// align: 'center',
// filter: DataDict('typeFilter')
// },
{
prop: 'description',
label: i18n.t('module.art.processList.description'),
align: 'center'
@@ -48,7 +50,7 @@ const tableProps = [{
import BaseTable from '@/components/BaseTable'
// edit here
import { list, del } from '@/api/art-manage/process'
import { equipmentInfoList } from '@/api/basicData/Equipment/equipmentInfo'
import { equipmentlistList } from '@/api/basicData/Equipment/equipmentInfo'
import HeadForm from '@/components/basicData/HeadForm'
import ProcessAdd from './components/Process-add'
import Pagination from '@/components/Pagination'
@@ -124,10 +126,7 @@ export default {
},
async getEqList(key) {
// edit here
const res = await equipmentInfoList({
current: 1,
size: 999
})
const res = await equipmentlistList()
if (res.code === 0) {
this.eqList = res.data.records
}