Commit ec2da2ba by hank

修改字段

parent e514108b
......@@ -104,13 +104,14 @@ export function getTypeTagList(typeId = '', p = 1, c = 20) {
* @param {*} typeMenuId
* 根据类型ID修改模板类型信息
*/
export function typeUpdateInfo(typeMenuName, typeMenuId) {
export function typeUpdateInfo(typeMenuName, typeMenuId, typeOrder) {
return request({
url: '/type/update/info',
method: 'post',
data: {
typeMenuName,
typeMenuId
typeMenuId,
typeOrder
}
})
}
......
......@@ -394,7 +394,8 @@ export default {
if (valid) {
typeUpdateInfo(
this.detailTemp.typeName,
this.$route.query.typeId
this.$route.query.typeId,
this.detailTemp.typeOrder,
).then(() => {
this.$notify({
title: 'Success',
......
......@@ -37,6 +37,15 @@
</template> -->
</el-table-column>
<el-table-column
label="排序序号"
width="auto"
align="center"
>
<template slot-scope="scope">
<span>{{ scope.row.typeMenuOrder }}</span>
</template>
</el-table-column>
<el-table-column
label="模板类型名称"
width="auto"
align="center"
......
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 sign in to comment