Skip to content

Commit

Permalink
更新页面
Browse files Browse the repository at this point in the history
  • Loading branch information
superVice committed Feb 19, 2021
1 parent ddbbdda commit 7092160
Show file tree
Hide file tree
Showing 5 changed files with 213 additions and 114 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ yarn-error.log*
*.sw?
package-lock.json
package-lock.json
src/views/pat/PatVisitBase copy.vue
src/views/pat/PatVisitRecord copy.vue
5 changes: 2 additions & 3 deletions src/components/pat/basic/BaseLine.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<div>

<el-form

:model="baseForm"
:rules="rules"
ref="baseForm"
Expand All @@ -11,7 +10,7 @@
<el-form-item label="基线名称" prop="base_name">
<el-input v-model="baseForm.base_name"></el-input>
</el-form-item>
<el-form-item label="项目" prop="project_id">
<!-- <el-form-item label="项目" prop="project_id">
<el-select v-model="baseForm.project_id" placeholder="请选择基线建立区域">
<el-option label="402室" value="shanghai"></el-option>
<el-option label="403室" value="beijing"></el-option>
Expand All @@ -22,7 +21,7 @@
<el-option label="402室" value="shanghai"></el-option>
<el-option label="403室" value="beijing"></el-option>
</el-select>
</el-form-item>
</el-form-item> -->
<el-form-item label="基线时间" required>
<el-col :span="5">
<el-form-item prop="base_time">
Expand Down
4 changes: 2 additions & 2 deletions src/components/pat/basic/RecordAdd.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2561,7 +2561,7 @@
<script>
export default {
name: "RecordAdd",
props: ["patient_id"],
props: ["base_id"],
data() {
return {
activeNames: "sqlllj",
Expand Down Expand Up @@ -3010,7 +3010,7 @@ export default {
},
resetForm() {},
submitForm(formName) {
this.formAdd.patient_id = this.patient_id;
this.formAdd.base_id = this.base_id;
// var formData = JSON.stringify(this.formAdd);
this.$refs[formName].validate((valid) => {
if (valid) {
Expand Down
Loading

0 comments on commit 7092160

Please sign in to comment.