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