Commit c84a8f52 authored by YIyiyi's avatar YIyiyi

pref:优化编辑业务

parent 553ea6e7
......@@ -159,6 +159,9 @@ export default {
onEdit(data) {
this.getBusinessData();
this.form = { ...data };
if (this.form.parentId == 0) {
this.form.parentId = undefined;
}
},
// 切换业务级别
// changeIsBusiness(e) {
......
......@@ -86,20 +86,6 @@
</template>
</a-table>
</div>
<!-- 分页 -->
<!-- <div class="pagination" v-if="total">
<a-pagination
v-model="current"
:show-total="(total) => `共 ${total} 条`"
:total="total"
show-less-items
@change="handleChange"
show-size-changer
show-quick-jumper
:pageSizeOptions="pageSizeOptions"
@showSizeChange="showSizeChange"
/>
</div> -->
</a-card>
<!-- 新增模块 -->
<a-modal
......@@ -523,4 +509,4 @@ export default {
margin-top: 8px;
color: #666;
}
</style>
\ No newline at end of file
</style>
......@@ -319,6 +319,7 @@ export default {
this.loading = false;
this.skinTemplate = [];
this.curSkinTemplate = undefined;
this.facilityInfo = {};
},
// 获取设备信息
getFacilityInfo(info) {
......@@ -573,4 +574,4 @@ export default {
transform: scale(0.7);
}
}
</style>
\ No newline at end of file
</style>
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