dev_2307
Gitea 1 year ago
parent 02a7526591
commit 2c071c9974
  1. 5
      ant-design-vue-jeecg/src/views/course/AddCourse.vue
  2. 16
      ant-design-vue-jeecg/src/views/course/EditCourse.vue

@ -226,7 +226,6 @@
:multi="fs" :multi="fs"
userSelect="maker" userSelect="maker"
v-model="model.maker" v-model="model.maker"
@change="change"
/> />
<!-- v-decorator="['maker', { initialValue: 123 }]" --> <!-- v-decorator="['maker', { initialValue: 123 }]" -->
</a-form-item> </a-form-item>
@ -248,7 +247,6 @@
:multi="fs" :multi="fs"
userSelect="writer" userSelect="writer"
v-model="model.writer" v-model="model.writer"
@change="change"
/> />
</a-form-item> </a-form-item>
</a-col> </a-col>
@ -271,7 +269,6 @@
:value="model.verifier" :value="model.verifier"
userSelect="verifier" userSelect="verifier"
v-model="model.verifier" v-model="model.verifier"
@change="change"
/> />
</a-form-item> </a-form-item>
</a-col> </a-col>
@ -341,7 +338,7 @@
:rows="8" :rows="8"
type="textarea" type="textarea"
placeholder="请输入内容" placeholder="请输入内容"
v-model="textarea" v-model="model.synopsis"
maxlength="500" maxlength="500"
show-word-limit show-word-limit
style="width: 200%" style="width: 200%"

@ -238,7 +238,6 @@
:multi="fs" :multi="fs"
userSelect="maker" userSelect="maker"
v-model="model.maker" v-model="model.maker"
@change="change"
/> />
<!-- v-decorator="['maker', { initialValue: 123 }]" --> <!-- v-decorator="['maker', { initialValue: 123 }]" -->
</a-form-item> </a-form-item>
@ -260,7 +259,6 @@
:multi="fs" :multi="fs"
userSelect="writer" userSelect="writer"
v-model="model.writer" v-model="model.writer"
@change="change"
/> />
</a-form-item> </a-form-item>
</a-col> </a-col>
@ -282,10 +280,10 @@
<a-col :span="8"> <a-col :span="8">
<a-form-item label="审定人" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="审定人" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-select-user-by-dep <j-select-user-by-dep
:multi="fs"
:value="model.verifier" :value="model.verifier"
userSelect="verifier" userSelect="verifier"
v-model="model.verifier" v-model="model.verifier"
@change="change"
/> />
</a-form-item> </a-form-item>
</a-col> </a-col>
@ -355,7 +353,7 @@
:rows="8" :rows="8"
type="textarea" type="textarea"
placeholder="请输入内容" placeholder="请输入内容"
v-model="textarea" v-model="model.synopsis"
maxlength="500" maxlength="500"
show-word-limit show-word-limit
style="width: 200%" style="width: 200%"
@ -629,11 +627,11 @@ export default {
// ], // ],
// trigger: 'blur', // trigger: 'blur',
// }, // },
name: {//namev-decorator name: {//namev-decorator
// initialValue: "",// // initialValue: "",//
rules: [{ required: true, message: '不能为空!' },// rules: [{ required: true, message: '不能为空!' },//
// { validator: (rule, value, callback) => validateDuplicateValue('em_project_info', 'project_name', value, this.model.id, callback) },// // { validator: (rule, value, callback) => validateDuplicateValue('em_project_info', 'project_name', value, this.model.id, callback) },//
// { pattern: /^1[3456789]\d{9}$/, message: '!' },// // { pattern: /^1[3456789]\d{9}$/, message: '!' },//
{ {
// pattern: /^(([1]?\\d)|20)$/, // pattern: /^(([1]?\\d)|20)$/,
pattern: /^[^\\]{0,100}$/, pattern: /^[^\\]{0,100}$/,

Loading…
Cancel
Save