yuwandanmian 1 年之前
父节点
当前提交
d4c28cc1f4
共有 1 个文件被更改,包括 8 次插入6 次删除
  1. 8 6
      src/views/recordsRoom/qc/components/CreateControlResultDialog.vue

+ 8 - 6
src/views/recordsRoom/qc/components/CreateControlResultDialog.vue

@@ -18,8 +18,8 @@
         </el-row>
         <el-row :gutter="0">
           <el-col :span="8">
-            <el-form-item label="住院号码" prop="ZYH">
-              <el-input v-model="ruleForm.ZYH" disabled placeholder="请输入"></el-input>
+            <el-form-item label="住院号码" prop="AAA28">
+              <el-input v-model="ruleForm.AAA28" disabled placeholder="请输入"></el-input>
             </el-form-item>
           </el-col>
           <el-col :span="8">
@@ -136,8 +136,8 @@
         </el-row>
       </el-form>
       <span slot="footer" class="dialog-footer">
-        <el-button @click="data.bSwitch">取 消</el-button>
-        <el-button type="primary" @click="onSubmit" :loading="loading">确 定</el-button>
+        <el-button type="primary" @click="onSubmit" :loading="loading">发送整改通知</el-button>
+        <el-button @click="data.bSwitch = false">关 闭</el-button>
       </span>
     </el-dialog>
   </div>
@@ -173,6 +173,7 @@ export default {
       },
       deportments: [],
       ruleForm: {
+        AAA28: '',
         ZYH: '',
         ZKR: '',
         ZKKS: '',
@@ -190,7 +191,7 @@ export default {
         score: undefined
       },
       rules: {
-        ZYH: [
+        AAA28: [
           { required: true, message: '请输入', trigger: 'blur' }
         ],
         ZKR: [
@@ -290,7 +291,8 @@ export default {
     // 获取病历相关信息
     getBlInfo() {
       getBlInfo({ blbh: this.data.blbh }).then(res => {
-        const { ZYH, JSKS, JSR } = res.p
+        const { AAA28, JSKS, JSR, ZYH } = res.p
+        this.$set(this.ruleForm, 'AAA28', AAA28)
         this.$set(this.ruleForm, 'ZYH', ZYH)
         this.$set(this.ruleForm, 'JSKS', JSKS)
         this.$set(this.ruleForm, 'JSR', JSR)