装备配置率配置
This commit is contained in:
parent
c2f64313fe
commit
d10a41ef8c
|
|
@ -366,14 +366,12 @@ export default {
|
||||||
//3.装备小类,,6.生产厂家,7.出厂日期,8.特征属性
|
//3.装备小类,,6.生产厂家,7.出厂日期,8.特征属性
|
||||||
// 单行写法(用\n)
|
// 单行写法(用\n)
|
||||||
this.dialogRow =
|
this.dialogRow =
|
||||||
`装备名称:${row.name}\r\n` +
|
`${row.name}\r\n` +
|
||||||
`装备编码:${row.code}\r\n` +
|
`${row.code}\r\n` +
|
||||||
`规格型号:${row.specificationModel}\r\n` +
|
`${row.specificationModel}\r\n` +
|
||||||
`产权单位:${row.propertyUnit}\r\n` +
|
`${row.propertyUnit}\r\n` +
|
||||||
`装备小类:${row.subCategory}\r\n` +
|
`${row.manufacturer}\r\n` +
|
||||||
`生产厂家:${row.manufacturer}\r\n` +
|
`${row.productionDate}\r\n`
|
||||||
`出厂日期:${row.productionDate}\r\n` +
|
|
||||||
`特征属性:{${property}}`
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.qr3?.refreshQrcode()
|
this.$refs.qr3?.refreshQrcode()
|
||||||
})
|
})
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -380,33 +380,29 @@
|
||||||
<el-form :inline="true" :model="searchForm.own" class="demo-form-inline">
|
<el-form :inline="true" :model="searchForm.own" class="demo-form-inline">
|
||||||
<el-form-item label="装备名称">
|
<el-form-item label="装备名称">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="searchForm.own.equipmentName"
|
v-model="searchForm.own.name"
|
||||||
placeholder="请输入装备名称"
|
placeholder="请输入装备名称"
|
||||||
clearable
|
clearable
|
||||||
size="small"
|
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="装备类型">
|
<el-form-item label="装备类型">
|
||||||
<el-select
|
<el-select v-model="searchForm.own.type" placeholder="请选择分类"
|
||||||
v-model="searchForm.own.equipmentType"
|
style="width: 100%;"
|
||||||
placeholder="请选择装备类型"
|
clearable filterable @change="handleCategoryChange"
|
||||||
clearable
|
|
||||||
size="small"
|
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in equipmentTypeOptions"
|
v-for="item in categoryList"
|
||||||
:key="item.value"
|
:key="item.uniqueKey"
|
||||||
:label="item.label"
|
:label="`${item.equipmentName}(${item.devType})`"
|
||||||
:value="item.value"
|
:value="item.equipmentName"
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="规格型号">
|
<el-form-item label="规格型号">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="searchForm.own.specModel"
|
v-model="searchForm.own.specificationModel"
|
||||||
placeholder="请输入规格型号"
|
placeholder="请输入规格型号"
|
||||||
clearable
|
clearable
|
||||||
size="small"
|
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
|
|
@ -904,9 +900,9 @@ export default {
|
||||||
// 新增:筛选表单数据
|
// 新增:筛选表单数据
|
||||||
searchForm: {
|
searchForm: {
|
||||||
own: {
|
own: {
|
||||||
equipmentName: '',
|
name: '',
|
||||||
equipmentType: '',
|
type: '',
|
||||||
specModel: ''
|
specificationModel: ''
|
||||||
},
|
},
|
||||||
sharing: {
|
sharing: {
|
||||||
equipmentName: '',
|
equipmentName: '',
|
||||||
|
|
@ -1387,15 +1383,16 @@ export default {
|
||||||
async handleInstanceTableOwn() {
|
async handleInstanceTableOwn() {
|
||||||
// 重置筛选条件和选中状态
|
// 重置筛选条件和选中状态
|
||||||
this.searchForm.own = {
|
this.searchForm.own = {
|
||||||
equipmentName: '',
|
name: '',
|
||||||
equipmentType: '',
|
type: '',
|
||||||
specModel: ''
|
specificationModel: ''
|
||||||
}
|
}
|
||||||
this.selectedOwnRows = []
|
this.selectedOwnRows = []
|
||||||
// 初始化分页
|
// 初始化分页
|
||||||
this.tableData.own.pageNum = 1
|
this.tableData.own.pageNum = 1
|
||||||
// 加载数据并打开弹窗
|
// 加载数据并打开弹窗
|
||||||
await this.loadOwnEquipmentData()
|
await this.loadOwnEquipmentData()
|
||||||
|
await this.getCategoryList()
|
||||||
this.ownOpen = true
|
this.ownOpen = true
|
||||||
},
|
},
|
||||||
async loadOwnEquipmentData() {
|
async loadOwnEquipmentData() {
|
||||||
|
|
@ -1427,9 +1424,9 @@ export default {
|
||||||
},
|
},
|
||||||
resetOwnSearch() {
|
resetOwnSearch() {
|
||||||
this.searchForm.own = {
|
this.searchForm.own = {
|
||||||
equipmentName: '',
|
name: '',
|
||||||
equipmentType: '',
|
type: '',
|
||||||
specModel: ''
|
specificationModel: ''
|
||||||
}
|
}
|
||||||
this.tableData.own.pageNum = 1
|
this.tableData.own.pageNum = 1
|
||||||
this.loadOwnEquipmentData()
|
this.loadOwnEquipmentData()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue