|
|
@ -53,7 +53,8 @@ |
|
|
label="操作"> |
|
|
label="操作"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<a type="text" size="small" @click="editToolInfoModal(scope.row)">编辑 </a> |
|
|
<a type="text" size="small" @click="editToolInfoModal(scope.row)">编辑 </a> |
|
|
<a type="text" size="small" v-if = "scope.row.propertyNo && scope.row.propertyNo !== ''" @click="editToolInfoPropertyModal(scope.row)">属性 </a> |
|
|
|
|
|
|
|
|
<a type="text" size="small" v-if="scope.row.propertyNo && scope.row.propertyNo !== ''" |
|
|
|
|
|
@click="editToolInfoPropertyModal(scope.row)">属性 </a> |
|
|
<a type="text" size="small" @click="deleteToolInfoConfirm(scope.row)">删除 </a> |
|
|
<a type="text" size="small" @click="deleteToolInfoConfirm(scope.row)">删除 </a> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
@ -84,7 +85,8 @@ |
|
|
:total="totalPage" |
|
|
:total="totalPage" |
|
|
layout="total, sizes, prev, pager, next, jumper"> |
|
|
layout="total, sizes, prev, pager, next, jumper"> |
|
|
</el-pagination> |
|
|
</el-pagination> |
|
|
<el-tabs style="font-size: 12px;min-height: 330px" class="customer-tab" v-model="activeName" type="border-card" @tab-click="tabClick"> |
|
|
|
|
|
|
|
|
<el-tabs style="font-size: 12px;min-height: 330px" class="customer-tab" v-model="activeName" type="border-card" |
|
|
|
|
|
@tab-click="tabClick"> |
|
|
<el-tab-pane label="工具实例" name="detail"> |
|
|
<el-tab-pane label="工具实例" name="detail"> |
|
|
<div style="padding: 5px 0 0 5px"> |
|
|
<div style="padding: 5px 0 0 5px"> |
|
|
<el-button type="primary" @click="addToolInstanceModal()">新增</el-button> |
|
|
<el-button type="primary" @click="addToolInstanceModal()">新增</el-button> |
|
|
@ -122,7 +124,8 @@ |
|
|
label="操作"> |
|
|
label="操作"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<a type="text" size="small" @click="editToolInstanceModal(scope.row)">编辑 </a> |
|
|
<a type="text" size="small" @click="editToolInstanceModal(scope.row)">编辑 </a> |
|
|
<a type="text" size="small" v-if = "scope.row.propertyNo && scope.row.propertyNo !== ''" @click="editToolInstancePropertyModal(scope.row)">属性 </a> |
|
|
|
|
|
|
|
|
<a type="text" size="small" v-if="scope.row.propertyNo && scope.row.propertyNo !== ''" |
|
|
|
|
|
@click="editToolInstancePropertyModal(scope.row)">属性 </a> |
|
|
<a type="text" size="small" @click="editToolInstanceDateModal(scope.row)">生命周期 </a> |
|
|
<a type="text" size="small" @click="editToolInstanceDateModal(scope.row)">生命周期 </a> |
|
|
<a type="text" size="small" @click="deleteToolInstanceConfirm(scope.row)">删除 </a> |
|
|
<a type="text" size="small" @click="deleteToolInstanceConfirm(scope.row)">删除 </a> |
|
|
</template> |
|
|
</template> |
|
|
@ -134,15 +137,19 @@ |
|
|
<!-- 选择组件 --> |
|
|
<!-- 选择组件 --> |
|
|
<Chooselist ref="baseList" @getBaseData="getBaseData"></Chooselist> |
|
|
<Chooselist ref="baseList" @getBaseData="getBaseData"></Chooselist> |
|
|
<!-- 工具信息 --> |
|
|
<!-- 工具信息 --> |
|
|
<toolInfoAddUpdate ref="toolInfoAddUpdate" :close-on-click-modal="false" @refreshTooInfoData="refreshTooInfoData" @changeCurrentToolInfo="changeCurrentToolInfo"> |
|
|
|
|
|
|
|
|
<toolInfoAddUpdate ref="toolInfoAddUpdate" :close-on-click-modal="false" @refreshTooInfoData="refreshTooInfoData" |
|
|
|
|
|
@changeCurrentToolInfo="changeCurrentToolInfo" @changeCurrentToolRow="changeCurrentToolRow"> |
|
|
</toolInfoAddUpdate> |
|
|
</toolInfoAddUpdate> |
|
|
|
|
|
|
|
|
<!-- 工具实例信息 --> |
|
|
<!-- 工具实例信息 --> |
|
|
<toolInstanceAddUpdate ref="toolInstanceAddUpdate" :close-on-click-modal="false" @refreshTooInstanceData="refreshTooInstanceData" @changeCurrentToolInstance="changeCurrentToolInstance"> |
|
|
|
|
|
|
|
|
<toolInstanceAddUpdate ref="toolInstanceAddUpdate" :close-on-click-modal="false" |
|
|
|
|
|
@refreshTooInstanceData="refreshTooInstanceData" |
|
|
|
|
|
@changeCurrentToolInstance="changeCurrentToolInstance"> |
|
|
</toolInstanceAddUpdate> |
|
|
</toolInstanceAddUpdate> |
|
|
|
|
|
|
|
|
<!-- 工具实例生命周期信息 --> |
|
|
<!-- 工具实例生命周期信息 --> |
|
|
<toolInstanceDateShow ref="toolInstanceDateShow" :close-on-click-modal="false" @refreshTooInstanceData="refreshTooInstanceData"> |
|
|
|
|
|
|
|
|
<toolInstanceDateShow ref="toolInstanceDateShow" :close-on-click-modal="false" |
|
|
|
|
|
@refreshTooInstanceData="refreshTooInstanceData"> |
|
|
</toolInstanceDateShow> |
|
|
</toolInstanceDateShow> |
|
|
|
|
|
|
|
|
<!-- 工具属性信息 --> |
|
|
<!-- 工具属性信息 --> |
|
|
@ -1038,6 +1045,7 @@ export default { |
|
|
this.refreshCurrentTabTable() |
|
|
this.refreshCurrentTabTable() |
|
|
} |
|
|
} |
|
|
this.dataListLoading = false |
|
|
this.dataListLoading = false |
|
|
|
|
|
|
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
@ -1121,6 +1129,11 @@ export default { |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
changeCurrentToolRow(tempData) { |
|
|
|
|
|
this.currentRow = JSON.parse(JSON.stringify(tempData)); |
|
|
|
|
|
this.refreshCurrentTabTable(); |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
/*调整等待派工单的等待时间*/ |
|
|
/*调整等待派工单的等待时间*/ |
|
|
changeCurrentToolInstance(tempData) { |
|
|
changeCurrentToolInstance(tempData) { |
|
|
//重置选择行 |
|
|
//重置选择行 |
|
|
@ -1152,6 +1165,7 @@ export default { |
|
|
/deep/ .customer-tab .el-tabs__content { |
|
|
/deep/ .customer-tab .el-tabs__content { |
|
|
padding: 0px !important; |
|
|
padding: 0px !important; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.el-transfer-panel { |
|
|
.el-transfer-panel { |
|
|
border: 2px solid #17b3a3; |
|
|
border: 2px solid #17b3a3; |
|
|
border-radius: 4px; |
|
|
border-radius: 4px; |
|
|
|