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

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

Loading…
Cancel
Save