|
|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div class="ele-body">
|
|
|
+ <div class="ele-body baseinfo-container">
|
|
|
<el-card shadow="never">
|
|
|
<div class="page-title">
|
|
|
<el-page-header @back="$router.go(-1)">
|
|
|
@@ -8,12 +8,11 @@
|
|
|
</div>
|
|
|
</el-page-header>
|
|
|
<div>
|
|
|
- <el-button size="small" @click="$router.go(-1)">取消</el-button>
|
|
|
<el-button
|
|
|
size="small"
|
|
|
type="primary"
|
|
|
@click="submit"
|
|
|
- v-loading="btnLoading"
|
|
|
+ :loading="btnLoading"
|
|
|
>确定</el-button
|
|
|
>
|
|
|
</div>
|
|
|
@@ -25,7 +24,7 @@
|
|
|
</div>
|
|
|
<el-descriptions title="" :column="4" size="medium" border>
|
|
|
<template slot="title" v-if="pageType == 'add'">
|
|
|
- <el-form-item class="label-none">
|
|
|
+ <el-form-item class="label-none" label-width="0">
|
|
|
<span style="color: red; padding-right: 5px">*</span>
|
|
|
<el-button type="primary" plain @click="handlwpbm"
|
|
|
>选择物品编码</el-button
|
|
|
@@ -35,7 +34,7 @@
|
|
|
<el-descriptions-item>
|
|
|
<template slot="label"> 设备编码 </template>
|
|
|
<el-form-item
|
|
|
- prop="informationCode"
|
|
|
+ prop="code"
|
|
|
label-width="0"
|
|
|
v-if="pageType == 'add'"
|
|
|
>
|
|
|
@@ -43,15 +42,15 @@
|
|
|
v-if="basicInfo"
|
|
|
class="input"
|
|
|
size="small"
|
|
|
- v-model="form.informationCode"
|
|
|
+ v-model="form.code"
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
- <span v-if="pageType == 'edit'">{{ form.informationCode }}</span>
|
|
|
+ <span v-if="pageType == 'edit'">{{ form.code }}</span>
|
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item>
|
|
|
<template slot="label"> 设备名称 </template>
|
|
|
<el-form-item
|
|
|
- prop="informationName"
|
|
|
+ prop="name"
|
|
|
label-width="0"
|
|
|
v-if="pageType == 'add'"
|
|
|
>
|
|
|
@@ -59,10 +58,10 @@
|
|
|
v-if="basicInfo"
|
|
|
class="input"
|
|
|
size="small"
|
|
|
- v-model="form.informationName"
|
|
|
+ v-model="form.name"
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
- <span v-if="pageType == 'edit'">{{ form.informationName }}</span>
|
|
|
+ <span v-if="pageType == 'edit'">{{ form.name }}</span>
|
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item>
|
|
|
<template slot="label"> 型号</template>
|
|
|
@@ -74,7 +73,7 @@
|
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item :span="2">
|
|
|
<template slot="label"> 分类 </template>
|
|
|
- {{ basicInfo.classificationUrl }}
|
|
|
+ {{ basicInfo.categoryLevelPath }}
|
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item>
|
|
|
<template slot="label"> 生产日期 </template>
|
|
|
@@ -130,7 +129,7 @@
|
|
|
<el-input
|
|
|
class="input"
|
|
|
size="small"
|
|
|
- v-model="zcInfo.fixAssetCode"
|
|
|
+ v-model="zcInfo.fixCode"
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
@@ -154,19 +153,9 @@
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="维护部门">
|
|
|
- <DeptSelect v-model="zcInfo.repairDeptCode" />
|
|
|
- <!-- <selectTree
|
|
|
- ref="tree1"
|
|
|
- class="input"
|
|
|
- :options="options.deptList"
|
|
|
- :initStr="zcInfo.repairDeptName"
|
|
|
- :props="{
|
|
|
- value: 'code',
|
|
|
- label: 'name',
|
|
|
- children: 'children'
|
|
|
- }"
|
|
|
- @getValue="whDeptClick"
|
|
|
- /> -->
|
|
|
+ <div class="input">
|
|
|
+ <DeptSelect v-model="zcInfo.repairGroupId" @input="getwhbm" />
|
|
|
+ </div>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
@@ -184,18 +173,12 @@
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="权属部门">
|
|
|
- <selectTree
|
|
|
- ref="tree2"
|
|
|
- class="input"
|
|
|
- :initStr="zcInfo.ownershipDeptName"
|
|
|
- :options="options.deptList"
|
|
|
- :props="{
|
|
|
- value: 'code',
|
|
|
- label: 'name',
|
|
|
- children: 'children'
|
|
|
- }"
|
|
|
- @getValue="qsDeptClick"
|
|
|
- />
|
|
|
+ <div class="input">
|
|
|
+ <DeptSelect
|
|
|
+ v-model="zcInfo.ownershipGroupId"
|
|
|
+ @input="getqsbm"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
@@ -225,15 +208,6 @@
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="所属工序">
|
|
|
- <!-- <el-select v-model="zcInfo.roteCode" placeholder="请选择">
|
|
|
- <el-option
|
|
|
- v-for="item in options.roteCode"
|
|
|
- :key="item.code"
|
|
|
- :label="item.name"
|
|
|
- :value="item.code"
|
|
|
- >
|
|
|
- </el-option>
|
|
|
- </el-select> -->
|
|
|
{{ '成型工序' }}
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
@@ -336,7 +310,7 @@
|
|
|
<div class="basic-details-title border-none">
|
|
|
<span class="border-span">文档信息</span>
|
|
|
</div>
|
|
|
- <div class="upload-container">
|
|
|
+ <!-- <div class="upload-container">
|
|
|
<UploadImg @getImgs="cbUploadImg" ref="UploadImg" />
|
|
|
<div class="file-list">
|
|
|
<div>
|
|
|
@@ -396,7 +370,7 @@
|
|
|
</el-form-item>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
<div class="basic-details-title border-none">
|
|
|
<span class="border-span">物联参数</span>
|
|
|
</div>
|
|
|
@@ -407,6 +381,8 @@
|
|
|
v-model="isIotEnable"
|
|
|
active-text="开"
|
|
|
inactive-text="关"
|
|
|
+ :active-value="1"
|
|
|
+ :inactive-value="0"
|
|
|
>
|
|
|
</el-switch>
|
|
|
</el-form-item>
|
|
|
@@ -422,13 +398,13 @@
|
|
|
<el-row>
|
|
|
<el-col
|
|
|
:span="24"
|
|
|
- v-for="(item, index) in form.addList"
|
|
|
+ v-for="(item, index) in form.extInfoSelf"
|
|
|
:key="index"
|
|
|
style="margin-bottom: 20px"
|
|
|
>
|
|
|
<el-form-item
|
|
|
label-width="0"
|
|
|
- :prop="'addList.' + index + '.key'"
|
|
|
+ :prop="'extInfoSelf.' + index + '.key'"
|
|
|
:rules="{
|
|
|
required: true,
|
|
|
message: '自定义参数名称不能为空',
|
|
|
@@ -456,7 +432,7 @@
|
|
|
</div>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="24" v-if="form.addList.length < 10">
|
|
|
+ <el-col :span="24" v-if="form.extInfoSelf.length < 10">
|
|
|
<el-form-item label-width="0">
|
|
|
<el-button
|
|
|
class="primarybutton"
|
|
|
@@ -500,6 +476,9 @@
|
|
|
// getDetail,
|
|
|
// getSupplier
|
|
|
// } from '@/api/ledgerAssets/equipment';
|
|
|
+ import { getFactoryarea } from '@/api/factoryModel/factoryManagement';
|
|
|
+ import { saveOrEdit, getAssetInfo } from '@/api/ledgerAssets';
|
|
|
+ import { getUserPage } from '@/api/system/organization';
|
|
|
export default {
|
|
|
components: {
|
|
|
//selectUpload,
|
|
|
@@ -515,37 +494,34 @@
|
|
|
// 设备主键id
|
|
|
id: '',
|
|
|
form: {
|
|
|
- addList: [],
|
|
|
+ extInfoSelf: [],
|
|
|
// 基本信息
|
|
|
- informationCode: '',
|
|
|
- informationName: '',
|
|
|
+ code: '',
|
|
|
+ name: '',
|
|
|
productTime: ''
|
|
|
},
|
|
|
rules: {
|
|
|
- informationName: [
|
|
|
+ name: [
|
|
|
{ required: true, message: '请输入设备名称', trigger: 'blur' }
|
|
|
],
|
|
|
- informationCode: [
|
|
|
- { required: true, message: '请输入设备编码', trigger: 'blur' }
|
|
|
- ]
|
|
|
+ code: [{ required: true, message: '请输入设备编码', trigger: 'blur' }]
|
|
|
},
|
|
|
// 基本信息
|
|
|
- basicInfo: '',
|
|
|
+ basicInfo: {},
|
|
|
// 资产信息
|
|
|
zcInfo: {
|
|
|
// 固定资产编码
|
|
|
- fixAssetCode: '',
|
|
|
+ fixCode: '',
|
|
|
// 颜色
|
|
|
color: '',
|
|
|
// 重量
|
|
|
weight: '',
|
|
|
// 维护部门code
|
|
|
- repairDeptCode: '',
|
|
|
+ repairGroupId: '',
|
|
|
repairDeptName: '',
|
|
|
repairUserId: '',
|
|
|
// 权属部门
|
|
|
- ownershipDeptCode: '',
|
|
|
- ownershipDeptName: '',
|
|
|
+ ownershipGroupId: '',
|
|
|
ownershipUserId: '',
|
|
|
// 设备用途
|
|
|
purpose: '',
|
|
|
@@ -618,7 +594,7 @@
|
|
|
// 获取产线
|
|
|
this.getProductionLine();
|
|
|
}
|
|
|
- // "zcInfo.repairDeptCode": function (nVal) {
|
|
|
+ // "zcInfo.repairGroupId": function (nVal) {
|
|
|
// this.zcInfo.repairUserId = "";
|
|
|
// this.options.repairUserId = [];
|
|
|
// },
|
|
|
@@ -642,20 +618,17 @@
|
|
|
}
|
|
|
},
|
|
|
created () {
|
|
|
- // if (this.$route.query.pageType == "add") {
|
|
|
- // this.pageType = "add";
|
|
|
- // this.title = "新建设备信息";
|
|
|
- // } else if (this.$route.query.pageType == "edit") {
|
|
|
- // this.pageType = "edit";
|
|
|
- // this.id = this.$route.query.id;
|
|
|
- // this.getInfo();
|
|
|
- // this.title = "编辑设备信息";
|
|
|
- // }
|
|
|
+ if (this.$route.query.id) {
|
|
|
+ this.pageType = 'edit';
|
|
|
+ this.id = this.$route.query.id;
|
|
|
+ this.getInfo();
|
|
|
+ this.title = '编辑设备信息';
|
|
|
+ }
|
|
|
// this.getTreeList();
|
|
|
// this.getgys();
|
|
|
// //this.getGxlist();
|
|
|
// this.getPlants();
|
|
|
- // this.getfactoryInfo();
|
|
|
+ this.getfactoryInfo();
|
|
|
},
|
|
|
methods: {
|
|
|
setImgs (type, sort, info) {
|
|
|
@@ -671,12 +644,16 @@
|
|
|
},
|
|
|
async cbDialogGoods (data) {
|
|
|
this.basicInfo = data;
|
|
|
- this.form.informationName = this.basicInfo.informationName;
|
|
|
- let res = await getAssetNum({
|
|
|
- assetCode: this.basicInfo.informationCode,
|
|
|
- num: 1
|
|
|
- });
|
|
|
- this.form.informationCode = res.data[0].onlyCode;
|
|
|
+ this.form.rootCategoryLevelId = JSON.parse(
|
|
|
+ this.basicInfo.categoryLevelPathId || '[]'
|
|
|
+ )[0];
|
|
|
+ this.form.categoryId = this.basicInfo.id;
|
|
|
+ this.form.name = this.basicInfo.name;
|
|
|
+ // let res = await getAssetNum({
|
|
|
+ // assetCode: this.basicInfo.code,
|
|
|
+ // num: 1
|
|
|
+ // });
|
|
|
+ this.form.code = Date.now(); //res.data[0].onlyCode;
|
|
|
},
|
|
|
// 计算过保时间
|
|
|
setGbTime (basic, value, type) {
|
|
|
@@ -705,27 +682,23 @@
|
|
|
let num = basic + time;
|
|
|
return parseTime(num);
|
|
|
},
|
|
|
- // 维护部门点击回调
|
|
|
- whDeptClick (info) {
|
|
|
- this.zcInfo.repairDeptCode = info.code;
|
|
|
- // 重置
|
|
|
- this.zcInfo.repairUserId = '';
|
|
|
- this.getwhbm();
|
|
|
- },
|
|
|
async getwhbm () {
|
|
|
- let res = await user.user({ deptCode: this.zcInfo.repairDeptCode });
|
|
|
- this.options.repairUserId = res.data;
|
|
|
- },
|
|
|
- // 权属部门点击回调
|
|
|
- qsDeptClick (info) {
|
|
|
- this.zcInfo.ownershipDeptCode = info.code;
|
|
|
- // 重置
|
|
|
- this.zcInfo.ownershipUserId = '';
|
|
|
- this.getqsbm();
|
|
|
+ if (!this.zcInfo.repairGroupId) return;
|
|
|
+ let data = await getUserPage({
|
|
|
+ pageNum: 1,
|
|
|
+ size: 9999,
|
|
|
+ groupId: this.zcInfo.repairGroupId
|
|
|
+ });
|
|
|
+ this.options.repairUserId = data.list;
|
|
|
},
|
|
|
async getqsbm () {
|
|
|
- let res = await user.user({ deptCode: this.zcInfo.ownershipDeptCode });
|
|
|
- this.options.ownershipUserId = res.data;
|
|
|
+ if (!this.zcInfo.ownershipGroupId) return;
|
|
|
+ let data = await getUserPage({
|
|
|
+ pageNum: 1,
|
|
|
+ size: 9999,
|
|
|
+ groupId: this.zcInfo.ownershipGroupId
|
|
|
+ });
|
|
|
+ this.options.ownershipUserId = data.list;
|
|
|
},
|
|
|
// 树形结构数据
|
|
|
getTreeList () {
|
|
|
@@ -738,46 +711,47 @@
|
|
|
let muster = await getSupplier({
|
|
|
size: 999
|
|
|
});
|
|
|
- console.log(muster);
|
|
|
this.options.supplierId = muster.data.items; //供应商
|
|
|
},
|
|
|
// 获取工序列表
|
|
|
async getGxlist () {
|
|
|
- let data = await dict.list({
|
|
|
- size: 999
|
|
|
- });
|
|
|
- this.options.roteCode = data.data.items;
|
|
|
+ // let data = await dict.list({
|
|
|
+ // size: 999
|
|
|
+ // });
|
|
|
+ // this.options.roteCode = data.data.items;
|
|
|
},
|
|
|
// 获取厂房列表
|
|
|
async getPlants () {
|
|
|
- let data = await getPlants({
|
|
|
- size: 999
|
|
|
- });
|
|
|
- this.options.factoryPlantCode = data.data.items;
|
|
|
+ // let data = await getPlants({
|
|
|
+ // size: 999
|
|
|
+ // });
|
|
|
+ // this.options.factoryPlantCode = data.data.items;
|
|
|
},
|
|
|
// 获取工厂列表
|
|
|
async getfactoryInfo () {
|
|
|
- let data = await getfactoryInfo({
|
|
|
- size: 999
|
|
|
+ let data = await getFactoryarea({
|
|
|
+ size: 999,
|
|
|
+ type: 1,
|
|
|
+ enable: 1
|
|
|
});
|
|
|
- this.options.factoryCode = data.data.items;
|
|
|
+ this.options.factoryCode = data.list;
|
|
|
},
|
|
|
// 获取车间列表
|
|
|
async getFactorys () {
|
|
|
- let data = await getFactorys({
|
|
|
- factoryCode: this.zcInfo.factoryCode,
|
|
|
- size: 999
|
|
|
- });
|
|
|
- this.options.workshopCode = data.data.items;
|
|
|
+ // let data = await getFactorys({
|
|
|
+ // factoryCode: this.zcInfo.factoryCode,
|
|
|
+ // size: 999
|
|
|
+ // });
|
|
|
+ // this.options.workshopCode = data.data.items;
|
|
|
},
|
|
|
// 获取产线列表
|
|
|
async getProductionLine () {
|
|
|
- let data = await getProductionLine({
|
|
|
- factory: this.zcInfo.factoryCode,
|
|
|
- workshopId: this.zcInfo.workshopCode,
|
|
|
- size: 999
|
|
|
- });
|
|
|
- this.options.lineCode = data.data.items;
|
|
|
+ // let data = await getProductionLine({
|
|
|
+ // factory: this.zcInfo.factoryCode,
|
|
|
+ // workshopId: this.zcInfo.workshopCode,
|
|
|
+ // size: 999
|
|
|
+ // });
|
|
|
+ // this.options.lineCode = data.data.items;
|
|
|
},
|
|
|
// 选择图片回调
|
|
|
cbUploadImg (data) {
|
|
|
@@ -789,16 +763,16 @@
|
|
|
},
|
|
|
// 添加自定义参数
|
|
|
addItem () {
|
|
|
- if (this.form.addList.length < 10) {
|
|
|
+ if (this.form.extInfoSelf.length < 10) {
|
|
|
let item = { key: '', value: '' };
|
|
|
- this.form.addList.push(item);
|
|
|
+ this.form.extInfoSelf.push(item);
|
|
|
} else {
|
|
|
this.$message.warning('自定义参数最多添加10条');
|
|
|
}
|
|
|
},
|
|
|
// 删除自定义参数
|
|
|
delt (item, index) {
|
|
|
- this.form.addList.splice(index, 1);
|
|
|
+ this.form.extInfoSelf.splice(index, 1);
|
|
|
},
|
|
|
// 提交
|
|
|
submit () {
|
|
|
@@ -809,22 +783,25 @@
|
|
|
if (valid) {
|
|
|
let par = {
|
|
|
//基本信息
|
|
|
- assetCode: this.form.informationCode,
|
|
|
- assetName: this.form.informationName,
|
|
|
+ ...this.form,
|
|
|
+ // id: this.basicInfo.id,
|
|
|
+ // assetCode: this.form.code,
|
|
|
+ // assetName: this.form.name,
|
|
|
assetType: 1,
|
|
|
- informationId: this.basicInfo.id,
|
|
|
- productTime: this.form.productTime,
|
|
|
- expirationTime: this.expirationTime,
|
|
|
+ // informationId: this.basicInfo.id,
|
|
|
+ // productTime: this.form.productTime,
|
|
|
+ // expirationTime: this.expirationTime,
|
|
|
// 资产信息
|
|
|
+ positionIds: '1,1,1,1',
|
|
|
...this.zcInfo,
|
|
|
// 文档信息
|
|
|
- attUrl: this.setWd(),
|
|
|
- // 设备图片
|
|
|
- imageUrl: this.imageUrl,
|
|
|
+ attUrl: this.setWd() || [],
|
|
|
+ // // 设备图片
|
|
|
+ imageUrl: this.imageUrl || {},
|
|
|
// 是否启用物联
|
|
|
- isIotEnable: this.isIotEnable,
|
|
|
- // 扩展字段
|
|
|
- extendField: this.setKz()
|
|
|
+ isIotEnable: this.isIotEnable
|
|
|
+ // // 扩展字段
|
|
|
+ // extInfoSelf: this.setKz()
|
|
|
};
|
|
|
if (this.pageType == 'edit') {
|
|
|
par.id = this.id;
|
|
|
@@ -846,7 +823,7 @@
|
|
|
},
|
|
|
// 处理扩展字段
|
|
|
setKz () {
|
|
|
- return JSON.stringify(this.form.addList);
|
|
|
+ return this.form.extInfoSelf || [];
|
|
|
},
|
|
|
// 处理文档信息
|
|
|
setWd () {
|
|
|
@@ -861,51 +838,39 @@
|
|
|
return attUrl;
|
|
|
},
|
|
|
// 获取设备详情
|
|
|
- getInfo () {
|
|
|
- getDetail({
|
|
|
- id: this.id
|
|
|
- }).then((res) => {
|
|
|
- this.$nextTick(() => {
|
|
|
- let data = res.data;
|
|
|
- // 基本信息
|
|
|
- this.form.informationCode = data.assetCode;
|
|
|
- this.form.informationName = data.assetName;
|
|
|
- this.form.productTime = data.productTime;
|
|
|
- this.basicInfo = data.information;
|
|
|
- this.cbexpirationTime = data.expirationTime;
|
|
|
- this.sourceDICT = data.sourceDICT;
|
|
|
- this.networkStatus = data.networkStatus;
|
|
|
- // 资产信息
|
|
|
- for (const key of Object.keys(this.zcInfo)) {
|
|
|
- this.zcInfo[key] = data[key];
|
|
|
- }
|
|
|
- this.getwhbm();
|
|
|
- this.getqsbm();
|
|
|
- if (data.attUrl && data.attUrl.length > 0) {
|
|
|
- // 文档信息
|
|
|
- Object.keys(this.attUrl).forEach((n, index) => {
|
|
|
- if (data.attUrl[index].accessUrl) {
|
|
|
- this.attUrl[n] = data.attUrl[index];
|
|
|
- }
|
|
|
- });
|
|
|
- }
|
|
|
-
|
|
|
- // 设备图片
|
|
|
- this.imageUrl = data.imageUrl;
|
|
|
- if (this.imageUrl) {
|
|
|
- imageView(this.imageUrl).then((res) => {
|
|
|
- this.$refs.UploadImg.setImg(res);
|
|
|
- });
|
|
|
- }
|
|
|
- // 物联参数
|
|
|
- this.isIotEnable = data.isIotEnable;
|
|
|
- this.iotId = data.iotId;
|
|
|
- // 扩展字段
|
|
|
- if (data.extendField) {
|
|
|
- this.form.addList = JSON.parse(data.extendField);
|
|
|
+ async getInfo () {
|
|
|
+ const data = await getAssetInfo(this.id);
|
|
|
+ this.form = data;
|
|
|
+ this.basicInfo = data.category;
|
|
|
+ this.cbexpirationTime = data.expirationTime;
|
|
|
+ this.sourceDICT = data.sourceDICT;
|
|
|
+ this.networkStatus = data.networkStatus;
|
|
|
+ // 资产信息
|
|
|
+ for (const key of Object.keys(this.zcInfo)) {
|
|
|
+ console.log(key, data[key]);
|
|
|
+ this.zcInfo[key] = data[key];
|
|
|
+ }
|
|
|
+ this.getwhbm();
|
|
|
+ this.getqsbm();
|
|
|
+ if (data.attUrl && data.attUrl.length > 0) {
|
|
|
+ // 文档信息
|
|
|
+ Object.keys(this.attUrl).forEach((n, index) => {
|
|
|
+ if (data.attUrl[index].accessUrl) {
|
|
|
+ this.attUrl[n] = data.attUrl[index];
|
|
|
}
|
|
|
});
|
|
|
- });
|
|
|
+ }
|
|
|
+
|
|
|
+ // 设备图片
|
|
|
+ this.imageUrl = data.imageUrl;
|
|
|
+ if (this.imageUrl) {
|
|
|
+ // imageView(this.imageUrl).then((res) => {
|
|
|
+ // this.$refs.UploadImg.setImg(res);
|
|
|
+ // });
|
|
|
+ }
|
|
|
+ // 物联参数
|
|
|
+ this.isIotEnable = data.isIotEnable;
|
|
|
+ this.iotId = data.iotId;
|
|
|
},
|
|
|
// 设置标准产能
|
|
|
setbzcn (val) {
|
|
|
@@ -936,7 +901,11 @@
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
- ::v-deep.equipment-container {
|
|
|
+ .baseinfo-container .basic-details-title {
|
|
|
+ font-size: 16px;
|
|
|
+ margin: 15px 0;
|
|
|
+ }
|
|
|
+ .equipment-container {
|
|
|
// .content {
|
|
|
// padding: 0 20px;
|
|
|
// }
|