瀏覽代碼

Merge branch 'superman' of http://git.shengws.com/zhangbj/xt_vue into superman

csx 6 年之前
父節點
當前提交
2a2c2834d1
共有 2 個文件被更改,包括 10 次插入9 次删除
  1. 1 1
      config/dev.env.js
  2. 9 8
      src/xt_pages/user/components/PatientForm.vue

+ 1 - 1
config/dev.env.js 查看文件

@@ -6,5 +6,5 @@
6 6
 module.exports = {
7 7
   NODE_ENV: '"development"',
8 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 查看文件

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