提交 3eaf5d8a 编写于 作者: 刘英杰's avatar 刘英杰

V20240814 优化

上级 c2fc2a0c
.ivu-form-item[data-v-1bec365c]{padding-right:15px}.fileRow[data-v-1bec365c]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-1bec365c]{color:#ed4014}.fileRow .delIcon[data-v-1bec365c]:hover{color:#f16643;cursor:pointer}.demo-split[data-v-2077d7a0]{height:calc(100vh - 112px)}.demo-split .demo-split-pane-L[data-v-2077d7a0]{padding:10px;height:100%;background-color:#fff}.demo-split .demo-split-pane-R[data-v-2077d7a0]{padding-left:8px}
\ No newline at end of file
.ivu-form-item[data-v-e4e4b020]{padding-right:15px}.fileRow[data-v-e4e4b020]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-e4e4b020]{color:#ed4014}.fileRow .delIcon[data-v-e4e4b020]:hover{color:#f16643;cursor:pointer}.demo-split[data-v-2077d7a0]{height:calc(100vh - 112px)}.demo-split .demo-split-pane-L[data-v-2077d7a0]{padding:10px;height:100%;background-color:#fff}.demo-split .demo-split-pane-R[data-v-2077d7a0]{padding-left:8px}
\ No newline at end of file
.ivu-form-item[data-v-1bec365c]{padding-right:15px}.fileRow[data-v-1bec365c]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-1bec365c]{color:#ed4014}.fileRow .delIcon[data-v-1bec365c]:hover{color:#f16643;cursor:pointer}.searchDiv .ivu-form-item[data-v-45d49b8a]{margin-bottom:12px}.searchDiv .buttonCol[data-v-45d49b8a]{margin-left:auto;text-align:right}.searchDiv .buttonCol .ivu-btn[data-v-45d49b8a]{margin-left:8px}
\ No newline at end of file
.ivu-form-item[data-v-e4e4b020]{padding-right:15px}.fileRow[data-v-e4e4b020]{display:flex;justify-content:space-between;align-items:center}.fileRow .delIcon[data-v-e4e4b020]{color:#ed4014}.fileRow .delIcon[data-v-e4e4b020]:hover{color:#f16643;cursor:pointer}.searchDiv .ivu-form-item[data-v-45d49b8a]{margin-bottom:12px}.searchDiv .buttonCol[data-v-45d49b8a]{margin-left:auto;text-align:right}.searchDiv .buttonCol .ivu-btn[data-v-45d49b8a]{margin-left:8px}
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><title>值班管理</title><link href=css/chunk-vendors.cc1990b1.css rel=stylesheet><link href=css/app.a786022a.css rel=stylesheet></head><body><script src=/a/manager/identify/identify.js></script><noscript><strong>请开启 JavaScript 功能来使用 值班管理。</strong></noscript><div id=app></div><script src=js/chunk-vendors.9ae50470.js></script><script src=js/app.fb3ed01d.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><title>值班管理</title><link href=css/chunk-vendors.cc1990b1.css rel=stylesheet><link href=css/app.a786022a.css rel=stylesheet></head><body><script src=/a/manager/identify/identify.js></script><noscript><strong>请开启 JavaScript 功能来使用 值班管理。</strong></noscript><div id=app></div><script src=js/chunk-vendors.9ae50470.js></script><script src=js/app.d32d3ec8.js></script></body></html>
\ No newline at end of file
此差异已折叠。
此差异已折叠。
......@@ -113,10 +113,11 @@
style="width: 100%;min-height: 20px;display: flex;border-radius: 10px;padding: 5px;border:1px solid #6cb4fd;margin: 5px 0;">
<div style="width: 85%;height: 100%;background-color:#ffffff ;">
<div style="width: 100%;height: 50%;display: flex;align-items: center;line-height: 18px">
地址{{index+1}}:{{ item.address }}(范围:{{ item.offset }}米)
地址{{ index + 1 }}:{{ item.address }}(范围:{{ item.offset }}米)
</div>
</div>
<div style="width: 15%;height: 100%;display: flex;justify-content: center;align-items: center;cursor: pointer"
<div
style="width: 15%;height: 100%;display: flex;justify-content: center;align-items: center;cursor: pointer"
@click="()=>formData['attandence_area'].splice(index,1)">
<Icon color="#A3A3A3" size="20" type="md-close"/>
</div>
......@@ -132,7 +133,8 @@
{{ item.begin + '~' + item.end }}
</div>
</div>
<div style="width: 15%;height: 100%;display: flex;justify-content: center;align-items: center;cursor: pointer"
<div
style="width: 15%;height: 100%;display: flex;justify-content: center;align-items: center;cursor: pointer"
@click="()=>formData['sign_daytime'].splice(index,1)">
<Icon color="#A3A3A3" size="20" type="md-close"/>
</div>
......@@ -148,7 +150,8 @@
{{ item.begin + '~' + item.end }}
</div>
</div>
<div style="width: 15%;height: 100%;display: flex;justify-content: center;align-items: center;cursor: pointer"
<div
style="width: 15%;height: 100%;display: flex;justify-content: center;align-items: center;cursor: pointer"
@click="()=>formData['sign_night_time'].splice(index,1)">
<Icon color="#A3A3A3" size="20" type="md-close"/>
</div>
......@@ -158,7 +161,8 @@
</Col>
<!-- 文件类型 -->
<Col v-for="(item, index) in formItem.filter(a => a.type == 'file' && (!a.hasOwnProperty('show') || a.show))"
<Col
v-for="(item, index) in formItem.filter(a => a.type == 'file' && (!a.hasOwnProperty('show') || a.show))"
:key="item.id"
span="12">
<FormItem :label="item.name" :prop="item.name">
......@@ -215,7 +219,7 @@
<span v-if="item.type == 'area'">
<div v-for="(item,index) in formData['attandence_area']" v-if="formData['attandence_area'].length >0"
:key="index"
> 地址{{index+1}}:{{ item.address }}(范围:{{item.offset }}米) </div>
> 地址{{ index + 1 }}:{{ item.address }}(范围:{{ item.offset }}米) </div>
</span>
<!-- 存在问题:性别项,有时返回值为null,select的“不限”值为空字符串,会报错 -->
<span v-if="item.type == 'select'">
......@@ -412,7 +416,7 @@ export default {
this.formData[item] = []
},
onCleardatetimerange(event, item) {
console.log("🚀🚀event🚀,",event)
console.log("🚀🚀event🚀,", event)
//清空时间时触发 清空的时间应该是数组 才能触发 表单检验
this.formData[item] = []
},
......
......@@ -2,7 +2,7 @@
<!-- 权限管理 -->
<div>
<!-- 白天签到时间-->
<Modal v-model="daylightHours.show" title="白天签到时间" width="300">
<Modal v-model="daylightHours.show" title="白天签到时间" width="400">
<TimePicker
v-model="daylightHours.value"
format="HH:mm"
......@@ -22,7 +22,7 @@
</template>
</Modal>
<!-- 晚上签到时间-->
<Modal v-model="eveningTime.show" title="晚上签到时间" width="300">
<Modal v-model="eveningTime.show" title="晚上签到时间" width="400">
<TimePicker
v-model="eveningTime.value"
format="HH:mm"
......@@ -50,7 +50,7 @@
<template>
<iframe
id="mapPage"
:src="`https://apis.map.qq.com/tools/locpicker?search=1&type=1&key=ZNMBZ-NYOEO-WNMWL-SJF4C-MWKQT-KJB7W&referer=myapp`"
:src="`https://apis.map.qq.com/tools/locpicker?search=1&type=1&key=IZXBZ-OTAWV-XU7PV-5FAAL-F6VXH-7XBQP&referer=myapp`"
frameborder="0"
height="500px"
width="100%">
......@@ -129,7 +129,7 @@
@onReset="reset"
@onSubmit="search"></SearchCondForm>
<Button class="ivu-ml-8" type="primary" @click="add">
<Button class="ivu-ml-8" ghost type="primary" @click="add">
<Icon type="md-add"/>
新增
</Button>
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或