Browse Source

时间选择器样式修改

11-plugin-be-present
aBin 4 years ago
parent
commit
03e47d153a
  1. 38
      index.html

38
index.html

@ -62,13 +62,15 @@
<img style="height:16px" src="https://www.tall.wiki/staticrec/photos/right.png">
</div>
<div class="time-box w-screen h-screen fixed z-10" style="background: rgba(0,0,0,0.65);top:0;left:0;display:none">
<div class="flex flex-col absolute w-full" style="background:#fff;bottom: 0;height:312px;border-radius:8px 8px 0 0">
<div class="flex justify-between p-2 border-gray-200 border-b-2" style="height:56px;line-height:38px">
<div class="flex flex-col absolute w-full" style="background:#fff;bottom: 0;height:346px;border-radius:8px 8px 0 0">
<div class="flex justify-between p-2 border-gray-200 border-b-2" style="height:44px">
<div class="text-gray-500" onclick="p1419895701453938688.cancelTime()">取消</div>
<div>到场信息</div>
<div class="text-blue-500" onclick="p1419895701453938688.changeTime()">确定</div>
</div>
<input class="doctorName" style="width: 64%;margin: 8px 18%;padding: 6px 0 6px 10px;border: 1px solid #333;font-size: 14px" placeholder="请输入姓名" type="text" />
<div style="box-shadow: 0px 2px 10px #ccc;height:44px;padding:4px 0;box-sizing: border-box">
<input class="doctorName" style="width: 64%;margin:0 18%;padding: 6px 0 6px 10px;border: 1px solid #333;font-size: 14px" placeholder="请输入姓名" type="text" />
</div>
<div class="flex flex-1 items-center overflow-hidden">
<div class="h-full flex flex-row text-center w-1/6 overflow-x-hidden relative">
<div class="h-full mx-auto absolute" style="right:-8px">
@ -172,16 +174,6 @@
* @param { Number } codeAndAnswerList 提交人类型(0平车 1人)
*/
choose(time){
<<<<<<< HEAD
const that = this;
console.log(that.token)
const params = JSON.stringify({
param: {
codeAndAnswerList: [
{
answer: time,
questionCode: 'ZQTH'
=======
var that = this;
var params = JSON.stringify({
param: {
@ -189,7 +181,6 @@
{
answer: [time],
questionCode: 'JMRSSJ'
>>>>>>> 00a8c6c7610eb01ec2a6bc230051de43686aeec9
}
],
projectId: that.projectId,
@ -197,21 +188,12 @@
}
});
fetch('https://www.tall.wiki/gateway/qcp/v3.0/patient/aidRecord', {
<<<<<<< HEAD
headers: {
'Authorization': 'Bearer ' + that.token,
'Content-Type': 'application/json;charset=utf-8'
},
method: 'POST',
mode: 'no-cors',
=======
headers: new Headers({
'Authorization': 'Bearer ' + that.token,
'Content-Type': 'application/json;charset=utf-8'
}),
method: 'POST',
mode: 'cors',
>>>>>>> 00a8c6c7610eb01ec2a6bc230051de43686aeec9
body: params
}).then(function(response) {
return response.json();
@ -309,19 +291,11 @@
// 开始到场
jumpDetails(that) {
<<<<<<< HEAD
const pId = that.parentNode.parentNode.getAttribute('data-pid');
const rId = that.parentNode.parentNode.getAttribute('data-rid');
const uId = that.parentNode.parentNode.getAttribute('data-uid');
const tId = that.parentNode.parentNode.getAttribute('data-tid');
location.href = `https://www.tall.wiki/qc/treatment?projectId=${pId}&roleId=${rId}&userId=${uId}&id=${tId}`;
=======
var pId = that.parentNode.parentNode.getAttribute('data-pid');
var rId = that.parentNode.parentNode.getAttribute('data-rid');
var uId = that.parentNode.parentNode.getAttribute('data-uid');
var tId = that.parentNode.parentNode.getAttribute('data-tid');
location.href = `https://www.tall.wiki/qc/information?projectId=${pId}&roleId=${rId}&userId=${uId}&id=${tId}`;
>>>>>>> 00a8c6c7610eb01ec2a6bc230051de43686aeec9
},
// 取消时间
@ -465,7 +439,7 @@
}
}
p1419895899999707136.init()
p1419895701453938688.init()
</script>
</div>
</div>

Loading…
Cancel
Save