|
|
@ -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: {//name与v-decorator中属性对应 |
|
|
|
name: {//name与v-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}$/, |
|
|
|