Commit f79510d0 by yuzhenWang

客户资料去除姓名必填

parent 343dd8b7
...@@ -92,7 +92,7 @@ const customer = [ ...@@ -92,7 +92,7 @@ const customer = [
unit: '历史客户', unit: '历史客户',
unitColor: 'rgba(0, 82, 217, 1)', unitColor: 'rgba(0, 82, 217, 1)',
inputType: 'text', inputType: 'text',
required: true, required: false,
maxLength: 30, maxLength: 30,
disabled: false, disabled: false,
placeholder: '请输入2~6位汉字', placeholder: '请输入2~6位汉字',
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<el-form :model="queryParams" ref="queryRef" label-width="100px" label-position="top"> <el-form :model="queryParams" ref="queryRef" label-width="100px" label-position="top">
<el-row :gutter="30"> <el-row :gutter="30">
<el-col :sm="12" :lg="8" :xs="24"> <el-col :sm="12" :lg="8" :xs="24">
<el-form-item label="确认预约时间"> <el-form-item label="签单日">
<el-date-picker <el-date-picker
v-model="dateRange" v-model="dateRange"
value-format="YYYY-MM-DD" value-format="YYYY-MM-DD"
...@@ -26,6 +26,23 @@ ...@@ -26,6 +26,23 @@
end-placeholder="结束日期" end-placeholder="结束日期"
@clear="clearDate" @clear="clearDate"
></el-date-picker> ></el-date-picker>
<!-- <div class="timeBox">
<el-date-picker
v-model="queryParams.date1"
type="date"
aria-label="Pick a date"
placeholder="开始日期"
style="width: 47%"
/>
<span style="margin: 10px">-</span>
<el-date-picker
v-model="queryParams.date1"
type="date"
aria-label="Pick a date"
placeholder="结束日期"
style="width: 47%"
/>
</div> -->
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :sm="12" :lg="8" :xs="24"> <el-col :sm="12" :lg="8" :xs="24">
...@@ -71,11 +88,13 @@ ...@@ -71,11 +88,13 @@
width="200" width="200"
fixed="left" fixed="left"
> >
<template #default="scope"> <template #default="scope">
<el-button link size="default"> <el-button link size="default">
<span @click="copyToClipboard(scope.row.appointmentNo,'预约编号')">{{ scope.row.appointmentNo }}</span> <span @click="copyToClipboard(scope.row.appointmentNo, '预约编号')">{{
scope.row.appointmentNo
}}</span>
</el-button> </el-button>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="预约状态" align="center" prop="status" fixed="left" width="100"> <el-table-column label="预约状态" align="center" prop="status" fixed="left" width="100">
<template #default="scope"> <template #default="scope">
...@@ -213,7 +232,7 @@ import { ...@@ -213,7 +232,7 @@ import {
getItineraryExprot getItineraryExprot
} from '@/api/sign/appointment' } from '@/api/sign/appointment'
import useUserStore from '@/store/modules/user' import useUserStore from '@/store/modules/user'
import {copyToClipboard} from '@/utils/copyToClipboard' import { copyToClipboard } from '@/utils/copyToClipboard'
const dictStore = useDictStore() const dictStore = useDictStore()
const userStore = useUserStore() const userStore = useUserStore()
const router = useRouter() const router = useRouter()
...@@ -588,7 +607,6 @@ function handleUpdate(row, type) { ...@@ -588,7 +607,6 @@ function handleUpdate(row, type) {
} }
getList() getList()
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.app-container { .app-container {
...@@ -646,5 +664,12 @@ getList() ...@@ -646,5 +664,12 @@ getList()
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.timeBox {
display: flex;
width: 100%;
box-sizing: border-box;
align-items: center;
font-size: 0; /* 移除空格影响 */
}
} }
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment