WXL
2024-01-16 ad70f145e8bea957b41043b4a1e37ce37cc5ed1e
src/views/followvisit/discharge/index.vue
@@ -49,7 +49,7 @@
            </el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="门诊随访状态" prop="status">
        <el-form-item label="出院随访状态" prop="status">
          <el-select v-model="topqueryParams.topic" placeholder="请选择">
            <el-option
              v-for="item in topicoptions"
@@ -183,11 +183,18 @@
        <el-table-column type="selection" width="50" align="center" />
        <el-table-column
          label="序号"
          fixed
          align="center"
          key="userId"
          prop="userId"
        />
        <el-table-column
          label="姓名"
          fixed
          align="center"
          key="types"
          prop="types"
        />
        <el-table-column
          label="病历号"
          align="center"
@@ -196,7 +203,7 @@
          prop="userName"
          width="120"
        />
        <el-table-column label="姓名" align="center" key="types" prop="types" />
        <el-table-column
          label="年龄"
          align="center"
@@ -228,18 +235,6 @@
        >
          <template slot-scope="scope">
            <div>轻度骨裂</div>
          </template>
        </el-table-column>
        <el-table-column
          label="随访状态"
          align="center"
          key="topicnumber"
          prop="topicnumber"
          width="120"
          :show-overflow-tooltip="true"
        >
          <template slot-scope="scope">
            <div>未完成</div>
          </template>
        </el-table-column>
        <el-table-column
@@ -304,9 +299,23 @@
            <span>{{ parseTime(scope.row.createTime) }}</span>
          </template>
        </el-table-column>
        <el-table-column
          label="随访状态"
          fixed="right"
          align="center"
          key="topicnumber"
          prop="topicnumber"
          width="120"
          :show-overflow-tooltip="true"
        >
          <template slot-scope="scope">
            <div>未完成</div>
          </template>
        </el-table-column>
        <el-table-column
          label="操作"
          fixed="right"
          align="center"
          width="200"
          class-name="small-padding fixed-width"
@@ -838,30 +847,12 @@
    },
    /** 新增按钮操作 */
    handleAdd() {
      this.reset();
      this.addalteropen = true;
      // getUser().then((response) => {
      //   this.postOptions = response.posts;
      //   this.roleOptions = response.roles;
      //   this.title = "新增门诊随访";
      //   this.form.password = this.initPassword;
      // });
      this.$router.push({
        path: "/followvisit/particty",
        query: { type: 3 },
      });
    },
    /** 修改按钮操作 */
    // handleUpdate(row) {
    //   this.reset();
    //   const userId = row.userId || this.ids;
    //   getUser(userId).then((response) => {
    //     this.form = response.data;
    //     this.postOptions = response.posts;
    //     this.roleOptions = response.roles;
    //     this.$set(this.form, "postIds", response.postIds);
    //     this.$set(this.form, "roleIds", response.roleIds);
    //     this.addalteropen = true;
    //     this.title = "修改用户";
    //     this.form.password = "";
    //   });
    // },
    /** 重置密码按钮操作 */
    handleResetPwd(row) {
      this.$prompt('请输入"' + row.userName + '"的新密码', "提示", {
@@ -958,13 +949,9 @@
    },
    // 跳转详情页
    Seedetails() {
      // this.$router.push({
      //   path: "/followvisit/record/detailpage/",
      //   query: { id: "1" },
      // });
      this.$router.push({
        path: "/followvisit/particty",
        query: { type: 3, },
        path: "/followvisit/record/detailpage/",
        query: { id: "1" },
      });
    },
    // 导入按钮