pengjun 4 months ago
parent
commit
8397f51731
  1. 20
      src/components/customerOrg/customerOrgEdit.vue

20
src/components/customerOrg/customerOrgEdit.vue

@ -145,6 +145,17 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="报告版式" prop="remark">
<el-select v-model="form.reportFormatTemplateId" placeholder="请选择" filterable clearable
:style="'width:' + Math.floor((window.pageWidth - 585) / 3) + 'px;'" size="small">
<el-option v-for="item in dict.reportFormatTemplate" :key="item.id" :label="item.displayName"
:value="item.id" />
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<el-form-item label="备注" prop="remark"> <el-form-item label="备注" prop="remark">
<el-input class="enterToTab" v-model="form.remark" maxlength="100" show-word-limit /> <el-input class="enterToTab" v-model="form.remark" maxlength="100" show-word-limit />
</el-form-item> </el-form-item>
@ -234,7 +245,6 @@ export default {
routeUrlorPageName: 'customerOrg', // routeUrlorPageName: 'customerOrg', //
privs: [] // privs: [] //
}, },
customerOrgEditStyle: "height:400px;", customerOrgEditStyle: "height:400px;",
data: { data: {
organizationdata: [], // organizationdata: [], //
@ -269,6 +279,7 @@ export default {
medicalTypeId: '', medicalTypeId: '',
personnelTypeId: '', personnelTypeId: '',
isRecommend: 'N', isRecommend: 'N',
reportFormatTemplateId:'',
}, // }, //
formInit: {}, formInit: {},
rules: { rules: {
@ -355,6 +366,13 @@ export default {
this.data.organizationdata = res.data; this.data.organizationdata = res.data;
}); });
postapi('/api/app/Report/GetReportFormatTemplateByReportId',{id:'0005'}).then(res => {
if(res.code > -1){
this.dict.reportFormatTemplate = res.data
}
})
// //
getapi("/api/app/customer-org-type/get-all").then((res) => { getapi("/api/app/customer-org-type/get-all").then((res) => {
this.data.customerOrgType = res.data; this.data.customerOrgType = res.data;

Loading…
Cancel
Save