11
WXL
2024-02-27 6f0a85022f6eaf42576860c54528c3eed6c1b20b
src/views/project/donationdetails/index.vue
@@ -1735,6 +1735,19 @@
                    prop="organno"
                  />
                  <el-table-column
                    label="系统编号"
                    align="center"
                    width="120"
                    prop="caseno"
                  >
                    <template slot-scope="scope">
                      <el-input
                        v-model="scope.row.caseno"
                        placeholder="系统编号"
                      />
                    </template>
                  </el-table-column>
                  <el-table-column
                    label="器官离体时间"
                    align="center"
                    width="200"
@@ -1779,6 +1792,19 @@
                      <el-input
                        v-model="scope.row.organgetdoct"
                        placeholder="请输入医师姓名"
                      />
                    </template>
                  </el-table-column>
                  <el-table-column
                    label="受体姓氏"
                    align="center"
                    width="120"
                    prop="name"
                  >
                    <template slot-scope="scope">
                      <el-input
                        v-model="scope.row.name"
                        placeholder="受体姓氏"
                      />
                    </template>
                  </el-table-column>
@@ -1967,6 +1993,19 @@
                    prop="organno"
                  />
                  <el-table-column
                    label="系统编号"
                    align="center"
                    width="120"
                    prop="caseno"
                  >
                    <template slot-scope="scope">
                      <el-input
                        v-model="scope.row.caseno"
                        placeholder="系统编号"
                      />
                    </template>
                  </el-table-column>
                  <el-table-column
                    label="移植医院"
                    align="center"
                    width="220"
@@ -1979,6 +2018,19 @@
                        :org-type="'4'"
                        v-model="scope.row.transplanthospitalno"
                        style="width: 100%"
                      />
                    </template>
                  </el-table-column>
                  <el-table-column
                    label="受体姓氏"
                    align="center"
                    width="120"
                    prop="name"
                  >
                    <template slot-scope="scope">
                      <el-input
                        v-model="scope.row.name"
                        placeholder="受体姓氏"
                      />
                    </template>
                  </el-table-column>
@@ -2244,6 +2296,7 @@
            >
              <el-table-column
                prop="annexname"
              align="center"
                :show-overflow-tooltip="true"
                label="名称"
              >
@@ -2256,23 +2309,18 @@
              <el-table-column
                prop="name"
                width="180"
              align="center"
                :show-overflow-tooltip="true"
                label="功能"
              >
                <template slot-scope="scope">
                  <el-button
                    type="primary"
                    type="danger"
                    size="mini"
                    @click.native.prevent.stop="deletedowfile(scope.row)"
                    >删除</el-button
                  >
                  <el-button
                    type="primary"
                    size="mini"
                    @click.native.prevent.stop="moveupdowfile(scope.row)"
                    >上移</el-button
                  >
                </template>
              </el-table-column>
            </el-table>
@@ -3365,7 +3413,7 @@
        this.submitForm();
        // this.GetAttacheddata();
      } else if (this.form.workflow > this.actives) {
        // this.submitForm();
        this.submitForm();
        Modifydonationattachment(this.donatelist).then(res => {});
        this.listDonateannex();
        this.GetAttacheddata();
@@ -3581,12 +3629,7 @@
      this.annexfilesList.splice(indexvalue, 1);
      this.Newconversion(this.annexfilesList, indexvalue, "");
    },
    // 点击上移
    moveupdowfile(row) {
      const index = this.getIndexInArray(this.fileListto, row);
      const item = this.fileListto.splice(index, 1)[0]; // 移除指定索引处的元素,并保存到item变量中
      this.fileListto.splice(index - 1, 0, item); // 将item插入到索引位置的前一位
    },
    clearFilter() {
      this.$refs.filterTable.clearFilter();