Browse Source

谈话时间提交问题修改

16-plugin-tanhua
aBin 4 years ago
parent
commit
eddcfe9e40
  1. 8
      index.html

8
index.html

@ -48,7 +48,7 @@
<button class="bg-blue-500 py-2 px-5 rounded text-white" onclick="p100.show()">测试组建2</button>
<div data-tname="知情谈话" data-pid="1402932548627206144" data-uid="1323567842540523520" data-rid="rid333" data-tid="tid444" data-did="did555" data-pstart="1627560659000" data-rstart="1627564259000" style="height:50px;width:100%">
<!-- 到场插件 -->
<!-- 介入插件 -->
<div data-root="p1419895899999707136" class="flex flex-row items-center" style="height:100%;width:100%;">
<div class="flex-1 title" onclick="p1419895899999707136.jumpDetails(this)"></div>
<div class="flex flex-nowrap startBtn mr-2">
@ -63,9 +63,9 @@
</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:300px;border-radius:8px 8px 0 0">
<div class="flex justify-between p-2 border-gray-200 border-b-2" style="height:44px;">
<div class="flex justify-between p-2 border-gray-200 border-b-2" style="height:44px">
<div class="text-gray-500" onclick="p1419895899999707136.cancelTime()">取消</div>
<div>时间</div>
<div>介入时间</div>
<div class="text-blue-500" onclick="p1419895899999707136.changeTime()">确定</div>
</div>
<div class="flex flex-1 items-center overflow-hidden" style="padding:0 16px">
@ -305,7 +305,7 @@
if(min<10) {
min = '0' + min
}
var chooseTime = `${+year}-${+month}-${+day} ${+hour}:${+min}`
var chooseTime = `${year}-${month}-${day} ${hour}:${min}`
this.chooseTimeValue = new Date(chooseTime.replace(/-/g,'/')).getTime()
if(chooseTime){
await this.choose(new Date(chooseTime).getTime())

Loading…
Cancel
Save