Browse Source

更新代码

19-plugin-turn-over
aBin 4 years ago
parent
commit
ee63d84a1b
  1. 13
      index.html

13
index.html

@ -57,8 +57,8 @@
<div class="flex flex-nowrap statusBtn mr-2" style="display: none">
<button class="text-xs rounded-full py-1 px-5 text-white" style="background: #17C432" onclick="p1419896010171490304.show()"></button>
</div>
<div class="flex flex-nowrap statusChoose mr-2 bg-black bg-opacity-50" style="position:absolute;top:0;left:0;width:100%;height:100%;display:none">
<div class="flex flex-col bg-white" style="position:absolute;bottom:0;left:0;width:100%;">
<div class="w-screen h-screen fixed z-10 statusChoose bg-black bg-opacity-50" style="display:none;top: 0;left: 0;">
<div class="flex flex-col absolute w-full bg-white" style="bottom: 0;">
<div class="flex flex-row justify-between px-5 py-4">
<span class="text-gray-400" onclick="p1419896010171490304.hide()">取消</span>
<span class="font-bold">选择</span>
@ -72,7 +72,7 @@
</div>
<script>
const p1419896010171490304 = {
var p1419896010171490304 = {
token: '',
projectId: '',
dom: '',
@ -113,7 +113,7 @@
// 批量查询患者急救记录
that.getFirstAidRecord()
} else {
alert(msg || '获取失败')
console.log('msg: ', msg);
}
});
},
@ -144,10 +144,9 @@
}).then(function(res){
const { success, code, data, msg } = res;
if (success && code === 200) {
console.log('data: ', data);
that.setDate(data.record.HZZG)
} else {
alert(msg || '查询失败')
console.log('msg: ', msg);
}
})
},
@ -217,7 +216,7 @@
if (success && code === 200) {
that.setDate()
} else {
alert(msg || '添加失败')
console.log('msg: ', msg);
// var lis = that.dom.querySelectorAll('li');
// for (var i = 0; i < lis.length; i++){
// var item = lis[i];

Loading…
Cancel
Save