更新
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<!--
|
||||
* @Author: zwq
|
||||
* @Date: 2020-12-29 16:37:56
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @LastEditTime: 2021-07-26 14:39:36
|
||||
* @LastEditors: zwq
|
||||
* @LastEditTime: 2022-03-03 16:43:26
|
||||
* @Description:
|
||||
-->
|
||||
<template>
|
||||
@@ -16,14 +16,14 @@
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('module.art.processList.processEq')" prop="equipmentIds">
|
||||
<el-select v-model="dataForm.equipmentIds" clearable filterable multiple>
|
||||
<el-option v-for="item in eqList" :key="item.id" :value="item.id" :label="item.name" />
|
||||
<el-option v-for="item in eqList" :key="item.id" :value="item.id" :label="item.enName" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item :label="$t('module.art.processList.type')" prop="type">
|
||||
<!-- <el-form-item :label="$t('module.art.processList.type')" prop="type">
|
||||
<el-select v-model="dataForm.type" clearable filterable>
|
||||
<el-option v-for="item in typeList" :key="item.id" :value="item.id" :label="item.name" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-form-item> -->
|
||||
<el-form-item :label="$t('module.art.processList.description')" prop="address">
|
||||
<el-input v-model="dataForm.description" :placeholder="$i18nForm(['placeholder.input', $t('module.art.processList.description')])" clearable />
|
||||
</el-form-item>
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user