|
@ -11,6 +11,8 @@ var loading = dialog({
|
|
|
data: {},
|
|
|
dataList: [],
|
|
|
length: 0,
|
|
|
cardId:"",
|
|
|
cardNo:"",
|
|
|
code: "",
|
|
|
cardlenght: 0,
|
|
|
TypeList: [{}, {
|
|
@ -61,6 +63,11 @@ var loading = dialog({
|
|
|
vm.data = res.data[0]
|
|
|
}
|
|
|
}
|
|
|
vm.cardId=vm.data.id
|
|
|
vm.cardNo=vm.data.cardNo
|
|
|
if(vm.data.type=="2"){
|
|
|
vm.data.cardNo=vm.data.cardNo.substr(0,1)+"*************"+vm.data.cardNo.substr(vm.data.cardNo.length-4,4)
|
|
|
}
|
|
|
vm.getList()
|
|
|
} else {
|
|
|
dialog({
|
|
@ -88,7 +95,7 @@ var loading = dialog({
|
|
|
getList: function() {
|
|
|
var vm = this
|
|
|
sendPost("patient/diag/it", {
|
|
|
cardNo: vm.data.cardNo
|
|
|
cardNo: vm.cardNo
|
|
|
}, "json", "get", function() {
|
|
|
loading.close();
|
|
|
dialog({
|