|
|
|
@ -319,28 +319,27 @@ const locale = (Cookies.get('language') || 'zh-cn') === 'zh-cn'
|
|
|
|
|
const {proxy} = getCurrentInstance();
|
|
|
|
|
const {sys_normal_disable} = proxy.useDict("sys_normal_disable");
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* postList 表格数据
|
|
|
|
|
* open 模态框开关标识
|
|
|
|
|
* loading 表格加载状态开关标识
|
|
|
|
|
* showSearch 搜索区域开关标识
|
|
|
|
|
* ids 选择行id
|
|
|
|
|
* single 修改按钮是否可用标识
|
|
|
|
|
* multiple 删除按钮是否可用标识
|
|
|
|
|
* total 总条数
|
|
|
|
|
* title 模态框标题
|
|
|
|
|
* */
|
|
|
|
|
|
|
|
|
|
// 表格数据
|
|
|
|
|
const postList = ref([]);
|
|
|
|
|
// 模态框开关标识
|
|
|
|
|
const open = ref(false);
|
|
|
|
|
// 表格加载状态开关标识
|
|
|
|
|
const loading = ref(true);
|
|
|
|
|
// 搜索区域开关标识
|
|
|
|
|
const showSearch = ref(true);
|
|
|
|
|
// 选择行id
|
|
|
|
|
const ids = ref([]);
|
|
|
|
|
// 修改按钮是否可用标识
|
|
|
|
|
const single = ref(true);
|
|
|
|
|
// 删除按钮是否可用标识
|
|
|
|
|
const multiple = ref(true);
|
|
|
|
|
// 总条数
|
|
|
|
|
const total = ref(0);
|
|
|
|
|
// 模态框标题
|
|
|
|
|
const title = ref("");
|
|
|
|
|
|
|
|
|
|
// 搜索参数
|
|
|
|
|
const queryParams = ref({
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
pageSize: 10,
|
|
|
|
@ -366,6 +365,7 @@ const queryParams = ref({
|
|
|
|
|
modifyName: null
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
// 表单验证规则
|
|
|
|
|
const rules = {
|
|
|
|
|
brand: [{required: true, message: "轮胎品牌不能为空", trigger: "blur"}],
|
|
|
|
|
type: [{required: true, message: "轮胎型号不能为空", trigger: "blur"}],
|
|
|
|
@ -373,6 +373,7 @@ const rules = {
|
|
|
|
|
depth: [{required: true, message: "花纹深度不能为空", trigger: "blur"}],
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 表单数据
|
|
|
|
|
const form = ref({});
|
|
|
|
|
|
|
|
|
|
/** 查询岗位列表 */
|
|
|
|
|