Commit 80bc18fa authored by 姬鋆屾's avatar 姬鋆屾

推修复新增请假记录弹窗无法填写的问题

parent 38741f66
...@@ -44,7 +44,6 @@ ...@@ -44,7 +44,6 @@
v-model="field" v-model="field"
:maxlength="maxLength" :maxlength="maxLength"
@change="emit" @change="emit"
:rows="rows"
@input="emit" @input="emit"
v-if="type === 'textarea'" v-if="type === 'textarea'"
type="textarea" type="textarea"
...@@ -262,6 +261,7 @@ export default { ...@@ -262,6 +261,7 @@ export default {
}, },
}, },
}, },
data() { data() {
return { return {
newVal: this.value, newVal: this.value,
......
...@@ -79,7 +79,6 @@ ...@@ -79,7 +79,6 @@
placeholder="请输入请假事由" placeholder="请输入请假事由"
:disabled="pageInfo.type == 'view'" :disabled="pageInfo.type == 'view'"
/> />
<el-row>
<Field <Field
label="审核结果" label="审核结果"
prop="auditResult" prop="auditResult"
...@@ -88,8 +87,8 @@ ...@@ -88,8 +87,8 @@
:enumData="dict.auditResult" :enumData="dict.auditResult"
placeholder="请选择审核结果" placeholder="请选择审核结果"
:disabled="pageInfo.type == 'view'" :disabled="pageInfo.type == 'view'"
style="width: 100%;"
/> />
</el-row>
<Field <Field
label="审批负责人" label="审批负责人"
...@@ -107,7 +106,6 @@ ...@@ -107,7 +106,6 @@
type="datetime" type="datetime"
disabled disabled
/> />
<el-row>
<Field <Field
label="审核说明" label="审核说明"
prop="auditDesc" prop="auditDesc"
...@@ -129,7 +127,6 @@ ...@@ -129,7 +127,6 @@
:disabled="pageInfo.type == 'view'" :disabled="pageInfo.type == 'view'"
style="width: 100%;" style="width: 100%;"
/> />
</el-row>
<el-form-item label="附件路径" prop="attachmentPathList"> <el-form-item label="附件路径" prop="attachmentPathList">
<FileUpload <FileUpload
@input="uploadFn" @input="uploadFn"
...@@ -264,7 +261,6 @@ export default { ...@@ -264,7 +261,6 @@ export default {
this.query = { id: row.id }; this.query = { id: row.id };
this.urls.currUrl = "attendance/leave/record/view"; this.urls.currUrl = "attendance/leave/record/view";
this.getData(); this.getData();
this.pageInfo.type = "view"; this.pageInfo.type = "view";
this.title = "请假记录信息详细"; this.title = "请假记录信息详细";
}, },
...@@ -279,6 +275,7 @@ export default { ...@@ -279,6 +275,7 @@ export default {
// url:this.form.attachmentPath // url:this.form.attachmentPath
// } // }
]; ];
this.open = true; this.open = true;
}, },
afterSubmit(data) { afterSubmit(data) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment