|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
<div class="app-container">
|
|
|
|
|
<!-- 搜索栏-->
|
|
|
|
|
<el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch"
|
|
|
|
|
:label-width=" locale ? '100px':'140px'">
|
|
|
|
|
:label-width=" locale ? '90px':'140px'">
|
|
|
|
|
<el-form-item :label="t('carQueue.carQueue.tyreFacCode')" prop="tyreFacCode">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="queryParams.tyreFacCode"
|
|
|
|
@ -247,14 +247,14 @@
|
|
|
|
|
|
|
|
|
|
<!-- 添加或修改岗位对话框 -->
|
|
|
|
|
<el-dialog :title="title" v-model="open" width="500px" append-to-body>
|
|
|
|
|
<el-form ref="postRef" :model="form" :rules="rules" :label-width=" locale ? '100px':'140px'">
|
|
|
|
|
<el-form ref="postRef" :model="form" :rules="rules" :label-width=" locale ? '90px':'140px'">
|
|
|
|
|
<el-form-item prop="id" v-if="false">
|
|
|
|
|
<el-input v-model="form.id"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item :label="t('carQueue.carQueue.tyreFacCode')" prop="tyreFacCode">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="form.tyreFacCode"
|
|
|
|
|
:placeholder=" t('common.pleaseEnter') + t('carQueue.carQueue.tyreFacCode')"/>
|
|
|
|
|
:placeholder="t('common.pleaseEnter') + t('carQueue.carQueue.tyreFacCode')"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item :label="t('carQueue.carQueue.companyCode')" prop="companyCode">
|
|
|
|
|
<el-input
|
|
|
|
@ -339,8 +339,8 @@
|
|
|
|
|
</el-form>
|
|
|
|
|
<template #footer>
|
|
|
|
|
<div class="dialog-footer">
|
|
|
|
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
|
|
|
<el-button type="primary" @click="submitForm">{{ t('option.ok') }}</el-button>
|
|
|
|
|
<el-button @click="cancel">{{ t('option.cancel') }}</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-dialog>
|
|
|
|
@ -511,13 +511,13 @@ function submitForm() {
|
|
|
|
|
if (valid) {
|
|
|
|
|
if (form.value.id != undefined) {
|
|
|
|
|
updateCarQueue(form.value).then(response => {
|
|
|
|
|
proxy.$modal.msgSuccess("修改成功");
|
|
|
|
|
proxy.$modal.msgSuccess(t('option.modificationSuccessful'));
|
|
|
|
|
open.value = false;
|
|
|
|
|
getList();
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
addCarQueue(form.value).then(response => {
|
|
|
|
|
proxy.$modal.msgSuccess("新增成功");
|
|
|
|
|
proxy.$modal.msgSuccess(t('option.addedSuccessfully'));
|
|
|
|
|
open.value = false;
|
|
|
|
|
getList();
|
|
|
|
|
});
|
|
|
|
@ -533,11 +533,10 @@ function handleDelete(row) {
|
|
|
|
|
return delCarQueue(postIds);
|
|
|
|
|
}).then(() => {
|
|
|
|
|
getList();
|
|
|
|
|
proxy.$modal.msgSuccess("删除成功");
|
|
|
|
|
proxy.$modal.msgSuccess(t('option.successfullyDeleted'));
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** 导出按钮操作 */
|
|
|
|
|
function handleExport() {
|
|
|
|
|
proxy.download("system/post/export", {
|
|
|
|
|