|
|
|
@ -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: {//name与v-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: {//name与v-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}$/, |
|
|
|
|