|
|
@ -66,25 +66,36 @@ |
|
|
|
<GroupFormBtns @cancel="cancelClick" @confirm="submitForm('siteForm')" /> |
|
|
|
</div> |
|
|
|
<div class="siteMessage flex-common" id="siteMessage2"> |
|
|
|
<p class="littleTitle mb32">出诊时间</p> |
|
|
|
<el-form :model="siteForm1" :rules="siteFormrules1" ref="siteForm1"> |
|
|
|
<p class="littleTitle mb32">初诊审批</p> |
|
|
|
<el-form :model="siteForm2" :rules="siteFormrules2" ref="siteForm2"> |
|
|
|
<div class="flex-wrap"> |
|
|
|
<div class="flex-left"> |
|
|
|
|
|
|
|
<GuipRadio v-model="siteForm2.isApprove" class="mb12" column="column" :options="groupOptions" |
|
|
|
label="初诊是否审批" required prop="isApprove" @change="radioChange" /> |
|
|
|
<GuipInput ref="GuipInput" column="column" label="审批人电话" desc="审批人电话、微信,至少填写一项" |
|
|
|
v-model="siteForm2.phone" prop="phone" placeholder="请输入" /> |
|
|
|
</div> |
|
|
|
<div class="flex-line"></div> |
|
|
|
<div class="flex-right"> |
|
|
|
<GuipFormItem column="column" label="每周出诊安排" :required="true"> |
|
|
|
<div class="flex weekPlan" slot="formDom"> |
|
|
|
<GuipSelect v-for="[key] in Object.entries(weekPlan)" :key="key" v-model="weekPlan[key]" |
|
|
|
:options="options_weekPlan" @change="weekChange()" :label="key" placeholder="休息"> |
|
|
|
</GuipSelect> |
|
|
|
<GuipFormItem column="column" label="审批人微信" > |
|
|
|
<span class="desc" slot="formRight">审批人电话、微信,至少填写一项</span> |
|
|
|
<div class="qqCode-wrap right" slot="formDom"> |
|
|
|
<el-upload class="avatar-uploader upload-demo" accept=".jpg,.png" :multiple="false" |
|
|
|
action="https://jsonplaceholder.typicode.com/posts/" |
|
|
|
:on-preview="handlePreview" :on-remove="handleRemove" |
|
|
|
:on-success="handleAvatarSuccess" :before-upload="beforeAvatarUpload"> |
|
|
|
<hover-button button-text="微信二维码" |
|
|
|
:default-icon="require('../assets/upLoad_grey.svg')" |
|
|
|
:hover-icon="require('../assets/upLoad_active.svg')" |
|
|
|
default-text-color="#23242B" hover-text-color="#006AFF" @click="btnClick" /> |
|
|
|
<div slot="tip" class="el-upload__tip desc">审批人微信二维码,大小2M以内</div> |
|
|
|
</el-upload> |
|
|
|
</div> |
|
|
|
</GuipFormItem> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-form> |
|
|
|
<GroupFormBtns @cancel="cancelClick" @confirm="submitForm('siteForm1')" /> |
|
|
|
<GroupFormBtns @cancel="cancelClick" @confirm="submitForm('siteForm2')" /> |
|
|
|
</div> |
|
|
|
<div class="siteMessage flex-common" id="siteMessage3"> |
|
|
|
<p class="littleTitle mb32">出诊时间</p> |
|
|
@ -230,8 +241,8 @@ |
|
|
|
<div class="selectAllTable-wrap flex-between mt32 mb32"> |
|
|
|
<div class="left flex"> |
|
|
|
<div class="checkboxAll"> |
|
|
|
<el-checkbox @change="handleSelectAllChange1" v-model="selectAll" |
|
|
|
:indeterminate="isIndeterminate">全选</el-checkbox> |
|
|
|
<el-checkbox @change="handleSelectAllChange1" v-model="selectAll1" |
|
|
|
:indeterminate="isIndeterminate1">全选</el-checkbox> |
|
|
|
</div> |
|
|
|
<span class="totalCount">共{{ courseList.length }}条,已选{{ selectedCount }}条</span> |
|
|
|
<GuipButton type="ignore" :btnstyle="{ width: '99px', height: '32px', margin: '0 26px' }" |
|
|
@ -297,6 +308,9 @@ import GuipSelect from '@/components/GuipSelect.vue'; |
|
|
|
import GuipSwitch from '@/components/GuipSwitch.vue'; |
|
|
|
import GuipTable from '@/components/GuipTable.vue'; |
|
|
|
import GuipDialog from '@/components/GuipDialog.vue'; |
|
|
|
import GuipRadio from '@/components/GuipRadio.vue'; |
|
|
|
import HoverButton from '@/components/HoverButton.vue'; |
|
|
|
|
|
|
|
export default { |
|
|
|
// 站点设置 |
|
|
|
name: '', |
|
|
@ -307,20 +321,22 @@ export default { |
|
|
|
BatchProject, |
|
|
|
GuipButton, |
|
|
|
GuipDialog, |
|
|
|
GuipRadio, |
|
|
|
GuipInput, |
|
|
|
GuipTable, |
|
|
|
GuipSwitch, |
|
|
|
GuipSelect, |
|
|
|
GuipTextarea, |
|
|
|
GroupFormBtns |
|
|
|
GroupFormBtns, |
|
|
|
HoverButton |
|
|
|
|
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
doctorId:'', |
|
|
|
doctorId: '', |
|
|
|
dialogType: '1', |
|
|
|
dialogVisible: false, |
|
|
|
dialogVisible1: true, |
|
|
|
dialogVisible1: false, |
|
|
|
form1: { |
|
|
|
projectName: '' |
|
|
|
}, |
|
|
@ -338,6 +354,10 @@ export default { |
|
|
|
isIndeterminate1: false, |
|
|
|
projectSearchId: '', |
|
|
|
projectSearchName: '', |
|
|
|
groupOptions: [ |
|
|
|
{ label: '需审批', value: '1' }, |
|
|
|
{ label: '不需审批', value: '2' }, |
|
|
|
], |
|
|
|
projectList: [ |
|
|
|
{ |
|
|
|
name: '针灸', |
|
|
@ -500,8 +520,13 @@ export default { |
|
|
|
domain_source: '平台免费域名', |
|
|
|
}, |
|
|
|
siteForm2: { |
|
|
|
zhifubao_pay: '', |
|
|
|
weixin_pay: '', |
|
|
|
isApprove: '', |
|
|
|
phone: '' |
|
|
|
}, |
|
|
|
siteFormrules2: { |
|
|
|
isApprove: [ |
|
|
|
{ required: true, message: '请选择初诊审批设置', trigger: ['change','blur' ]} |
|
|
|
] |
|
|
|
}, |
|
|
|
siteFormrules1: { |
|
|
|
domain_source: [ |
|
|
@ -755,6 +780,9 @@ export default { |
|
|
|
domain_radioChange(type) { |
|
|
|
console.log(type, '--'); |
|
|
|
}, |
|
|
|
radioChange(data) { |
|
|
|
console.log(data, 'radio--data'); |
|
|
|
}, |
|
|
|
onSwitchChange(data) { |
|
|
|
console.log(data, '---'); |
|
|
|
}, |
|
|
|