Commit d5afbeb0 authored by 仇晓婷's avatar 仇晓婷

设备管理去掉能力值和是否关重

parent 9a19d354
...@@ -55,17 +55,17 @@ ...@@ -55,17 +55,17 @@
<inputFile ref="refqcFile" v-model="imgName" :parms="qcfileparms" files /> <inputFile ref="refqcFile" v-model="imgName" :parms="qcfileparms" files />
</FormItem> </FormItem>
</Col> </Col>
<Col span="11" offset="1"> <!-- <Col span="11" offset="1">
<FormItem label="是否关重" prop="isimportant"> <FormItem label="是否关重" prop="isimportant">
<Select v-model="isimportant"> <Select v-model="isimportant">
<Option :value="1"></Option> <Option :value="1"></Option>
<Option :value="2"></Option> <Option :value="2"></Option>
</Select> </Select>
</FormItem> </FormItem>
</Col> </Col> -->
</Row> </Row>
<Row :gutter="16"> <Row :gutter="16">
<Col span="11"> <!-- <Col span="11">
<FormItem label="能力系数"> <FormItem label="能力系数">
<InputNumber <InputNumber
:min="0" :min="0"
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
style="width:240px" style="width:240px"
></InputNumber> ></InputNumber>
</FormItem> </FormItem>
</Col> </Col> -->
<Col span="11" offset="1"> <Col span="11" offset="1">
<FormItem label="位置" prop="location"> <FormItem label="位置" prop="location">
<Input v-model="formItem.location" placeholder="请输入位置"></Input> <Input v-model="formItem.location" placeholder="请输入位置"></Input>
...@@ -132,12 +132,12 @@ export default { ...@@ -132,12 +132,12 @@ export default {
equip_ip: "", equip_ip: "",
shop_id: "", shop_id: "",
shop_name: "", shop_name: "",
isimportant: 2, // isimportant: 2,
location: "", location: "",
capability_value: 1 // capability_value: 1
}, },
property: true, property: true,
isimportant: 2, // isimportant: 2,
ruleValidate: { ruleValidate: {
equip_id: [ equip_id: [
{ {
...@@ -234,9 +234,9 @@ export default { ...@@ -234,9 +234,9 @@ export default {
equip_ip: this.formItem.equip_ip, equip_ip: this.formItem.equip_ip,
shop_id: this.formItem.shop_id, shop_id: this.formItem.shop_id,
eqstyle: str, eqstyle: str,
isimportant: this.isimportant, // isimportant: this.isimportant,
location: this.formItem.location, location: this.formItem.location,
capability_value: this.formItem.capability_value, // capability_value: this.formItem.capability_value,
property: this.property, property: this.property,
shop_name: this.formItem.shop_name shop_name: this.formItem.shop_name
}; };
...@@ -277,9 +277,9 @@ export default { ...@@ -277,9 +277,9 @@ export default {
equip_ip: this.formItem.equip_ip, equip_ip: this.formItem.equip_ip,
shop_id: this.formItem.shop_id, shop_id: this.formItem.shop_id,
eqstyle: str, eqstyle: str,
isimportant: this.isimportant, // isimportant: this.isimportant,
location: this.formItem.location, location: this.formItem.location,
capability_value: this.formItem.capability_value, // capability_value: this.formItem.capability_value,
property: this.property, property: this.property,
shop_name: this.formItem.shop_name shop_name: this.formItem.shop_name
}; };
......
...@@ -5,10 +5,12 @@ ...@@ -5,10 +5,12 @@
<h3 class="zh-title">组织架构</h3> <h3 class="zh-title">组织架构</h3>
<div class="zh-box"> <div class="zh-box">
<Input search placeholder="请输入查询条件" clearable v-model="treeInputSearch" /> <Input search placeholder="请输入查询条件" clearable v-model="treeInputSearch" />
<Tree :data="searchList" <Tree
:data="searchList"
:style="{height:(treeHeight-115)+'px'}" :style="{height:(treeHeight-115)+'px'}"
style="overflow-y:auto;overflow-x:hiden;width:215px;" style="overflow-y:auto;overflow-x:hiden;width:215px;"
@on-select-change="selectTreeNode"></Tree> @on-select-change="selectTreeNode"
></Tree>
</div> </div>
</div> </div>
<!-- 右侧内容 --> <!-- 右侧内容 -->
...@@ -535,23 +537,23 @@ export default { ...@@ -535,23 +537,23 @@ export default {
title: "所属部门", title: "所属部门",
key: "shop_name" key: "shop_name"
}, },
{ // {
title: "是否关重", // title: "是否关重",
key: "isimportant", // key: "isimportant",
render: (h, params) => { // render: (h, params) => {
let statuse = params.row.isimportant; // let statuse = params.row.isimportant;
let text = statuse == 1 ? "是" : statuse == 2 ? "否" : ""; // let text = statuse == 1 ? "是" : statuse == 2 ? "否" : "";
return h("span", {}, text); // return h("span", {}, text);
} // }
}, // },
{ {
title: "位置", title: "位置",
key: "location" key: "location"
}, },
{ // {
title: "能力系数", // title: "能力系数",
key: "capability_value" // key: "capability_value"
}, // },
{ {
title: "操作", title: "操作",
key: "action", key: "action",
...@@ -591,7 +593,8 @@ export default { ...@@ -591,7 +593,8 @@ export default {
"op", "op",
{ {
attrs: { attrs: {
oprate: "delete",title: "删除" oprate: "delete",
title: "删除"
}, },
style: { style: {
color: "red" color: "red"
...@@ -608,7 +611,8 @@ export default { ...@@ -608,7 +611,8 @@ export default {
"op", "op",
{ {
attrs: { attrs: {
oprate: "detail",title: "保养" oprate: "detail",
title: "保养"
}, },
on: { on: {
click: () => { click: () => {
...@@ -622,7 +626,8 @@ export default { ...@@ -622,7 +626,8 @@ export default {
"op", "op",
{ {
attrs: { attrs: {
oprate: "detail",title: "维修" oprate: "detail",
title: "维修"
}, },
on: { on: {
click: () => { click: () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment