Commit ec2da2ba by hank

修改字段

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