后台管理系统前端问题修改

This commit is contained in:
zhouzy062 2023-12-24 17:54:27 +08:00
parent 7f90455e05
commit 88dd16d839
12 changed files with 32 additions and 31 deletions

View File

@ -23,7 +23,7 @@ export function getTypeList(query) {
//修试后入库--列表 //修试后入库--列表
export function getRepairedList(data) { export function getRepairedList(data) {
return request({ return request({
url: '/sgzb-material/RepairTestInput/getRepairedList', url: '/material/RepairTestInput/getRepairedList',
method: 'get', method: 'get',
params: data params: data
}) })
@ -32,7 +32,7 @@ export function getRepairedList(data) {
//修试后入库--详情 //修试后入库--详情
export function getRepairedDetailList(data) { export function getRepairedDetailList(data) {
return request({ return request({
url: '/sgzb-material//RepairTestInput/getRepairedDetailList', url: '/material//RepairTestInput/getRepairedDetailList',
method: 'get', method: 'get',
params: data params: data
}) })
@ -40,7 +40,7 @@ export function getRepairedDetailList(data) {
//修试后入库--审核 //修试后入库--审核
export function inputByType(data) { export function inputByType(data) {
return request({ return request({
url: '/sgzb-material/RepairTestInput/inputByType', url: '/material/RepairTestInput/inputByType',
method: 'post', method: 'post',
data: data data: data
}) })

View File

@ -10,6 +10,7 @@
clearable clearable
size="small" size="small"
prefix-icon="el-icon-search" prefix-icon="el-icon-search"
@input="getUserList"
style="margin-bottom: 20px" style="margin-bottom: 20px"
/> />
</div> </div>

View File

@ -286,7 +286,6 @@ export default {
fileIds: this.fileIds.length > 0 ? this.fileIds : "", fileIds: this.fileIds.length > 0 ? this.fileIds : "",
scrapNum: 1, scrapNum: 1,
} }
this.fullscreenLoading = true this.fullscreenLoading = true
submitRepairApplyApi(params).then(res => { submitRepairApplyApi(params).then(res => {
if (res.code == 200) { if (res.code == 200) {
@ -320,7 +319,7 @@ export default {
companyId: this.companyId, companyId: this.companyId,
scrapReason: this.dynamicValidateFormTwo.scrapReason, scrapReason: this.dynamicValidateFormTwo.scrapReason,
scrapType: this.dynamicValidateFormTwo.scrapType, scrapType: this.dynamicValidateFormTwo.scrapType,
fileIds: this.fileIds, fileIds: this.fileIds.length > 0 ? this.fileIds : "",
scrapNum: this.dynamicValidateFormTwo.scrapNum, scrapNum: this.dynamicValidateFormTwo.scrapNum,
} }
this.fullscreenLoading = true this.fullscreenLoading = true

View File

@ -123,7 +123,7 @@
<el-row :gutter="10" class="mb8"> <el-row :gutter="10" class="mb8">
<el-col :span="1.5"> <el-col :span="1.5">
<el-button <el-button
:disabled="!checkResultOne" :disabled="!checkResultOne || multiple"
type="primary" type="primary"
plain plain
size="mini" size="mini"

View File

@ -126,8 +126,7 @@
plain plain
icon="el-icon-plus" icon="el-icon-plus"
size="mini" size="mini"
:disabled="!checkResultOne" :disabled="!checkResultOne&&multiple"
v-hasPermi="['store:labelType:add']"
@click="checkClick" @click="checkClick"
>批量审核</el-button >批量审核</el-button
> >
@ -139,7 +138,6 @@
icon="el-icon-download" icon="el-icon-download"
size="mini" size="mini"
@click="handleExport" @click="handleExport"
v-hasPermi="['store:labelType:export']"
>导出</el-button >导出</el-button
> >
</el-col> </el-col>
@ -358,7 +356,7 @@
<el-table-column <el-table-column
label="编码" label="编码"
align="center" align="center"
prop="dictName" prop="maCode"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> />
<el-table-column <el-table-column
@ -675,6 +673,8 @@ export default {
this.ids = selection.map(item => item.dictId) this.ids = selection.map(item => item.dictId)
this.single = selection.length != 1 this.single = selection.length != 1
this.multiple = !selection.length this.multiple = !selection.length
console.log(this.single)
console.log(this.multiple)
}, },
handleSee(row, type) { handleSee(row, type) {
this.dialogTitle = '查看' this.dialogTitle = '查看'

View File

@ -1,10 +1,10 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="80px"> <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="80px">
<el-form-item label="名称" prop="keyWord"> <el-form-item label="关键字" prop="keyWord">
<el-input <el-input
v-model="queryParams.keyWord" v-model="queryParams.keyWord"
placeholder="请输入名称" placeholder="请输入关键字"
clearable clearable
style="width: 240px" style="width: 240px"
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"

View File

@ -1,10 +1,10 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="80px"> <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="80px">
<el-form-item label="名称" prop="typeName"> <el-form-item label="关键字" prop="keyWord">
<el-input <el-input
v-model="queryParams.typeName" v-model="queryParams.keyWord"
placeholder="请输入名称" placeholder="请输入关键字"
clearable clearable
style="width: 240px" style="width: 240px"
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"

View File

@ -1,10 +1,10 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="80px"> <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="80px">
<el-form-item label="名称" prop="dictName"> <el-form-item label="关键字" prop="keyWord">
<el-input <el-input
v-model="queryParams.dictName" v-model="queryParams.keyWord"
placeholder="请输入名称" placeholder="请输入关键字"
clearable clearable
style="width: 240px" style="width: 240px"
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
@ -192,9 +192,7 @@ export default {
queryParams: { queryParams: {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
dictName: undefined, name: undefined,
dictType: undefined,
status: undefined
}, },
// //
form: {}, form: {},
@ -231,11 +229,11 @@ export default {
// //
reset() { reset() {
this.form = { this.form = {
dictId: undefined, // dictId: undefined,
dictName: undefined, // dictName: undefined,
dictType: undefined, // dictType: undefined,
status: "0", // status: "0",
remark: undefined // remark: undefined
}; };
this.resetForm("form"); this.resetForm("form");
}, },

View File

@ -9,6 +9,7 @@
placeholder="请输入人员名称" placeholder="请输入人员名称"
clearable clearable
size="small" size="small"
@input="getTree"
prefix-icon="el-icon-search" prefix-icon="el-icon-search"
style="margin-bottom: 20px" style="margin-bottom: 20px"
/> />
@ -427,7 +428,7 @@ export default {
}, },
/** 查询下拉树结构 */ /** 查询下拉树结构 */
getTree() { getTree() {
getMaUserList().then(response => { getMaUserList({userName:this.userName}).then(response => {
this.treeOptions = this.handleTree(response.data, "userId"); this.treeOptions = this.handleTree(response.data, "userId");
}); });
}, },

View File

@ -9,6 +9,7 @@
placeholder="请输入人员名称" placeholder="请输入人员名称"
clearable clearable
size="small" size="small"
@input="getTree"
prefix-icon="el-icon-search" prefix-icon="el-icon-search"
style="margin-bottom: 20px" style="margin-bottom: 20px"
/> />
@ -427,7 +428,7 @@ export default {
}, },
/** 查询下拉树结构 */ /** 查询下拉树结构 */
getTree() { getTree() {
getRepairerList().then(response => { getRepairerList({userName:this.userName}).then(response => {
this.treeOptions = this.handleTree(response.data, "userId"); this.treeOptions = this.handleTree(response.data, "userId");
}); });
}, },

View File

@ -357,7 +357,7 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="调整后价格"> <el-form-item label="调整后价格">
<el-input-number v-model="cform.leasePrice" style="width: 100%;" controls-position="right" :min="1" :max="1000"></el-input-number> <el-input-number v-model="cform.leasePrice" style="width: 100%;" controls-position="right" :min="0"></el-input-number>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -692,7 +692,8 @@ export default {
this.resetForm("cform"); this.resetForm("cform");
this.chosenTypeId = row.typeId; this.chosenTypeId = row.typeId;
this.leasePrice = row.leasePrice; this.leasePrice = row.leasePrice;
this.cform.leasePrice = row.leasePrice; // this.cform.leasePrice = row.leasePrice;
this.$set(this.cform,'leasePrice',row.leasePrice)
this.configOpen = true; this.configOpen = true;
this.title = "租赁价格调整" this.title = "租赁价格调整"
}, },

View File

@ -42,7 +42,7 @@ module.exports = {
// target: `http://10.40.92.102:8080`,//丁/ // target: `http://10.40.92.102:8080`,//丁/
// target: `http://10.40.92.126:8080`,//高 // target: `http://10.40.92.126:8080`,//高
// target: `http://10.40.92.104:8080`,//亮 // target: `http://10.40.92.104:8080`,//亮
// target: `http://10.40.92.209:8080`,//刘川 // target: `http://192.168.0.166:8080`,//刘川
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {