Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
shanyunduo.cheng
2021-12-02 17:30:41 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7e0600010cf48f29966df690cda62ea5cd2a3bdf
7e060001
1 parent
9ea12cd0
样式优化
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
12 deletions
src/layout/components/Sidebar/Logo.vue
src/views/allocationConfig/flightAllocConfig/info.vue
src/views/login.vue
src/layout/components/Sidebar/Logo.vue
View file @
7e06000
...
...
@@ -35,7 +35,7 @@ export default {
},
data() {
return {
title: '
FedEx
管理系统',
title: '
IMAC
管理系统',
logo: logoImg
}
}
...
...
src/views/allocationConfig/flightAllocConfig/info.vue
View file @
7e06000
<template>
<div style="margin: 40px">
<div style="margin: 40px"
v-loading="loading"
>
<el-form
ref="form"
:model="form"
...
...
@@ -62,21 +62,25 @@
<el-form-item label="件数">
<el-col :span="3">
<el-input v-model="form.minNumOfPieces"></el-input>
<!-- <el-input v-model="form.minNumOfPieces"></el-input> -->
<el-input-number v-model="form.minNumOfPieces == 0 ? form.minNumOfPieces = undefined : form.minNumOfPieces" :precision="0" :controls="false" style="width:100%"></el-input-number>
</el-col>
<el-col style="text-align: center" :span="1">-</el-col>
<el-col :span="3">
<el-input v-model="form.maxNumOfPieces"></el-input>
<!-- <el-input v-model="form.maxNumOfPieces"></el-input> -->
<el-input-number v-model="form.maxNumOfPieces == 0 ? form.maxNumOfPieces = undefined : form.maxNumOfPieces" :precision="0" :controls="false" style="width:100%"></el-input-number>
</el-col>
</el-form-item>
<el-form-item label="重量">
<el-col :span="3">
<el-input v-model="form.minWeight"></el-input>
<!-- <el-input v-model="form.minWeight"></el-input> -->
<el-input-number v-model="form.minWeight == 0 ? form.minWeight = undefined : form.minWeight" :precision="2" :controls="false" style="width:100%"></el-input-number>
</el-col>
<el-col style="text-align: center" :span="1">-</el-col>
<el-col :span="3">
<el-input v-model="form.maxWeight"></el-input>
<!-- <el-input v-model="form.maxWeight"></el-input> -->
<el-input-number v-model="form.maxWeight == 0 ? form.maxWeight = undefined : form.maxWeight" :precision="2" :controls="false" style="width:100%"></el-input-number>
</el-col>
</el-form-item>
...
...
@@ -166,6 +170,7 @@ export default {
subCategory: [],
disable: false,
btnLoading: false,
loading: true,
};
},
methods: {
...
...
@@ -183,11 +188,11 @@ export default {
this.formServiceCode = this.form.serviceCode;
this.formSubCategory = this.form.subCategory;
updateOrAddFlight(this.form).then((response) => {
if (response.code === 200){
if (response.code === 200)
{
this.$message({
message: '成功'
,
type: 'success'
});
message: "成功"
,
type: "success",
});
}
this.close();
});
...
...
@@ -196,7 +201,6 @@ export default {
this.form.serviceCode = this.formServiceCode;
this.form.subCategory = this.formSubCategory;
this.btnLoading = false;
},
close() {
this.$store.state.tagsView.visitedViews.splice(
...
...
@@ -239,7 +243,10 @@ export default {
info.serviceCode = info.serviceCode ? info.serviceCode.split(";") : [];
info.subCategory = info.subCategory ? info.subCategory.split(";") : [];
this.form = info;
this.loading = false;
});
} else {
this.loading = false;
}
},
};
...
...
src/views/login.vue
View file @
7e06000
<template>
<div class="login">
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
<h3 class="title">
FedEx
后台管理系统</h3>
<h3 class="title">
IMAC
后台管理系统</h3>
<el-form-item prop="username">
<el-input v-model="loginForm.username" type="text" auto-complete="off" placeholder="账号">
<svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
...
...
Please
register
or
login
to post a comment