|
@ -118,7 +118,7 @@ |
|
|
<el-card class="box-card"> |
|
|
<el-card class="box-card"> |
|
|
<div slot="header" class="clearfix"> |
|
|
<div slot="header" class="clearfix"> |
|
|
<span>字典详情</span> |
|
|
<span>字典详情</span> |
|
|
<el-button type="primary" icon="el-icon-edit" style="float: right;margin-right:10px" @click="subshowCreate"> |
|
|
<el-button type="primary" icon="el-icon-edit" style="float: right;margin-left:10px" @click="subshowCreate"> |
|
|
添加 |
|
|
添加 |
|
|
</el-button> |
|
|
</el-button> |
|
|
<el-button |
|
|
<el-button |
|
@ -138,7 +138,6 @@ |
|
|
height="700" |
|
|
height="700" |
|
|
highlight-current-row |
|
|
highlight-current-row |
|
|
stripe |
|
|
stripe |
|
|
@row-click="onRowClick" |
|
|
|
|
|
@selection-change="handleSelectionChange" |
|
|
@selection-change="handleSelectionChange" |
|
|
> |
|
|
> |
|
|
<el-table-column type="selection" width="40" /> |
|
|
<el-table-column type="selection" width="40" /> |
|
@ -192,7 +191,7 @@ |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
</el-table> |
|
|
</el-table> |
|
|
<pagination v-show="subtotal>0" :total="subtotal" :page-num.sync="sublistQuery.pageNum" :page-row.sync="sublistQuery.pageSize" @pagination="getsubList" /> |
|
|
<pagination v-if="subtotal>0" :total="subtotal" :page-num.sync="sublistQuery.pageNum" :page-row.sync="sublistQuery.pageSize" @pagination="getsubList" /> |
|
|
</el-card> |
|
|
</el-card> |
|
|
</el-col> |
|
|
</el-col> |
|
|
</el-row> |
|
|
</el-row> |
|
@ -472,6 +471,7 @@ export default { |
|
|
this.secondDialogFormVisible = true |
|
|
this.secondDialogFormVisible = true |
|
|
}, |
|
|
}, |
|
|
subcreateDicData() { |
|
|
subcreateDicData() { |
|
|
|
|
|
console.log(this.tempDicData) |
|
|
this.$refs['tempDicData'].validate(valid => { |
|
|
this.$refs['tempDicData'].validate(valid => { |
|
|
if (valid) { |
|
|
if (valid) { |
|
|
this.api({ |
|
|
this.api({ |
|
@ -534,7 +534,7 @@ export default { |
|
|
} |
|
|
} |
|
|
}).then(() => { |
|
|
}).then(() => { |
|
|
this.$message({ message: '删除成功。', type: 'success' }) |
|
|
this.$message({ message: '删除成功。', type: 'success' }) |
|
|
this.getList() |
|
|
this.getsubList() |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|