|
|
|
@ -14,6 +14,7 @@ |
|
|
|
<el-button size="mini" icon="iconfont icon-fanhui" plain onclick="javascript:history.go(-1)">返回</el-button> |
|
|
|
<el-button size="mini" icon="iconfont icon-fanhui" plain onclick="javascript:history.go(-1)">返回</el-button> |
|
|
|
</el-header> |
|
|
|
</el-header> |
|
|
|
<el-main class="ms-container"> |
|
|
|
<el-main class="ms-container"> |
|
|
|
|
|
|
|
|
|
|
|
<el-scrollbar class="ms-scrollbar" style="height: 100%;"> |
|
|
|
<el-scrollbar class="ms-scrollbar" style="height: 100%;"> |
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="130px" size="mini"> |
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="130px" size="mini"> |
|
|
|
<el-row |
|
|
|
<el-row |
|
|
|
@ -310,10 +311,10 @@ |
|
|
|
"required": true, |
|
|
|
"required": true, |
|
|
|
"message": "请选择栏目管理名称" |
|
|
|
"message": "请选择栏目管理名称" |
|
|
|
}], |
|
|
|
}], |
|
|
|
// categoryListUrl: [{ |
|
|
|
categoryListUrl: [{ |
|
|
|
// "required": true, |
|
|
|
"required": true, |
|
|
|
// "message": "请选择列表模板" |
|
|
|
"message": "请选择列表模板" |
|
|
|
// }], |
|
|
|
}], |
|
|
|
categoryPinyin:[{ |
|
|
|
categoryPinyin:[{ |
|
|
|
validator: validatorCategoryPinyin, trigger: 'blur' |
|
|
|
validator: validatorCategoryPinyin, trigger: 'blur' |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
@ -321,10 +322,10 @@ |
|
|
|
"message": "拼音格式不匹配" |
|
|
|
"message": "拼音格式不匹配" |
|
|
|
}], |
|
|
|
}], |
|
|
|
// 内容模板 |
|
|
|
// 内容模板 |
|
|
|
// categoryUrl: [{ |
|
|
|
categoryUrl: [{ |
|
|
|
// "required": true, |
|
|
|
"required": true, |
|
|
|
// "message": "请选择内容模板" |
|
|
|
"message": "请选择内容模板" |
|
|
|
// }] |
|
|
|
}] |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
@ -543,14 +544,14 @@ |
|
|
|
//获取categoryListUrl数据源 |
|
|
|
//获取categoryListUrl数据源 |
|
|
|
categoryListUrlOptionsGet: function () { |
|
|
|
categoryListUrlOptionsGet: function () { |
|
|
|
var that = this; |
|
|
|
var that = this; |
|
|
|
ms.http.get(ms.manager + "/template/queryTemplateFileForColumn.do", {}).then(function (data) { |
|
|
|
ms.http.get(ms.manager + "/basic/template/queryTemplateFileForColumn.do", {}).then(function (data) { |
|
|
|
that.categoryListUrlOptions = data.data; |
|
|
|
that.categoryListUrlOptions = data.data; |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
//获取categoryUrl数据源 |
|
|
|
//获取categoryUrl数据源 |
|
|
|
categoryUrlOptionsGet: function () { |
|
|
|
categoryUrlOptionsGet: function () { |
|
|
|
var that = this; |
|
|
|
var that = this; |
|
|
|
ms.http.get(ms.manager + "/template/queryTemplateFileForColumn.do", {}).then(function (data) { |
|
|
|
ms.http.get(ms.manager + "/basic/template/queryTemplateFileForColumn.do", {}).then(function (data) { |
|
|
|
that.categoryUrlOptions = data.data; |
|
|
|
that.categoryUrlOptions = data.data; |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|