|
@@ -218,14 +218,21 @@
|
|
{required: true, message:'项目经理不能为空', trigger:'blur'}
|
|
{required: true, message:'项目经理不能为空', trigger:'blur'}
|
|
]">
|
|
]">
|
|
<!-- <el-input v-model="inputForm.projectMasterId" placeholder="请填写项目经理" clearable></el-input>-->
|
|
<!-- <el-input v-model="inputForm.projectMasterId" placeholder="请填写项目经理" clearable></el-input>-->
|
|
- <UserSelect size="medium" :disabled="method === 'view'" :limit='1' :value="inputForm.projectMasterId" @getValue='(value) => {inputForm.projectMasterId = value}'></UserSelect>
|
|
|
|
|
|
+ <UserSelect size="medium" :readonly="true" :disabled="method === 'view'" :limit='1' :value="inputForm.projectMasterId" @getValue='(value) => {inputForm.projectMasterId = value}'></UserSelect>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
<el-form-item label="现场负责人" prop="projectLeaderId"
|
|
<el-form-item label="现场负责人" prop="projectLeaderId"
|
|
:rules="[
|
|
:rules="[
|
|
]">
|
|
]">
|
|
- <UserSelect size="medium" :disabled="method === 'view'" :limit='1' :value="inputForm.projectLeaderId" @getValue='(value) => {inputForm.projectLeaderId = value}'></UserSelect>
|
|
|
|
|
|
+ <UserSelect size="medium" :readonly="true" :disabled="method === 'view'" :limit='1' :value="inputForm.projectLeaderId" @getValue='(value) => {inputForm.projectLeaderId = value}'></UserSelect>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="12">
|
|
|
|
+ <el-form-item label="项目实际责任人" prop="realHeader"
|
|
|
|
+ :rules="[
|
|
|
|
+ ]">
|
|
|
|
+ <UserSelect size="medium" :readonly="true" :disabled="formReadOnly" :limit='1' :value="inputForm.realHeader" @getValue='(value) => {inputForm.realHeader = value}'></UserSelect>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
@@ -377,7 +384,8 @@
|
|
businessType: '',
|
|
businessType: '',
|
|
riskLevel: '',
|
|
riskLevel: '',
|
|
businessTypeName: '',
|
|
businessTypeName: '',
|
|
- planDate: []
|
|
|
|
|
|
+ planDate: [],
|
|
|
|
+ realHeader: ''
|
|
},
|
|
},
|
|
keyWatch: '',
|
|
keyWatch: '',
|
|
activeName: 'client',
|
|
activeName: 'client',
|
|
@@ -479,7 +487,8 @@
|
|
businessType: '',
|
|
businessType: '',
|
|
riskLevel: '',
|
|
riskLevel: '',
|
|
businessTypeName: '',
|
|
businessTypeName: '',
|
|
- planDate: []
|
|
|
|
|
|
+ planDate: [],
|
|
|
|
+ realHeader: ''
|
|
}
|
|
}
|
|
this.inputForm.id = id
|
|
this.inputForm.id = id
|
|
this.loading = false
|
|
this.loading = false
|
|
@@ -650,7 +659,8 @@
|
|
businessType: '',
|
|
businessType: '',
|
|
riskLevel: '',
|
|
riskLevel: '',
|
|
businessTypeName: '',
|
|
businessTypeName: '',
|
|
- planDate: []
|
|
|
|
|
|
+ planDate: [],
|
|
|
|
+ realHeader: ''
|
|
}
|
|
}
|
|
this.$refs.uploadComponent.clearUpload()
|
|
this.$refs.uploadComponent.clearUpload()
|
|
this.$refs.inputForm.resetFields()
|
|
this.$refs.inputForm.resetFields()
|