fixed 修改代码块管理细节
This commit is contained in:
parent
b590b01a1d
commit
6a5124755a
@ -41,14 +41,6 @@
|
||||
<el-input-number v-model='formData.code_module_sort' controls-position='right' :min='1'></el-input-number>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="审核状态" prop="code_module_audit">
|
||||
<el-select v-model="formData.code_module_audit" clearable placeholder="请选择">
|
||||
<el-option v-for="item in audit_status" :key="item.dictionary_guid" :label="item.dictionary_name"
|
||||
:value="item.dictionary_value"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
</el-row>
|
||||
</el-form>
|
||||
@ -138,12 +130,6 @@ const rules = reactive({
|
||||
message: 'html内容不能为空'
|
||||
}
|
||||
],
|
||||
code_module_sort: [
|
||||
{
|
||||
required: true,
|
||||
message: '排序不能为空'
|
||||
}
|
||||
],
|
||||
code_module_audit: [
|
||||
{
|
||||
required: true,
|
||||
|
@ -4,7 +4,7 @@
|
||||
<el-row>
|
||||
|
||||
<el-col :span="12">
|
||||
<el-form-item :label-width="labelWidth" label="类目" prop="code_module_catetory_guid">
|
||||
<el-form-item :label-width="labelWidth" label="类目" prop="code_module_category_guid">
|
||||
<el-cascader class="w100" filterable :options="dataList"
|
||||
:props="{ checkStrictly: false, value: 'code_module_category_guid', label: 'code_module_category_name', emitPath: false }"
|
||||
placeholder="请选择类目" clearable v-model="formData.code_module_category_guid">
|
||||
@ -136,10 +136,10 @@ const closeDialog = () => {
|
||||
};
|
||||
|
||||
const rules = reactive({
|
||||
code_module_catetory_guid: [
|
||||
code_module_category_guid: [
|
||||
{
|
||||
required: true,
|
||||
message: '类目不能为空'
|
||||
message: '代码库类目不能为空'
|
||||
}
|
||||
],
|
||||
code_module_name: [
|
||||
@ -154,18 +154,6 @@ const rules = reactive({
|
||||
message: 'html内容不能为空'
|
||||
}
|
||||
],
|
||||
code_module_sort: [
|
||||
{
|
||||
required: true,
|
||||
message: '排序不能为空'
|
||||
}
|
||||
],
|
||||
code_module_audit: [
|
||||
{
|
||||
required: true,
|
||||
message: '审核状态不能为空'
|
||||
}
|
||||
],
|
||||
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user