外呼记录搜索条件批次新增明细

This commit is contained in:
2025-03-26 11:22:36 +08:00
parent 852e363eae
commit 0ae2200751
5 changed files with 42 additions and 32 deletions

View File

@ -91,7 +91,7 @@ export default {
*/ */
name: "Pagination", name: "Pagination",
// //
props: ["total", "pageSize", "indexFromWrap"], props: ["total", "pageSize", "indexFromWrap", "indexFrom"],
data() { data() {
return { return {
lxyms: 7, lxyms: 7,
@ -214,6 +214,17 @@ export default {
deep: true, deep: true,
immediate: true, immediate: true,
}, },
indexFrom: {
handler(val) {
if (val) {
this.currentpageSize = val;
} else {
this.currentpageSize = 10;
}
},
deep: true,
immediate: true,
},
}, },
}; };
</script> </script>

View File

@ -124,7 +124,7 @@
</el-table> </el-table>
</div> </div>
<myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize" <myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize"
:indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination> :indexFromWrap="queryParams.pageNum" :indexFrom="queryParams.pageSize" @updateCPage="updateCPage"></myPagination>
</div> </div>
</template> </template>

View File

@ -146,7 +146,7 @@
</el-table> </el-table>
</div> </div>
<myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize" <myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize"
:indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination> :indexFromWrap="queryParams.pageNum" :indexFrom="queryParams.pageSize" @updateCPage="updateCPage"></myPagination>
</div> </div>
</template> </template>
@ -162,7 +162,7 @@ import { usergetList } from "@/api/unitconfig/patientConfiguration";
import SearchFilter from "../../components/SearchForm.vue"; import SearchFilter from "../../components/SearchForm.vue";
import cardlist from "../components/cardlist.vue"; import cardlist from "../components/cardlist.vue";
export default { export default {
name: "PatientInfo", name: "Patientmanagement",
dicts: ["patient_type", "visit_method", "sign_status", "patient_source"], dicts: ["patient_type", "visit_method", "sign_status", "patient_source"],
components: { SearchFilter, cardlist }, components: { SearchFilter, cardlist },
data() { data() {
@ -221,9 +221,8 @@ export default {
handler(val) { handler(val) {
// if (val == "table") { // if (val == "table") {
// this.queryParams.pageSize = 10; // this.queryParams.pageSize = 10;
// this.indexFrom = "";
// } else if (val == "card") { // } else if (val == "card") {
// this.indexFrom = 100; // this.queryParams.pageSize = 100;
// } // }
}, },
deep: true, deep: true,

View File

@ -8,7 +8,7 @@
@click="handleAuth(item, index)" /> @click="handleAuth(item, index)" />
<img v-if="item.sex == 'MALE'" src="../../../assets/manage/touxiang.png" alt="" class="img" <img v-if="item.sex == 'MALE'" src="../../../assets/manage/touxiang.png" alt="" class="img"
@click="handleAuth(item, index)" /> @click="handleAuth(item, index)" />
<img v-if="!item.sex" src="../../../assets/manage/touxiang.png" alt="" class="img" <img v-if="!item.sex" src="../../../assets/manage/touxiang.png" alt="" class="img"
@click="handleAuth(item, index)" /> @click="handleAuth(item, index)" />
<el-tooltip class="name" effect="dark" :content="item.patientName" placement="top"> <el-tooltip class="name" effect="dark" :content="item.patientName" placement="top">
<span @click="handleAuth(item, index)"> <span @click="handleAuth(item, index)">
@ -26,7 +26,9 @@
<span class="mz" v-if="item.patientType == 'OUTPATIENT'">门诊</span> <span class="mz" v-if="item.patientType == 'OUTPATIENT'">门诊</span>
<!-- <span class="mz" v-if="item.patientType == 'CONTRACTED_PATIENT'">签约</span> --> <!-- <span class="mz" v-if="item.patientType == 'CONTRACTED_PATIENT'">签约</span> -->
</div> </div>
<div class="diagnosis">诊断名称{{ item.mainDiagnosis }}</div> <el-tooltip class="diagnosis" effect="dark" :content="item.mainDiagnosis" placement="right">
<span>诊断名称{{ item.mainDiagnosis }}</span>
</el-tooltip>
<div class="diagnosi">诊断状态{{ item.patientSignStatus }}</div> <div class="diagnosi">诊断状态{{ item.patientSignStatus }}</div>
<div class="formitembutton" @click.stop="handleedit(item)"> <div class="formitembutton" @click.stop="handleedit(item)">
画像编辑 画像编辑
@ -100,25 +102,25 @@ export default {
}, },
// //
handleAuthRole(item, index) { handleAuthRole(item, index) {
// //
this.$router.push({ this.$router.push({
path: "/patient/patientdetails", path: "/patient/patientdetails",
query: { query: {
path: "/patient/patientInfo", path: "/patient/patientInfo",
patientId: item.id, patientId: item.id,
cardNo: item.cardNo, cardNo: item.cardNo,
patientName: item.patientName, patientName: item.patientName,
patientPhone: item.patientPhone, patientPhone: item.patientPhone,
sex: item.sex, sex: item.sex,
birthDate: item.birthDate, birthDate: item.birthDate,
familyMemberPhone: item.familyMemberPhone, familyMemberPhone: item.familyMemberPhone,
address: item.address, address: item.address,
patientSource: item.patientSource, patientSource: item.patientSource,
createTime: item.createTime, createTime: item.createTime,
age: item.birthDate ? getAge(item.birthDate) : "", age: item.birthDate ? getAge(item.birthDate) : "",
}, },
}); });
}, },
// //
handleedit(item) { handleedit(item) {
@ -289,9 +291,8 @@ export default {
left: 70px; left: 70px;
top: 42px; top: 42px;
font-size: 12px; font-size: 12px;
height: 32px;
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
overflow: hidden; overflow: hidden;
padding-right: 4px; padding-right: 4px;

View File

@ -153,7 +153,7 @@
<cardlist :maxTableHeight="maxTableHeight" :patientInfoList="patientInfoList"></cardlist> <cardlist :maxTableHeight="maxTableHeight" :patientInfoList="patientInfoList"></cardlist>
</div> </div>
<myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize" <myPagination v-show="total > 0" :total="total" :pageSize="queryParams.pageSize"
:indexFromWrap="queryParams.pageNum" @updateCPage="updateCPage"></myPagination> :indexFromWrap="queryParams.pageNum" :indexFrom="queryParams.pageSize" @updateCPage="updateCPage"></myPagination>
</div> </div>
</template> </template>
@ -229,9 +229,8 @@ export default {
handler(val) { handler(val) {
if (val == "table") { if (val == "table") {
this.queryParams.pageSize = 10; this.queryParams.pageSize = 10;
this.indexFrom = "";
} else if (val == "card") { } else if (val == "card") {
this.indexFrom = 100; this.queryParams.pageSize = 100;
} }
}, },
deep: true, deep: true,