Commit 525ebf1b authored by jiangqihao's avatar jiangqihao

Merge branch 'dev' of http://120.25.63.219:6088/rex/portalhtml into dev

parents a0ad0fbf 5f5604a2
...@@ -33,7 +33,7 @@ const modelsRouter = { ...@@ -33,7 +33,7 @@ const modelsRouter = {
}, },
{ {
path: 'all', path: 'all',
component: () => import('@/views/models/total-models'), component: () => import('@/views/models/all-models'),
name: 'AllModels', name: 'AllModels',
meta: { title: '模板' } meta: { title: '模板' }
}, },
......
...@@ -334,7 +334,7 @@ export default { ...@@ -334,7 +334,7 @@ export default {
const page={ const page={
currentPage:1, currentPage:1,
pageSize:10, pageSize:10,
objectID:this.id businessObjectID:this.id
} }
getOneModel(page).then(resp=>{ getOneModel(page).then(resp=>{
this.tableData2=resp.results this.tableData2=resp.results
...@@ -342,6 +342,7 @@ export default { ...@@ -342,6 +342,7 @@ export default {
}, },
getList(){ getList(){
getCustomer({objectID:this.id}).then((resp)=>{ getCustomer({objectID:this.id}).then((resp)=>{
resp.results[0].ExtChannelType_SDK=null
this.formData=resp.results[0] this.formData=resp.results[0]
lockRsp({extProvince_SDK: resp.results[0].ExtProvince_SDK}).then((resp)=>{ lockRsp({extProvince_SDK: resp.results[0].ExtProvince_SDK}).then((resp)=>{
this.province=resp.results this.province=resp.results
......
...@@ -314,7 +314,7 @@ export default { ...@@ -314,7 +314,7 @@ export default {
const page={ const page={
currentPage:1, currentPage:1,
pageSize:10, pageSize:10,
objectID:this.id businessObjectID:this.id
} }
getOneModel(page).then(resp=>{ getOneModel(page).then(resp=>{
this.tableData2=resp.results this.tableData2=resp.results
......
...@@ -270,7 +270,7 @@ ...@@ -270,7 +270,7 @@
:on-success="handleAvatarSuccess" :on-success="handleAvatarSuccess"
:on-remove="handleRemoveFile" :on-remove="handleRemoveFile"
action="https://jsonplaceholder.typicode.com/posts/" action="https://jsonplaceholder.typicode.com/posts/"
accept=".doc,.txt,.pdf,.xls,.docx,.xlsx,.jpg,.png" accept=".doc,.txt,.pdf,.xls,.docx,.xlsx "
:limit="1"> :limit="1">
<el-button size="small" <el-button size="small"
type="primary">点击上传</el-button> type="primary">点击上传</el-button>
...@@ -472,7 +472,7 @@ export default { ...@@ -472,7 +472,7 @@ export default {
this.$request(Customer.searchUrl, this.paramsToFormData(this.formData)).then((resp) => { this.$request(Customer.searchUrl, this.paramsToFormData(this.formData)).then((resp) => {
this.btnloading = false this.btnloading = false
this.$message.success('提交成功!') this.$message.success('提交成功!')
this.handleClickGoBack() this.$router.back()
}).catch((err) => { }).catch((err) => {
this.btnloading=false this.btnloading=false
// this.$message({ // this.$message({
......
...@@ -329,7 +329,7 @@ ...@@ -329,7 +329,7 @@
ref="uploadExcel" ref="uploadExcel"
action="https://jsonplaceholder.typicode.com/posts/" action="https://jsonplaceholder.typicode.com/posts/"
:limit='1' :limit='1'
accept=".doc,.txt,.pdf,.xls,.docx,.xlsx,.jpg,.png" accept=".doc,.txt,.pdf,.xls,.docx,.xlsx "
:on-success="handleAvatarSuccess" :on-success="handleAvatarSuccess"
:on-remove="handleRemoveFile" :on-remove="handleRemoveFile"
:on-change="fileChange" :on-change="fileChange"
......
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