Commit 0699494a authored by dzx's avatar dzx

Merge branch 'dev' into 'master'

Dev

See merge request !6
parents af4b6cd2 2920882c
public/favicon.ico

66.1 KB | W: | H:

public/favicon.ico

4.19 KB | W: | H:

public/favicon.ico
public/favicon.ico
public/favicon.ico
public/favicon.ico
  • 2-up
  • Swipe
  • Onion skin
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
v-if="!disabled" v-if="!disabled"
slot="suffix" slot="suffix"
class="el-input__icon el-icon-search" class="el-input__icon el-icon-search"
style="color : #a22796"
@click="createLovTable" @click="createLovTable"
/> />
</el-input> </el-input>
...@@ -319,4 +320,7 @@ export default { ...@@ -319,4 +320,7 @@ export default {
padding: 16px 20px; padding: 16px 20px;
} }
} }
.el-input__icon {
color: #a22796;
}
</style> </style>
module.exports = { module.exports = {
title: 'Vue Element Admin', title: '客户关系管理系统',
/** /**
* @type {boolean} true | false * @type {boolean} true | false
......
...@@ -35,17 +35,20 @@ const tableConfig = { ...@@ -35,17 +35,20 @@ const tableConfig = {
showInSearch: true, showInSearch: true,
}, },
ExtCorporateName_SDK: { ExtCorporateName_SDK: {
label: '法定人代表', label: '法定代表人',
type: 'input' type: 'input'
}, },
ExtSocialUnifiedCreditCode_SDK: { ExtSocialUnifiedCreditCode_SDK: {
label: '统一社会信用代码', label: '统一社会信用代码',
type: 'input' type: 'input'
}, },
CreationOn: { CreationOn: {
label: '注册时间', label: '注册时间',
type: 'input' type: 'input',
// layout: 12,
// attrs: {
// format: "yyyy-MM-dd"
// }
}, },
// Ext_QuoteOppotunity_KUT: { // Ext_QuoteOppotunity_KUT: {
// type: 'input', // type: 'input',
......
...@@ -19,7 +19,7 @@ const tableConfig = { ...@@ -19,7 +19,7 @@ const tableConfig = {
showInSearch: true, showInSearch: true,
}, },
ExtCorporateName_SDK: { ExtCorporateName_SDK: {
label: '法定人代表', label: '法定代表人',
type: 'input' type: 'input'
}, },
ExtSocialUnifiedCreditCode_SDK: { ExtSocialUnifiedCreditCode_SDK: {
...@@ -29,7 +29,10 @@ const tableConfig = { ...@@ -29,7 +29,10 @@ const tableConfig = {
CreationOn: { CreationOn: {
label: '注册时间', label: '注册时间',
type: 'input' type: 'input',
// attrs: {
// format: "yyyy-MM-dd"
// }
}, },
// Ext_QuoteOppotunity_KUT: { // Ext_QuoteOppotunity_KUT: {
// type: 'input', // type: 'input',
......
...@@ -53,7 +53,7 @@ const tableConfig = { ...@@ -53,7 +53,7 @@ const tableConfig = {
type: 'input' type: 'input'
}, },
ExtCorporateName_SDK: { ExtCorporateName_SDK: {
label: '法定人代表', label: '法定代表人',
type: 'input' type: 'input'
}, },
ExtSocialUnifiedCreditCode_SDK: { ExtSocialUnifiedCreditCode_SDK: {
...@@ -63,7 +63,11 @@ const tableConfig = { ...@@ -63,7 +63,11 @@ const tableConfig = {
CreationOn: { CreationOn: {
label: '注册时间', label: '注册时间',
type: 'input' type: 'input',
// layout: 12,
// attrs: {
// format: "yyyy-MM-dd"
// }
}, },
// Ext_QuoteOppotunity_KUT: { // Ext_QuoteOppotunity_KUT: {
// type: 'input', // type: 'input',
......
...@@ -19,7 +19,7 @@ const tableConfig = { ...@@ -19,7 +19,7 @@ const tableConfig = {
showInSearch: true, showInSearch: true,
}, },
ExtCorporateName_SDK: { ExtCorporateName_SDK: {
label: '法定人代表', label: '法定代表人',
type: 'input' type: 'input'
}, },
ExtSocialUnifiedCreditCode_SDK: { ExtSocialUnifiedCreditCode_SDK: {
......
...@@ -99,9 +99,9 @@ ...@@ -99,9 +99,9 @@
:offset="1" :offset="1"
class="padding-bottom"> class="padding-bottom">
<el-form-item label="省份:" <el-form-item label="省份:"
prop="extProvince_SDK" prop="provinceID"
label-width="80px"> label-width="80px">
<el-select v-model="formData.extProvince_SDK" <el-select v-model="formData.provinceID"
style="width: 91%" style="width: 91%"
filterable filterable
placeholder="请选择省份" placeholder="请选择省份"
...@@ -117,10 +117,10 @@ ...@@ -117,10 +117,10 @@
<el-col :span="7" <el-col :span="7"
class="padding-bottom"> class="padding-bottom">
<el-form-item label="市:" <el-form-item label="市:"
prop="extCity_SDK" prop="cityID"
label-width="80px" label-width="80px"
required> >
<el-select v-model="formData.extCity_SDK" <el-select v-model="formData.cityID"
style="width: 91%" style="width: 91%"
filterable filterable
placeholder="请选择市" placeholder="请选择市"
...@@ -135,14 +135,13 @@ ...@@ -135,14 +135,13 @@
<el-col :span="7" <el-col :span="7"
class="padding-bottom"> class="padding-bottom">
<el-form-item label="区:" <el-form-item label="区:"
prop="extDistrict_SDK" prop="districID"
label-width="80px" label-width="80px"
required> >
<el-select v-model="formData.extDistrict_SDK" <el-select v-model="formData.districID"
style="width: 91%" style="width: 91%"
filterable filterable
placeholder="请选择区" placeholder="请选择区"
no-match-text="无匹配数据"
@change="handleSelectDis"> @change="handleSelectDis">
<el-option v-for="item in disOptions" <el-option v-for="item in disOptions"
:key="item.Code" :key="item.Code"
...@@ -352,7 +351,11 @@ export default { ...@@ -352,7 +351,11 @@ export default {
}, },
data() { data() {
return { return {
formData: {}, formData: {
provinceID:'',
cityID:'',
districID:'',
},
inputEnter: false, inputEnter: false,
countryArea: '', countryArea: '',
title: '城市代理商注册', title: '城市代理商注册',
...@@ -369,9 +372,9 @@ export default { ...@@ -369,9 +372,9 @@ export default {
extSocialUnifiedCreditCode_SDK: [{ required: true, message: '请输入统一社会信用代码', trigger: 'blur' }], extSocialUnifiedCreditCode_SDK: [{ required: true, message: '请输入统一社会信用代码', trigger: 'blur' }],
// extRegisteredCapital_SDK: [{ required: true, message: '请输入注册资本(万元)',trigger:'blur' }], // extRegisteredCapital_SDK: [{ required: true, message: '请输入注册资本(万元)',trigger:'blur' }],
extCorporateName_SDK: [{ required: true, message: '请输入法人', trigger: 'blur' }], extCorporateName_SDK: [{ required: true, message: '请输入法人', trigger: 'blur' }],
extProvince_SDK: [{ required: true, message: '请选择省份' }], provinceID: [{ required: true, message: '请选择省份', trigger:'' }],
extCity_SDK: [{ required: true, message: '请选择市' }], cityID: [{ required: true, message: '请选择市', trigger:'' }],
extDistrict_SDK: [{ required: true, message: '请选择区' }], districID: [{ required: true, message: '请选择区', trigger:'' }],
extAddressDetail_SDK: [{ required: true, message: '请输入详细经营地址', trigger: 'blur' }], extAddressDetail_SDK: [{ required: true, message: '请输入详细经营地址', trigger: 'blur' }],
extLeader_SDK: [{ required: true, message: '请输入公司负责人姓名', trigger: 'blur' }], extLeader_SDK: [{ required: true, message: '请输入公司负责人姓名', trigger: 'blur' }],
extLeaderPhone_SDK: [{ required: true, message: '请输入公司负责人联系电话', trigger: 'blur' }, extLeaderPhone_SDK: [{ required: true, message: '请输入公司负责人联系电话', trigger: 'blur' },
...@@ -396,7 +399,7 @@ export default { ...@@ -396,7 +399,7 @@ export default {
} }
}, },
watch: { watch: {
}, },
computed: { computed: {
visitedViews() { visitedViews() {
...@@ -429,6 +432,8 @@ export default { ...@@ -429,6 +432,8 @@ export default {
}) })
}, },
handleSelect(value) { handleSelect(value) {
this.formData.cityID=''
this.formData.districID=''
const app = { provinceCode: value } const app = { provinceCode: value }
this.$request(Country.searchCity, app).then((resp) => { this.$request(Country.searchCity, app).then((resp) => {
this.cityOptions = resp.results this.cityOptions = resp.results
...@@ -437,10 +442,12 @@ export default { ...@@ -437,10 +442,12 @@ export default {
obj = this.countryOptions.find((item) => {//这里的userList就是上面遍历的数据源 obj = this.countryOptions.find((item) => {//这里的userList就是上面遍历的数据源
return item.Code === value;//筛选出匹配数据 return item.Code === value;//筛选出匹配数据
}); });
this.formData.extProvinceName_SDK = obj.Name//获取的 name this.formData.extProvinceName_SDK = obj.Name//获取的 name
this.formData.extProvince_SDK = value//获取的 id this.formData.extProvince_SDK = value//获取的 id
}, },
handleSelectCity(value) { handleSelectCity(value) {
this.formData.districID=''
const app = { cityCode: value } const app = { cityCode: value }
this.$request(Country.searchDis, app).then((resp) => { this.$request(Country.searchDis, app).then((resp) => {
this.disOptions = resp.results this.disOptions = resp.results
......
...@@ -348,6 +348,8 @@ export default { ...@@ -348,6 +348,8 @@ export default {
this.loading = false this.loading = false
this.updatePassword = false this.updatePassword = false
this.$router.push({ path: '/', query: this.otherQuery }) this.$router.push({ path: '/', query: this.otherQuery })
}).catch(() => {
this.loading = false
}) })
} else { } else {
this.loading = false this.loading = false
...@@ -510,10 +512,10 @@ $dark_gray:#889aa4; ...@@ -510,10 +512,10 @@ $dark_gray:#889aa4;
} }
} }
.submit-btn { .submit-btn {
padding: 0 15px 20px 0px; padding: 0 0px 20px 45px;
.el-button { .el-button {
height: 40px; height: 40px;
width: 330px; width: 400px;
} }
} }
.el-dialog__body { .el-dialog__body {
...@@ -524,6 +526,7 @@ $dark_gray:#889aa4; ...@@ -524,6 +526,7 @@ $dark_gray:#889aa4;
display: flex; display: flex;
flex-flow: wrap; flex-flow: wrap;
justify-content: center; justify-content: center;
margin-left: 30px !important;
} }
::v-deep .el-form-item { ::v-deep .el-form-item {
margin-bottom: 20px; margin-bottom: 20px;
......
...@@ -100,9 +100,9 @@ ...@@ -100,9 +100,9 @@
:offset="1" :offset="1"
class="padding-bottom"> class="padding-bottom">
<el-form-item label="省份:" <el-form-item label="省份:"
prop="extProvince_SDK" prop="provinceID"
label-width="80px"> label-width="80px">
<el-select v-model="formData.extProvince_SDK" <el-select v-model="formData.provinceID"
style="width: 91%" style="width: 91%"
filterable filterable
placeholder="请选择省份" placeholder="请选择省份"
...@@ -118,9 +118,9 @@ ...@@ -118,9 +118,9 @@
<el-col :span="7" <el-col :span="7"
class="padding-bottom"> class="padding-bottom">
<el-form-item label="市:" <el-form-item label="市:"
prop="extCity_SDK" prop="cityID"
label-width="80px"> label-width="80px">
<el-select v-model="formData.extCity_SDK" <el-select v-model="formData.cityID"
style="width: 91%" style="width: 91%"
filterable filterable
placeholder="请选择市" placeholder="请选择市"
...@@ -135,9 +135,9 @@ ...@@ -135,9 +135,9 @@
<el-col :span="7" <el-col :span="7"
class="padding-bottom"> class="padding-bottom">
<el-form-item label="区:" <el-form-item label="区:"
prop="extDistrict_SDK" prop="districID"
label-width="80px"> label-width="80px">
<el-select v-model="formData.extDistrict_SDK" <el-select v-model="formData.districID"
style="width: 91%" style="width: 91%"
filterable filterable
placeholder="请选择区" placeholder="请选择区"
...@@ -452,7 +452,10 @@ export default { ...@@ -452,7 +452,10 @@ export default {
return { return {
formData: { formData: {
extProductGroup_KUT: [], extProductGroup_KUT: [],
extTotalAgent_KUT: [] extTotalAgent_KUT: [],
provinceID:'',
cityID:'',
districID:'',
}, },
inputEnter: false, inputEnter: false,
countryArea: '', countryArea: '',
...@@ -471,9 +474,9 @@ export default { ...@@ -471,9 +474,9 @@ export default {
extSocialUnifiedCreditCode_SDK: [{ required: true, message: '请输入统一社会信用代码', trigger: 'blur' }], extSocialUnifiedCreditCode_SDK: [{ required: true, message: '请输入统一社会信用代码', trigger: 'blur' }],
// extRegisteredCapital_SDK: [{ required: true, message: '请输入注册资本(万元)' }], // extRegisteredCapital_SDK: [{ required: true, message: '请输入注册资本(万元)' }],
extCorporateName_SDK: [{ required: true, message: '请输入法人', trigger: 'blur' }], extCorporateName_SDK: [{ required: true, message: '请输入法人', trigger: 'blur' }],
extProvince_SDK: [{ required: true, message: '请选择省份' }], provinceID: [{ required: true, message: '请选择省份' }],
extCity_SDK: [{ required: true, message: '请选择市' }], cityID: [{ required: true, message: '请选择市' }],
extDistrict_SDK: [{ required: true, message: '请选择区' }], districID: [{ required: true, message: '请选择区' }],
extAddressDetail_SDK: [{ required: true, message: '请输入详细经营地址', trigger: 'blur' }], extAddressDetail_SDK: [{ required: true, message: '请输入详细经营地址', trigger: 'blur' }],
extLeader_SDK: [{ required: true, message: '请输入公司负责人姓名', trigger: 'blur' }], extLeader_SDK: [{ required: true, message: '请输入公司负责人姓名', trigger: 'blur' }],
extLeaderPhone_SDK: [{ required: true, message: '请输入公司负责人联系电话', trigger: 'blur' }, extLeaderPhone_SDK: [{ required: true, message: '请输入公司负责人联系电话', trigger: 'blur' },
...@@ -563,6 +566,8 @@ export default { ...@@ -563,6 +566,8 @@ export default {
}) })
}, },
handleSelect(value) { handleSelect(value) {
this.formData.cityID=''
this.formData.districID=''
const app = { provinceCode: value } const app = { provinceCode: value }
this.$request(Country.searchCity, app).then((resp) => { this.$request(Country.searchCity, app).then((resp) => {
this.cityOptions = resp.results this.cityOptions = resp.results
...@@ -575,6 +580,7 @@ export default { ...@@ -575,6 +580,7 @@ export default {
this.formData.extProvince_SDK = value//获取的 id this.formData.extProvince_SDK = value//获取的 id
}, },
handleSelectCity(value) { handleSelectCity(value) {
this.formData.districID=''
const app = { cityCode: value } const app = { cityCode: value }
this.$request(Country.searchDis, app).then((resp) => { this.$request(Country.searchDis, app).then((resp) => {
this.disOptions = resp.results this.disOptions = resp.results
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment