|
|
@ -1,140 +1,94 @@ |
|
|
<template> |
|
|
<template> |
|
|
<el-dialog |
|
|
<el-dialog v-model="showDialog" :title="formData.id ? t('updateSalary') : t('addSalary')" width="50%" class="diy-dialog-wrap" :destroy-on-close="true"> |
|
|
v-model="showDialog" |
|
|
<el-form :model="formData" label-width="120px" ref="formRef" :rules="formRules" class="page-form" v-loading="loading"> |
|
|
:title="formData.id ? t('updateSalary') : t('addSalary')" |
|
|
<el-form-item :label="t('staffId')" prop="staff_id"> |
|
|
width="50%" |
|
|
<el-select class="input-width" v-model="formData.staff_id" clearable :placeholder="t('staffIdPlaceholder')"> |
|
|
class="diy-dialog-wrap" |
|
|
<el-option label="请选择" value=""></el-option> |
|
|
:destroy-on-close="true" |
|
|
<el-option |
|
|
> |
|
|
v-for="(item, index) in staffIdList" |
|
|
<el-form |
|
|
:key="index" |
|
|
:model="formData" |
|
|
:label="item['name']" |
|
|
label-width="120px" |
|
|
:value="item['id']" |
|
|
ref="formRef" |
|
|
/> |
|
|
:rules="formRules" |
|
|
</el-select> |
|
|
class="page-form" |
|
|
</el-form-item> |
|
|
v-loading="loading" |
|
|
|
|
|
> |
|
|
<el-form-item :label="t('departmentId')" prop="department_id"> |
|
|
<el-form-item :label="t('staffId')" prop="staff_id"> |
|
|
<el-select class="input-width" v-model="formData.department_id" clearable :placeholder="t('departmentIdPlaceholder')"> |
|
|
<el-input |
|
|
<el-option label="请选择" value=""></el-option> |
|
|
v-model="formData.staff_id" |
|
|
<el-option |
|
|
clearable |
|
|
v-for="(item, index) in departmentIdList" |
|
|
:placeholder="t('staffIdPlaceholder')" |
|
|
:key="index" |
|
|
class="input-width" |
|
|
:label="item['department_name']" |
|
|
/> |
|
|
:value="item['id']" |
|
|
</el-form-item> |
|
|
/> |
|
|
|
|
|
</el-select> |
|
|
<el-form-item :label="t('baseSalary')" prop="base_salary"> |
|
|
</el-form-item> |
|
|
<el-input |
|
|
|
|
|
v-model="formData.base_salary" |
|
|
<el-form-item :label="t('baseSalary')" prop="base_salary"> |
|
|
clearable |
|
|
<el-input v-model="formData.base_salary" clearable :placeholder="t('baseSalaryPlaceholder')" class="input-width" /> |
|
|
:placeholder="t('baseSalaryPlaceholder')" |
|
|
</el-form-item> |
|
|
class="input-width" |
|
|
|
|
|
/> |
|
|
<el-form-item :label="t('performanceBonus')" prop="performance_bonus"> |
|
|
</el-form-item> |
|
|
<el-input v-model="formData.performance_bonus" clearable :placeholder="t('performanceBonusPlaceholder')" class="input-width" /> |
|
|
|
|
|
</el-form-item> |
|
|
<el-form-item :label="t('performanceBonus')" prop="performance_bonus"> |
|
|
|
|
|
<el-input |
|
|
<el-form-item :label="t('deductions')" prop="deductions"> |
|
|
v-model="formData.performance_bonus" |
|
|
<el-input v-model="formData.deductions" clearable :placeholder="t('deductionsPlaceholder')" class="input-width" /> |
|
|
clearable |
|
|
</el-form-item> |
|
|
:placeholder="t('performanceBonusPlaceholder')" |
|
|
|
|
|
class="input-width" |
|
|
<el-form-item :label="t('otherSubsidies')" prop="other_subsidies"> |
|
|
/> |
|
|
<el-input v-model="formData.other_subsidies" clearable :placeholder="t('otherSubsidiesPlaceholder')" class="input-width" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
<el-form-item :label="t('deductions')" prop="deductions"> |
|
|
<el-form-item :label="t('paymentStatus')" prop="payment_status"> |
|
|
<el-input |
|
|
<el-select class="input-width" v-model="formData.payment_status" clearable :placeholder="t('paymentStatusPlaceholder')"> |
|
|
v-model="formData.deductions" |
|
|
<el-option label="请选择" value=""></el-option> |
|
|
clearable |
|
|
<el-option |
|
|
:placeholder="t('deductionsPlaceholder')" |
|
|
v-for="(item, index) in payment_statusList" |
|
|
class="input-width" |
|
|
:key="index" |
|
|
/> |
|
|
:label="item.name" |
|
|
</el-form-item> |
|
|
:value="item.value" |
|
|
|
|
|
/> |
|
|
<el-form-item :label="t('otherSubsidies')"> |
|
|
</el-select> |
|
|
<el-input |
|
|
</el-form-item> |
|
|
v-model="formData.other_subsidies" |
|
|
|
|
|
clearable |
|
|
<el-form-item :label="t('paymentMethod')" prop="payment_method"> |
|
|
:placeholder="t('otherSubsidiesPlaceholder')" |
|
|
<el-select class="input-width" v-model="formData.payment_method" clearable :placeholder="t('paymentMethodPlaceholder')"> |
|
|
class="input-width" |
|
|
<el-option label="请选择" value=""></el-option> |
|
|
/> |
|
|
<el-option |
|
|
</el-form-item> |
|
|
v-for="(item, index) in payment_methodList" |
|
|
|
|
|
:key="index" |
|
|
<el-form-item :label="t('netSalary')"> |
|
|
:label="item.name" |
|
|
<el-input |
|
|
:value="item.value" |
|
|
v-model="formData.net_salary" |
|
|
/> |
|
|
clearable |
|
|
</el-select> |
|
|
:placeholder="t('netSalaryPlaceholder')" |
|
|
</el-form-item> |
|
|
class="input-width" |
|
|
|
|
|
/> |
|
|
<el-form-item :label="t('remarks')" > |
|
|
</el-form-item> |
|
|
<el-input v-model="formData.remarks" type="textarea" rows="4" clearable :placeholder="t('remarksPlaceholder')" class="input-width"/> |
|
|
|
|
|
</el-form-item> |
|
|
<el-form-item :label="t('paymentStatus')" prop="payment_status"> |
|
|
<el-form-item :label="t('salaryMonth')" prop="salary_month" class="input-width"> |
|
|
<el-input |
|
|
<el-date-picker |
|
|
v-model="formData.payment_status" |
|
|
class="flex-1 !flex" |
|
|
clearable |
|
|
v-model="formData.salary_month" |
|
|
:placeholder="t('paymentStatusPlaceholder')" |
|
|
clearable |
|
|
class="input-width" |
|
|
type="date" |
|
|
/> |
|
|
value-format="YYYY-MM-DD" |
|
|
</el-form-item> |
|
|
:placeholder="t('salaryMonthPlaceholder')"> |
|
|
|
|
|
</el-date-picker> |
|
|
<el-form-item :label="t('paymentMethod')"> |
|
|
</el-form-item> |
|
|
<el-input |
|
|
</el-form> |
|
|
v-model="formData.payment_method" |
|
|
|
|
|
clearable |
|
|
<template #footer> |
|
|
:placeholder="t('paymentMethodPlaceholder')" |
|
|
<span class="dialog-footer"> |
|
|
class="input-width" |
|
|
<el-button @click="showDialog = false">{{ t('cancel') }}</el-button> |
|
|
/> |
|
|
<el-button type="primary" :loading="loading" @click="confirm(formRef)">{{ |
|
|
</el-form-item> |
|
|
t('confirm') |
|
|
|
|
|
}}</el-button> |
|
|
<el-form-item :label="t('remarks')"> |
|
|
</span> |
|
|
<el-input |
|
|
</template> |
|
|
v-model="formData.remarks" |
|
|
</el-dialog> |
|
|
clearable |
|
|
|
|
|
:placeholder="t('remarksPlaceholder')" |
|
|
|
|
|
class="input-width" |
|
|
|
|
|
/> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
<el-form-item :label="t('salaryMonth')" prop="salary_month"> |
|
|
|
|
|
<el-input |
|
|
|
|
|
v-model="formData.salary_month" |
|
|
|
|
|
clearable |
|
|
|
|
|
:placeholder="t('salaryMonthPlaceholder')" |
|
|
|
|
|
class="input-width" |
|
|
|
|
|
/> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
<el-form-item :label="t('departmentId')"> |
|
|
|
|
|
<el-input |
|
|
|
|
|
v-model="formData.department_id" |
|
|
|
|
|
clearable |
|
|
|
|
|
:placeholder="t('departmentIdPlaceholder')" |
|
|
|
|
|
class="input-width" |
|
|
|
|
|
/> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
<el-form-item :label="t('processId')"> |
|
|
|
|
|
<el-input |
|
|
|
|
|
v-model="formData.process_id" |
|
|
|
|
|
clearable |
|
|
|
|
|
:placeholder="t('processIdPlaceholder')" |
|
|
|
|
|
class="input-width" |
|
|
|
|
|
/> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
</el-form> |
|
|
|
|
|
|
|
|
|
|
|
<template #footer> |
|
|
|
|
|
<span class="dialog-footer"> |
|
|
|
|
|
<el-button @click="showDialog = false">{{ t('cancel') }}</el-button> |
|
|
|
|
|
<el-button |
|
|
|
|
|
type="primary" |
|
|
|
|
|
:loading="loading" |
|
|
|
|
|
@click="confirm(formRef)" |
|
|
|
|
|
>{{ t('confirm') }}</el-button |
|
|
|
|
|
> |
|
|
|
|
|
</span> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-dialog> |
|
|
|
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script lang="ts" setup> |
|
|
<script lang="ts" setup> |
|
|
@ -142,7 +96,7 @@ import { ref, reactive, computed, watch } from 'vue' |
|
|
import { useDictionary } from '@/app/api/dict' |
|
|
import { useDictionary } from '@/app/api/dict' |
|
|
import { t } from '@/lang' |
|
|
import { t } from '@/lang' |
|
|
import type { FormInstance } from 'element-plus' |
|
|
import type { FormInstance } from 'element-plus' |
|
|
import { addSalary, editSalary, getSalaryInfo } from '@/app/api/salary' |
|
|
import { addSalary, editSalary, getSalaryInfo, getWithPersonnelList, getWithDepartmentsList } from '@/app/api/salary' |
|
|
|
|
|
|
|
|
let showDialog = ref(false) |
|
|
let showDialog = ref(false) |
|
|
const loading = ref(false) |
|
|
const loading = ref(false) |
|
|
@ -151,19 +105,17 @@ const loading = ref(false) |
|
|
* 表单数据 |
|
|
* 表单数据 |
|
|
*/ |
|
|
*/ |
|
|
const initialFormData = { |
|
|
const initialFormData = { |
|
|
id: '', |
|
|
id: '', |
|
|
staff_id: '', |
|
|
staff_id: '', |
|
|
base_salary: '', |
|
|
department_id: '', |
|
|
performance_bonus: '', |
|
|
base_salary: '', |
|
|
deductions: '', |
|
|
performance_bonus: '', |
|
|
other_subsidies: '', |
|
|
deductions: '', |
|
|
net_salary: '', |
|
|
other_subsidies: '', |
|
|
payment_status: '', |
|
|
payment_status: '', |
|
|
payment_method: '', |
|
|
payment_method: '', |
|
|
remarks: '', |
|
|
remarks: '', |
|
|
salary_month: '', |
|
|
salary_month: '', |
|
|
department_id: '', |
|
|
|
|
|
process_id: '', |
|
|
|
|
|
} |
|
|
} |
|
|
const formData: Record<string, any> = reactive({ ...initialFormData }) |
|
|
const formData: Record<string, any> = reactive({ ...initialFormData }) |
|
|
|
|
|
|
|
|
@ -171,64 +123,58 @@ const formRef = ref<FormInstance>() |
|
|
|
|
|
|
|
|
// 表单验证规则 |
|
|
// 表单验证规则 |
|
|
const formRules = computed(() => { |
|
|
const formRules = computed(() => { |
|
|
return { |
|
|
return { |
|
|
staff_id: [ |
|
|
staff_id: [ |
|
|
{ required: true, message: t('staffIdPlaceholder'), trigger: 'blur' }, |
|
|
{ required: true, message: t('staffIdPlaceholder'), trigger: 'blur' }, |
|
|
], |
|
|
|
|
|
|
|
|
] |
|
|
|
|
|
, |
|
|
|
|
|
department_id: [ |
|
|
|
|
|
{ required: true, message: t('departmentIdPlaceholder'), trigger: 'blur' }, |
|
|
|
|
|
|
|
|
|
|
|
] |
|
|
|
|
|
, |
|
|
base_salary: [ |
|
|
base_salary: [ |
|
|
{ required: true, message: t('baseSalaryPlaceholder'), trigger: 'blur' }, |
|
|
{ required: true, message: t('baseSalaryPlaceholder'), trigger: 'blur' }, |
|
|
], |
|
|
|
|
|
|
|
|
] |
|
|
|
|
|
, |
|
|
performance_bonus: [ |
|
|
performance_bonus: [ |
|
|
{ |
|
|
{ required: true, message: t('performanceBonusPlaceholder'), trigger: 'blur' }, |
|
|
required: true, |
|
|
|
|
|
message: t('performanceBonusPlaceholder'), |
|
|
] |
|
|
trigger: 'blur', |
|
|
, |
|
|
}, |
|
|
|
|
|
], |
|
|
|
|
|
deductions: [ |
|
|
deductions: [ |
|
|
{ required: true, message: t('deductionsPlaceholder'), trigger: 'blur' }, |
|
|
{ required: true, message: t('deductionsPlaceholder'), trigger: 'blur' }, |
|
|
], |
|
|
|
|
|
|
|
|
] |
|
|
|
|
|
, |
|
|
other_subsidies: [ |
|
|
other_subsidies: [ |
|
|
{ |
|
|
{ required: true, message: t('otherSubsidiesPlaceholder'), trigger: 'blur' }, |
|
|
required: true, |
|
|
|
|
|
message: t('otherSubsidiesPlaceholder'), |
|
|
] |
|
|
trigger: 'blur', |
|
|
, |
|
|
}, |
|
|
|
|
|
], |
|
|
|
|
|
net_salary: [ |
|
|
|
|
|
{ required: true, message: t('netSalaryPlaceholder'), trigger: 'blur' }, |
|
|
|
|
|
], |
|
|
|
|
|
payment_status: [ |
|
|
payment_status: [ |
|
|
{ |
|
|
{ required: true, message: t('paymentStatusPlaceholder'), trigger: 'blur' }, |
|
|
required: true, |
|
|
|
|
|
message: t('paymentStatusPlaceholder'), |
|
|
] |
|
|
trigger: 'blur', |
|
|
, |
|
|
}, |
|
|
|
|
|
], |
|
|
|
|
|
payment_method: [ |
|
|
payment_method: [ |
|
|
{ |
|
|
{ required: true, message: t('paymentMethodPlaceholder'), trigger: 'blur' }, |
|
|
required: true, |
|
|
|
|
|
message: t('paymentMethodPlaceholder'), |
|
|
] |
|
|
trigger: 'blur', |
|
|
, |
|
|
}, |
|
|
|
|
|
], |
|
|
|
|
|
remarks: [ |
|
|
remarks: [ |
|
|
{ required: true, message: t('remarksPlaceholder'), trigger: 'blur' }, |
|
|
{ required: true, message: t('remarksPlaceholder'), trigger: 'blur' }, |
|
|
], |
|
|
|
|
|
|
|
|
] |
|
|
|
|
|
, |
|
|
salary_month: [ |
|
|
salary_month: [ |
|
|
{ required: true, message: t('salaryMonthPlaceholder'), trigger: 'blur' }, |
|
|
{ required: true, message: t('salaryMonthPlaceholder'), trigger: 'blur' }, |
|
|
], |
|
|
|
|
|
department_id: [ |
|
|
] |
|
|
{ |
|
|
, |
|
|
required: true, |
|
|
} |
|
|
message: t('departmentIdPlaceholder'), |
|
|
|
|
|
trigger: 'blur', |
|
|
|
|
|
}, |
|
|
|
|
|
], |
|
|
|
|
|
process_id: [ |
|
|
|
|
|
{ required: true, message: t('processIdPlaceholder'), trigger: 'blur' }, |
|
|
|
|
|
], |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
const emit = defineEmits(['complete']) |
|
|
const emit = defineEmits(['complete']) |
|
|
@ -238,93 +184,108 @@ const emit = defineEmits(['complete']) |
|
|
* @param formEl |
|
|
* @param formEl |
|
|
*/ |
|
|
*/ |
|
|
const confirm = async (formEl: FormInstance | undefined) => { |
|
|
const confirm = async (formEl: FormInstance | undefined) => { |
|
|
if (loading.value || !formEl) return |
|
|
if (loading.value || !formEl) return |
|
|
let save = formData.id ? editSalary : addSalary |
|
|
let save = formData.id ? editSalary : addSalary |
|
|
|
|
|
|
|
|
await formEl.validate(async (valid) => { |
|
|
await formEl.validate(async (valid) => { |
|
|
if (valid) { |
|
|
if (valid) { |
|
|
loading.value = true |
|
|
loading.value = true |
|
|
|
|
|
|
|
|
let data = formData |
|
|
let data = formData |
|
|
|
|
|
|
|
|
save(data) |
|
|
save(data).then(res => { |
|
|
.then((res) => { |
|
|
loading.value = false |
|
|
loading.value = false |
|
|
showDialog.value = false |
|
|
showDialog.value = false |
|
|
emit('complete') |
|
|
emit('complete') |
|
|
}).catch(err => { |
|
|
}) |
|
|
loading.value = false |
|
|
.catch((err) => { |
|
|
}) |
|
|
loading.value = false |
|
|
} |
|
|
}) |
|
|
}) |
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// 获取字典数据 |
|
|
// 获取字典数据 |
|
|
|
|
|
let payment_statusList = ref([]) |
|
|
|
|
|
const payment_statusDictList = async () => { |
|
|
|
|
|
payment_statusList.value = await (await useDictionary('payment_status')).data.dictionary |
|
|
|
|
|
} |
|
|
|
|
|
payment_statusDictList(); |
|
|
|
|
|
watch(() => payment_statusList.value, () => { formData.payment_status = payment_statusList.value[0].value }) |
|
|
|
|
|
let payment_methodList = ref([]) |
|
|
|
|
|
const payment_methodDictList = async () => { |
|
|
|
|
|
payment_methodList.value = await (await useDictionary('payment_method')).data.dictionary |
|
|
|
|
|
} |
|
|
|
|
|
payment_methodDictList(); |
|
|
|
|
|
watch(() => payment_methodList.value, () => { formData.payment_method = payment_methodList.value[0].value }) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const staffIdList = ref([] as any[]) |
|
|
|
|
|
const setStaffIdList = async () => { |
|
|
|
|
|
staffIdList.value = await (await getWithPersonnelList({})).data |
|
|
|
|
|
} |
|
|
|
|
|
setStaffIdList() |
|
|
|
|
|
const departmentIdList = ref([] as any[]) |
|
|
|
|
|
const setDepartmentIdList = async () => { |
|
|
|
|
|
departmentIdList.value = await (await getWithDepartmentsList({})).data |
|
|
|
|
|
} |
|
|
|
|
|
setDepartmentIdList() |
|
|
const setFormData = async (row: any = null) => { |
|
|
const setFormData = async (row: any = null) => { |
|
|
Object.assign(formData, initialFormData) |
|
|
Object.assign(formData, initialFormData) |
|
|
loading.value = true |
|
|
loading.value = true |
|
|
if (row) { |
|
|
if(row){ |
|
|
const data = await (await getSalaryInfo(row.id)).data |
|
|
const data = await (await getSalaryInfo(row.id)).data |
|
|
if (data) |
|
|
if (data) Object.keys(formData).forEach((key: string) => { |
|
|
Object.keys(formData).forEach((key: string) => { |
|
|
if (data[key] != undefined) formData[key] = data[key] |
|
|
if (data[key] != undefined) formData[key] = data[key] |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
loading.value = false |
|
|
loading.value = false |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// 验证手机号格式 |
|
|
// 验证手机号格式 |
|
|
const mobileVerify = (rule: any, value: any, callback: any) => { |
|
|
const mobileVerify = (rule: any, value: any, callback: any) => { |
|
|
if (value && !/^1[3-9]\d{9}$/.test(value)) { |
|
|
if (value && !/^1[3-9]\d{9}$/.test(value)) { |
|
|
callback(new Error(t('generateMobile'))) |
|
|
callback(new Error(t('generateMobile'))) |
|
|
} else { |
|
|
} else { |
|
|
callback() |
|
|
callback() |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// 验证身份证号 |
|
|
// 验证身份证号 |
|
|
const idCardVerify = (rule: any, value: any, callback: any) => { |
|
|
const idCardVerify = (rule: any, value: any, callback: any) => { |
|
|
if ( |
|
|
if (value && !/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(value)) { |
|
|
value && |
|
|
callback(new Error(t('generateIdCard'))) |
|
|
!/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test( |
|
|
} else { |
|
|
value |
|
|
callback() |
|
|
) |
|
|
} |
|
|
) { |
|
|
|
|
|
callback(new Error(t('generateIdCard'))) |
|
|
|
|
|
} else { |
|
|
|
|
|
callback() |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// 验证邮箱号 |
|
|
// 验证邮箱号 |
|
|
const emailVerify = (rule: any, value: any, callback: any) => { |
|
|
const emailVerify = (rule: any, value: any, callback: any) => { |
|
|
if (value && !/\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/.test(value)) { |
|
|
if (value && !/\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/.test(value)) { |
|
|
callback(new Error(t('generateEmail'))) |
|
|
callback(new Error(t('generateEmail'))) |
|
|
} else { |
|
|
} else { |
|
|
callback() |
|
|
callback() |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// 验证请输入整数 |
|
|
// 验证请输入整数 |
|
|
const numberVerify = (rule: any, value: any, callback: any) => { |
|
|
const numberVerify = (rule: any, value: any, callback: any) => { |
|
|
if (!Number.isInteger(value)) { |
|
|
if (!Number.isInteger(value)) { |
|
|
callback(new Error(t('generateNumber'))) |
|
|
callback(new Error(t('generateNumber'))) |
|
|
} else { |
|
|
} else { |
|
|
callback() |
|
|
callback() |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
defineExpose({ |
|
|
defineExpose({ |
|
|
showDialog, |
|
|
showDialog, |
|
|
setFormData, |
|
|
setFormData |
|
|
}) |
|
|
}) |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
<style lang="scss" scoped></style> |
|
|
<style lang="scss" scoped></style> |
|
|
<style lang="scss"> |
|
|
<style lang="scss"> |
|
|
.diy-dialog-wrap .el-form-item__label { |
|
|
.diy-dialog-wrap .el-form-item__label{ |
|
|
height: auto !important; |
|
|
height: auto !important; |
|
|
} |
|
|
} |
|
|
</style> |
|
|
</style> |
|
|
|