Browse Source

一般资料

柳香萍 6 years ago
parent
commit
6f1cac6b03
2 changed files with 10 additions and 9 deletions
  1. 1 1
      config/dev.env.js
  2. 9 8
      src/xt_pages/user/components/PatientForm.vue

+ 1 - 1
config/dev.env.js View File

6
 module.exports = {
6
 module.exports = {
7
   NODE_ENV: '"development"',
7
   NODE_ENV: '"development"',
8
   ENV_CONFIG: '"dev"',
8
   ENV_CONFIG: '"dev"',
9
-  BASE_API: '"http://localhost:9529"',//'"http://localhost:9529"', // //http://api.xt.test.sgjyun.com http://112.74.16.180:9527
9
+  BASE_API: '"http://112.74.16.180:9527"',//'"http://localhost:9529"', // //http://api.xt.test.sgjyun.com http://112.74.16.180:9527
10
 }
10
 }

+ 9 - 8
src/xt_pages/user/components/PatientForm.vue View File

87
                   <el-input v-model="form.homeTelephone" maxlength="20"></el-input>
87
                   <el-input v-model="form.homeTelephone" maxlength="20"></el-input>
88
                 </el-form-item>
88
                 </el-form-item>
89
               </el-col>
89
               </el-col>
90
-              <el-col :span="8" :style="isEdit?'width:360px':''" style="height:58px;" >
90
+              <el-col :span="8" :style="isEdit?'width:360px':''"  >
91
                 <el-form-item label="患者来源 : " class="is-required" prop="source" >
91
                 <el-form-item label="患者来源 : " class="is-required" prop="source" >
92
                   <el-radio-group v-model="form.source">
92
                   <el-radio-group v-model="form.source">
93
                     <el-radio v-for="item in sourceOptions" :key="item.value" :label="item.value" :value="item.value" >{{item.label}}</el-radio>
93
                     <el-radio v-for="item in sourceOptions" :key="item.value" :label="item.value" :value="item.value" >{{item.label}}</el-radio>
94
                   </el-radio-group>
94
                   </el-radio-group>
95
                 </el-form-item>
95
                 </el-form-item>
96
               </el-col>
96
               </el-col>
97
-              <el-col :span="8" :style="isEdit?'width:360px':''" style="height:58px;">
97
+              <el-col :span="8" :style="isEdit?'width:360px':''" >
98
                 <el-form-item label="治疗状态(转归) : " class="is-required" prop="lapseto" >
98
                 <el-form-item label="治疗状态(转归) : " class="is-required" prop="lapseto" >
99
                   <el-radio-group v-model="form.lapseto">
99
                   <el-radio-group v-model="form.lapseto">
100
                     <el-radio v-for="item in lapsetoOptions" :key="item.value" :label="item.value" :value="item.value" >{{item.label}}</el-radio>
100
                     <el-radio v-for="item in lapsetoOptions" :key="item.value" :label="item.value" :value="item.value" >{{item.label}}</el-radio>
113
                 </el-form-item>
113
                 </el-form-item>
114
               </el-col>
114
               </el-col>
115
 
115
 
116
-              <el-col :span="8" >
116
+              <el-col :span="8" :style="isEdit?'width:360px':''" >
117
                 <el-form-item label="家庭住址 : " prop="homeAddress">
117
                 <el-form-item label="家庭住址 : " prop="homeAddress">
118
                   <el-input v-model="form.homeAddress"></el-input>
118
                   <el-input v-model="form.homeAddress"></el-input>
119
                 </el-form-item>
119
                 </el-form-item>
185
                     </el-select>
185
                     </el-select>
186
                   </el-form-item>
186
                   </el-form-item>
187
                 </el-col>
187
                 </el-col>
188
-                <el-col :span="8" >
188
+                <el-col :span="8" :style="isEdit?'width:360px':''" >
189
                   <el-form-item label="工作单位 : " prop="work">
189
                   <el-form-item label="工作单位 : " prop="work">
190
                     <el-input v-model="form.work"></el-input>
190
                     <el-input v-model="form.work"></el-input>
191
                   </el-form-item>
191
                   </el-form-item>
192
                 </el-col>
192
                 </el-col>
193
-                <el-col :span="8" >
193
+                <el-col :span="8" :style="isEdit?'width:360px':''">
194
                   <el-form-item label="单位地址 : " prop="unit_address">
194
                   <el-form-item label="单位地址 : " prop="unit_address">
195
                     <el-input v-model="form.unit_address"></el-input>
195
                     <el-input v-model="form.unit_address"></el-input>
196
                   </el-form-item>
196
                   </el-form-item>
241
 
241
 
242
         <div class="dataTitle">治疗信息</div>
242
         <div class="dataTitle">治疗信息</div>
243
         <el-row :span="24">
243
         <el-row :span="24">
244
-          <el-col :span="8">
244
+          <el-col :span="12">
245
             <el-form-item label="主诉 : " prop="patient_complains">
245
             <el-form-item label="主诉 : " prop="patient_complains">
246
               <el-input type="textarea" :rows="3" v-model="form.patient_complains" resize="none" placeholder=""></el-input>
246
               <el-input type="textarea" :rows="3" v-model="form.patient_complains" resize="none" placeholder=""></el-input>
247
             </el-form-item>
247
             </el-form-item>
248
           </el-col>
248
           </el-col>
249
-          <el-col :span="8">
249
+          <el-col :span="12">
250
             <el-form-item label="现病史 : " prop="present_history">
250
             <el-form-item label="现病史 : " prop="present_history">
251
               <el-input type="textarea" :rows="3" v-model="form.present_history" resize="none" placeholder=""></el-input>
251
               <el-input type="textarea" :rows="3" v-model="form.present_history" resize="none" placeholder=""></el-input>
252
             </el-form-item>
252
             </el-form-item>
253
           </el-col>
253
           </el-col>
254
-          <el-col :span="8">
254
+          <el-col :span="12">
255
             <el-form-item label="既往史 : " prop="past_history">
255
             <el-form-item label="既往史 : " prop="past_history">
256
               <el-input type="textarea" :rows="3" v-model="form.past_history" resize="none" placeholder=""></el-input>
256
               <el-input type="textarea" :rows="3" v-model="form.past_history" resize="none" placeholder=""></el-input>
257
             </el-form-item>
257
             </el-form-item>
1010
   .el-form{
1010
   .el-form{
1011
   .el-col-6,.el-col-8{
1011
   .el-col-6,.el-col-8{
1012
     width: 430px;
1012
     width: 430px;
1013
+    height: 59px!important;
1013
   }
1014
   }
1014
   .el-form-item {
1015
   .el-form-item {
1015
   .el-select {
1016
   .el-select {