外呼记录搜索条件批次新增明细
This commit is contained in:
parent
852e363eae
commit
0ae2200751
@ -91,7 +91,7 @@ export default {
|
||||
*/
|
||||
name: "Pagination",
|
||||
//由父组件传递总条数 每页显示数 连续页码数 当前页下标
|
||||
props: ["total", "pageSize", "indexFromWrap"],
|
||||
props: ["total", "pageSize", "indexFromWrap", "indexFrom"],
|
||||
data() {
|
||||
return {
|
||||
lxyms: 7,
|
||||
@ -214,6 +214,17 @@ export default {
|
||||
deep: true,
|
||||
immediate: true,
|
||||
},
|
||||
indexFrom: {
|
||||
handler(val) {
|
||||
if (val) {
|
||||
this.currentpageSize = val;
|
||||
} else {
|
||||
this.currentpageSize = 10;
|
||||
}
|
||||
},
|
||||
deep: true,
|
||||
immediate: true,
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
@ -124,7 +124,7 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<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>
|
||||
</template>
|
||||
|
||||
|
||||
@ -146,7 +146,7 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<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>
|
||||
</template>
|
||||
|
||||
@ -162,7 +162,7 @@ import { usergetList } from "@/api/unitconfig/patientConfiguration";
|
||||
import SearchFilter from "../../components/SearchForm.vue";
|
||||
import cardlist from "../components/cardlist.vue";
|
||||
export default {
|
||||
name: "PatientInfo",
|
||||
name: "Patientmanagement",
|
||||
dicts: ["patient_type", "visit_method", "sign_status", "patient_source"],
|
||||
components: { SearchFilter, cardlist },
|
||||
data() {
|
||||
@ -221,9 +221,8 @@ export default {
|
||||
handler(val) {
|
||||
// if (val == "table") {
|
||||
// this.queryParams.pageSize = 10;
|
||||
// this.indexFrom = "";
|
||||
// } else if (val == "card") {
|
||||
// this.indexFrom = 100;
|
||||
// this.queryParams.pageSize = 100;
|
||||
// }
|
||||
},
|
||||
deep: true,
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
@click="handleAuth(item, index)" />
|
||||
<img v-if="item.sex == 'MALE'" src="../../../assets/manage/touxiang.png" alt="" class="img"
|
||||
@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)" />
|
||||
<el-tooltip class="name" effect="dark" :content="item.patientName" placement="top">
|
||||
<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 == 'CONTRACTED_PATIENT'">签约</span> -->
|
||||
</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="formitembutton" @click.stop="handleedit(item)">
|
||||
画像编辑
|
||||
@ -100,25 +102,25 @@ export default {
|
||||
},
|
||||
// 双击进入详情
|
||||
handleAuthRole(item, index) {
|
||||
//这里写你实现双击后的逻辑代码
|
||||
this.$router.push({
|
||||
path: "/patient/patientdetails",
|
||||
query: {
|
||||
path: "/patient/patientInfo",
|
||||
patientId: item.id,
|
||||
cardNo: item.cardNo,
|
||||
patientName: item.patientName,
|
||||
patientPhone: item.patientPhone,
|
||||
sex: item.sex,
|
||||
birthDate: item.birthDate,
|
||||
familyMemberPhone: item.familyMemberPhone,
|
||||
address: item.address,
|
||||
patientSource: item.patientSource,
|
||||
createTime: item.createTime,
|
||||
age: item.birthDate ? getAge(item.birthDate) : "",
|
||||
},
|
||||
});
|
||||
|
||||
//这里写你实现双击后的逻辑代码
|
||||
this.$router.push({
|
||||
path: "/patient/patientdetails",
|
||||
query: {
|
||||
path: "/patient/patientInfo",
|
||||
patientId: item.id,
|
||||
cardNo: item.cardNo,
|
||||
patientName: item.patientName,
|
||||
patientPhone: item.patientPhone,
|
||||
sex: item.sex,
|
||||
birthDate: item.birthDate,
|
||||
familyMemberPhone: item.familyMemberPhone,
|
||||
address: item.address,
|
||||
patientSource: item.patientSource,
|
||||
createTime: item.createTime,
|
||||
age: item.birthDate ? getAge(item.birthDate) : "",
|
||||
},
|
||||
});
|
||||
|
||||
},
|
||||
// 画像编辑
|
||||
handleedit(item) {
|
||||
@ -289,9 +291,8 @@ export default {
|
||||
left: 70px;
|
||||
top: 42px;
|
||||
font-size: 12px;
|
||||
height: 32px;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-line-clamp: 1;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
padding-right: 4px;
|
||||
|
||||
@ -153,7 +153,7 @@
|
||||
<cardlist :maxTableHeight="maxTableHeight" :patientInfoList="patientInfoList"></cardlist>
|
||||
</div>
|
||||
<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>
|
||||
</template>
|
||||
|
||||
@ -229,9 +229,8 @@ export default {
|
||||
handler(val) {
|
||||
if (val == "table") {
|
||||
this.queryParams.pageSize = 10;
|
||||
this.indexFrom = "";
|
||||
} else if (val == "card") {
|
||||
this.indexFrom = 100;
|
||||
this.queryParams.pageSize = 100;
|
||||
}
|
||||
},
|
||||
deep: true,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user