搜索之后编辑完成退回页面保留搜索条件

main
吕天方 1 week ago
parent e49c0fb356
commit 875c51b428

@ -1,9 +1,9 @@
<template>
<assetsTypeOne :pageType="$route.query.pageType" :id="$route.query.id" v-if="$route.query.type == 0" />
<assetsTypeTwo :pageType="$route.query.pageType" :id="$route.query.id" v-else-if="$route.query.type == 1" />
<assetsTypeThree :pageType="$route.query.pageType" :id="$route.query.id" v-else-if="$route.query.type == 2" />
<assetsTypeFour :pageType="$route.query.pageType" :id="$route.query.id" v-else-if="$route.query.type == 3" />
<assetsTypeFive :pageType="$route.query.pageType" :id="$route.query.id" v-else-if="$route.query.type == 4" />
<assetsTypeOne :pageType="$route.query.pageType" :id="$route.query.id" :queryData="$route.query.queryData" v-if="$route.query.type == 0" />
<assetsTypeTwo :pageType="$route.query.pageType" :id="$route.query.id" :queryData="$route.query.queryData" v-else-if="$route.query.type == 1" />
<assetsTypeThree :pageType="$route.query.pageType" :id="$route.query.id" :queryData="$route.query.queryData" v-else-if="$route.query.type == 2" />
<assetsTypeFour :pageType="$route.query.pageType" :id="$route.query.id" :queryData="$route.query.queryData" v-else-if="$route.query.type == 3" />
<assetsTypeFive :pageType="$route.query.pageType" :id="$route.query.id" :queryData="$route.query.queryData" v-else-if="$route.query.type == 4" />
</template>
<script>
// web

@ -245,6 +245,9 @@ export default {
}
},
mounted(){
if(this.$route.params) {
this.formInline = this.$route.params;
}
this.getList();
this.getDeptTree();
this.cancalDebounce();
@ -347,13 +350,15 @@ export default {
this.$router.push({name: 'AssetsAuth',query: {
pageType: "look",
type:3,
id:row.id
id:row.id,
queryData:this.formInline
}})
} else if(id == 2) {
this.$router.push({name: 'AssetsAuth',query: {
pageType: "change",
type:3,
id:row.id
id:row.id,
queryData:this.formInline
}})
} else if(id == 3) {
const userIds = row.id;

@ -264,6 +264,10 @@ export default {
}
},
mounted(){
// console.log(this.$route.params,"params");
if(this.$route.params) {
this.formInline = this.$route.params;
}
this.getList();
this.getDeptTree();
this.cancalDebounce();
@ -365,13 +369,15 @@ export default {
this.$router.push({name: 'AssetsAuth',query: {
pageType: "look",
type:0,
id:row.id
id:row.id,
queryData:this.formInline,
}})
} else if(id == 2) {
this.$router.push({name: 'AssetsAuth',query: {
pageType: "change",
type:0,
id:row.id
id:row.id,
queryData:this.formInline,
}})
} else if(id == 3) {
const userIds = row.id;

@ -271,6 +271,9 @@ export default {
}
},
mounted(){
if(this.$route.params) {
this.formInline = this.$route.params;
}
this.getList();
this.getDeptTree();
this.cancalDebounce();
@ -373,13 +376,15 @@ export default {
this.$router.push({name: 'AssetsAuth',query: {
pageType: "look",
type:4,
id:row.id
id:row.id,
queryData:this.formInline
}})
} else if(id == 2) {
this.$router.push({name: 'AssetsAuth',query: {
pageType: "change",
type:4,
id:row.id
id:row.id,
queryData:this.formInline
}})
} else if(id == 3) {
const userIds = row.id;

@ -257,6 +257,9 @@ export default {
}
},
mounted(){
if(this.$route.params) {
this.formInline = this.$route.params;
}
this.getList();
this.getDeptTree();
this.cancalDebounce();
@ -359,13 +362,15 @@ export default {
this.$router.push({name: 'AssetsAuth',query: {
pageType: "look",
type:2,
id:row.id
id:row.id,
queryData:this.formInline
}})
} else if(id == 2) {
this.$router.push({name: 'AssetsAuth',query: {
pageType: "change",
type:2,
id:row.id
id:row.id,
queryData:this.formInline
}})
} else if(id == 3) {
const userIds = row.id;

@ -256,6 +256,9 @@ export default {
}
},
mounted(){
if(this.$route.params) {
this.formInline = this.$route.params;
}
this.getList();
this.getDeptTree();
this.cancalDebounce();
@ -357,13 +360,15 @@ export default {
this.$router.push({name: 'AssetsAuth',query: {
pageType: "look",
type:1,
id:row.id
id:row.id,
queryData:this.formInline
}})
} else if(id == 2) {
this.$router.push({name: 'AssetsAuth',query: {
pageType: "change",
type:1,
id:row.id
id:row.id,
queryData:this.formInline
}})
} else if(id == 3) {
const userIds = row.id;

@ -1,9 +1,9 @@
<template>
<assetsTypeOne :pageType="$route.query.pageType" :audit="$route.query.pageType == 'change' ? true : false" :isModdle="true" :id="$route.query.id" v-if="$route.query.type == 0" />
<assetsTypeTwo :pageType="$route.query.pageType" :audit="$route.query.pageType == 'change' ? true : false" :isModdle="true" :id="$route.query.id" v-else-if="$route.query.type == 1" />
<assetsTypeThree :pageType="$route.query.pageType" :audit="$route.query.pageType == 'change' ? true : false" :isModdle="true" :id="$route.query.id" v-else-if="$route.query.type == 2" />
<assetsTypeFour :pageType="$route.query.pageType" :audit="$route.query.pageType == 'change' ? true : false" :isModdle="true" :id="$route.query.id" v-else-if="$route.query.type == 3" />
<assetsTypeFive :pageType="$route.query.pageType" :audit="$route.query.pageType == 'change' ? true : false" :isModdle="true" :id="$route.query.id" v-else-if="$route.query.type == 4" />
<assetsTypeOne :pageType="$route.query.pageType" :audit="$route.query.pageType == 'change' ? true : false" :isModdle="true" :id="$route.query.id" :queryData="$route.query.queryData" :name="$route.query.name" v-if="$route.query.type == 0" />
<assetsTypeTwo :pageType="$route.query.pageType" :audit="$route.query.pageType == 'change' ? true : false" :isModdle="true" :id="$route.query.id" :queryData="$route.query.queryData" :name="$route.query.name" v-else-if="$route.query.type == 1" />
<assetsTypeThree :pageType="$route.query.pageType" :audit="$route.query.pageType == 'change' ? true : false" :isModdle="true" :id="$route.query.id" :queryData="$route.query.queryData" :name="$route.query.name" v-else-if="$route.query.type == 2" />
<assetsTypeFour :pageType="$route.query.pageType" :audit="$route.query.pageType == 'change' ? true : false" :isModdle="true" :id="$route.query.id" :queryData="$route.query.queryData" :name="$route.query.name" v-else-if="$route.query.type == 3" />
<assetsTypeFive :pageType="$route.query.pageType" :audit="$route.query.pageType == 'change' ? true : false" :isModdle="true" :id="$route.query.id" :queryData="$route.query.queryData" :name="$route.query.name" v-else-if="$route.query.type == 4" />
</template>
<script>
// web

@ -262,7 +262,9 @@ export default {
type: this.btnShow == 'web' ? 0 : this.btnShow == 'xcx' ? 1 : this.btnShow == 'gzh' ? 2 : this.btnShow == 'emil' ? 3 : this.btnShow == 'app' ? 4 : 5,
pageType: "look",
btnShow: this.btnShow,
id: this.btnShow == 'web' ? row.currentId : this.btnShow == 'xcx' ? row.miniId : this.btnShow == 'gzh' ? row.accountId : this.btnShow == 'emil' ? row.emailId : this.btnShow == 'app' ? row.appId : null
id: this.btnShow == 'web' ? row.currentId : this.btnShow == 'xcx' ? row.miniId : this.btnShow == 'gzh' ? row.accountId : this.btnShow == 'emil' ? row.emailId : this.btnShow == 'app' ? row.appId : null,
queryData:this.pagination,
name:'UnitFill'
}
})
},
@ -273,7 +275,9 @@ export default {
type: this.btnShow == 'web' ? 0 : this.btnShow == 'xcx' ? 1 : this.btnShow == 'gzh' ? 2 : this.btnShow == 'emil' ? 3 : this.btnShow == 'app' ? 4 : 5,
pageType: "change",
btnShow: this.btnShow,
id: this.btnShow == 'web' ? row.currentId : this.btnShow == 'xcx' ? row.miniId : this.btnShow == 'gzh' ? row.accountId : this.btnShow == 'emil' ? row.emailId : this.btnShow == 'app' ? row.appId : null
id: this.btnShow == 'web' ? row.currentId : this.btnShow == 'xcx' ? row.miniId : this.btnShow == 'gzh' ? row.accountId : this.btnShow == 'emil' ? row.emailId : this.btnShow == 'app' ? row.appId : null,
queryData:this.pagination,
name:'UnitFill'
}
})
},
@ -328,6 +332,9 @@ export default {
next(vm => {
if(from.path == "/unitAssetsAuth") {
vm.btnShow = from.query.btnShow
if(from.query.queryData) {
vm.pagination = from.query.queryData;
}
if(vm.btnShow == 'web') {
vm.getInfo(1);
} else if(vm.btnShow == 'xcx') {

@ -765,7 +765,8 @@ export default {
postUnit('put',this.ruleForm).then(res=>{
this.loading = false;
this.$modal.msgSuccess("修改成功");
this.$router.go(-1);
// this.$router.go(-1);
this.$router.push({name:'Unit',params:this.$route.query.queryData})
}).catch(err=>{
this.loading = false;
})

@ -3006,7 +3006,7 @@ export default {
loading:false,
}
},
props:['pageType', 'id'],
props:['pageType', 'id', 'queryData'],
mounted(){
if(this.pageType == 'look') {
this.getInfo(this.id)
@ -3254,7 +3254,8 @@ export default {
// console.log(res,"res");
this.loading = false;
this.$modal.msgSuccess("修改成功");
this.$router.go(-1);
// this.$router.go(-1);
this.$router.push({name:'Assets',params: this.queryData})
})
} else {
assetUnitData('post',this.ruleForm).then(res=>{

@ -289,7 +289,7 @@ export default {
disabled:false,
}
},
props:['pageType', 'id'],
props:['pageType', 'id', 'queryData'],
mounted(){
if(this.pageType == 'look') {
this.getInfo(this.id)
@ -343,7 +343,8 @@ export default {
// console.log(res,"res");
this.loading = false;
this.$modal.msgSuccess("修改成功");
this.$router.go(-1);
// this.$router.go(-1);
this.$router.push({name:'Program',params: this.queryData})
})
} else {
assetMiniPrograms('post',this.ruleForm).then(res=>{

@ -416,7 +416,7 @@ export default {
disabled:false,
}
},
props:['pageType', 'id'],
props:['pageType', 'id', 'queryData'],
mounted(){
if(this.pageType == 'look') {
this.getInfo(this.id)
@ -473,7 +473,8 @@ export default {
// console.log(res,"res");
this.loading = false;
this.$modal.msgSuccess("修改成功");
this.$router.go(-1);
// this.$router.go(-1);
this.$router.push({name:'OfficialAccount',params: this.queryData})
})
} else {
assetOfficialAccount('post',this.ruleForm).then(res=>{

@ -229,7 +229,7 @@ export default {
disabled:false,
}
},
props:['pageType', 'id'],
props:['pageType', 'id', 'queryData'],
mounted(){
if(this.pageType == 'look') {
this.getInfo(this.id)
@ -278,7 +278,8 @@ export default {
// console.log(res,"res");
this.loading = false;
this.$modal.msgSuccess("修改成功");
this.$router.go(-1);
// this.$router.go(-1);
this.$router.push({name:'Email',params: this.queryData})
})
} else {
assetEmail('post',this.ruleForm).then(res=>{

@ -205,7 +205,7 @@ export default {
disabled:false,
}
},
props:['pageType', 'id'],
props:['pageType', 'id', 'queryData'],
mounted(){
if(this.pageType == 'look') {
this.getInfo(this.id)
@ -254,7 +254,8 @@ export default {
// console.log(res,"res");
this.loading = false;
this.$modal.msgSuccess("修改成功");
this.$router.go(-1);
// this.$router.go(-1);
this.$router.push({name:'MobileApplication',params: this.queryData})
})
} else {
assetApp('post',this.ruleForm).then(res=>{

@ -2987,7 +2987,7 @@ export default {
},
}
},
props:['pageType', 'id', 'audit', 'isModdle'],
props:['pageType', 'id', 'audit', 'isModdle', 'name', 'queryData'],
mounted(){
if(this.isModdle) {
if(this.pageType == 'look') {
@ -3350,7 +3350,8 @@ export default {
// console.log(res,"res");
this.loading = false;
this.$modal.msgSuccess("提交成功,待管理员审核通过后完成修改");
this.$router.go(-1);
// this.$router.go(-1);
this.$router.push({name:this.name,params: this.queryData})
}).catch(err=>{
this.loading = false;
})
@ -3394,7 +3395,8 @@ export default {
assetAudit(tijioaobj).then(res=>{
if(res.code == 200){
this.$modal.msgSuccess("审核驳回");
this.$router.go(-1);
// this.$router.go(-1);
this.$router.push({name:this.name,params: this.queryData})
}
})
} else {
@ -3408,7 +3410,8 @@ export default {
this.loading = true;
assetAudit({currentId:Number(this.id),auditState:"2"}).then(res=>{
this.$modal.msgSuccess("审核通过");
this.$router.go(-1);
// this.$router.go(-1);
this.$router.push({name:this.name,params: this.queryData})
this.loading = false;
}).catch(err=>{
this.loading = false;

@ -384,7 +384,7 @@ export default {
},
}
},
props:['pageType', 'id', 'audit', 'isModdle'],
props:['pageType', 'id', 'audit', 'isModdle', 'name', 'queryData'],
mounted(){
if(this.isModdle) {
if(this.pageType == 'look') {
@ -474,7 +474,9 @@ export default {
miniProgramsUnitEdit(this.ruleForm).then(res=>{
this.loading = false;
this.$modal.msgSuccess("提交成功,待管理员审核通过后完成修改");
this.$router.go(-1);
// this.$router.go(-1);
this.$router.push({name:this.name,params: this.queryData})
})
} else {
assetMiniPrograms('post',this.ruleForm).then(res=>{
@ -512,7 +514,8 @@ export default {
miniProgramsAudit(tijioaobj).then(res=>{
if(res.code == 200){
this.$modal.msgSuccess("审核驳回");
this.$router.go(-1);
// this.$router.go(-1);
this.$router.push({name:this.name,params: this.queryData})
}
})
} else {
@ -526,7 +529,8 @@ export default {
this.loading = true;
miniProgramsAudit({currentId:Number(this.id),auditState:"2"}).then(res=>{
this.$modal.msgSuccess("审核通过");
this.$router.go(-1);
// this.$router.go(-1);
this.$router.push({name:this.name,params: this.queryData})
this.loading = false;
}).catch(err=>{
this.loading = false;

@ -535,7 +535,7 @@ export default {
},
}
},
props:['pageType', 'id', 'audit', 'isModdle'],
props:['pageType', 'id', 'audit', 'isModdle', 'name', 'queryData'],
mounted(){
if(this.isModdle) {
if(this.pageType == 'look') {
@ -627,7 +627,8 @@ export default {
// console.log(res,"res");
this.loading = false;
this.$modal.msgSuccess("提交成功,待管理员审核通过后完成修改");
this.$router.go(-1);
// this.$router.go(-1);
this.$router.push({name:this.name,params: this.queryData})
})
} else {
assetOfficialAccount('post',this.ruleForm).then(res=>{
@ -666,7 +667,8 @@ export default {
gzhAudit(tijioaobj).then(res=>{
if(res.code == 200){
this.$modal.msgSuccess("审核驳回");
this.$router.go(-1);
// this.$router.go(-1);
this.$router.push({name:this.name,params: this.queryData})
}
})
} else {
@ -680,7 +682,8 @@ export default {
this.loading = true;
gzhAudit({currentId:Number(this.id),auditState:"2"}).then(res=>{
this.$modal.msgSuccess("审核通过");
this.$router.go(-1);
// this.$router.go(-1);
this.$router.push({name:this.name,params: this.queryData})
this.loading = false;
}).catch(err=>{
this.loading = false;

@ -304,7 +304,7 @@ export default {
},
}
},
props:['pageType', 'id', 'audit', 'isModdle'],
props:['pageType', 'id', 'audit', 'isModdle', 'name', 'queryData'],
mounted(){
if(this.isModdle) {
if(this.pageType == 'look') {
@ -390,14 +390,16 @@ export default {
// console.log(res,"res");
this.loading = false;
this.$modal.msgSuccess("提交成功,待管理员审核通过后完成修改");
this.$router.go(-1);
// this.$router.go(-1);
this.$router.push({name:this.name,params: this.queryData})
})
} else {
assetEmail('post',this.ruleForm).then(res=>{
// console.log(res,"res");
this.loading = false;
this.$modal.msgSuccess("新增成功");
this.$router.go(-1);
// this.$router.go(-1);
this.$router.push({name:this.name,params: this.queryData})
})
}
}
@ -429,7 +431,8 @@ export default {
EmailAudit(tijioaobj).then(res=>{
if(res.code == 200){
this.$modal.msgSuccess("审核驳回");
this.$router.go(-1);
// this.$router.go(-1);
this.$router.push({name:this.name,params: this.queryData})
}
})
} else {
@ -443,7 +446,8 @@ export default {
this.loading = true;
EmailAudit({currentId:Number(this.id),auditState:"2"}).then(res=>{
this.$modal.msgSuccess("审核通过");
this.$router.go(-1);
// this.$router.go(-1);
this.$router.push({name:this.name,params: this.queryData})
this.loading = false;
}).catch(err=>{
this.loading = false;

@ -283,7 +283,7 @@ export default {
},
}
},
props:['pageType', 'id', 'audit', 'isModdle'],
props:['pageType', 'id', 'audit', 'isModdle', 'name', 'queryData'],
mounted(){
if(this.isModdle) {
if(this.pageType == 'look') {
@ -369,7 +369,8 @@ export default {
// console.log(res,"res");
this.loading = false;
this.$modal.msgSuccess("提交成功,待管理员审核通过后完成修改");
this.$router.go(-1);
// this.$router.go(-1);
this.$router.push({name:this.name,params: this.queryData})
})
} else {
assetApp('post',this.ruleForm).then(res=>{
@ -408,7 +409,8 @@ export default {
AppAudit(tijioaobj).then(res=>{
if(res.code == 200){
this.$modal.msgSuccess("审核驳回");
this.$router.go(-1);
// this.$router.go(-1);
this.$router.push({name:this.name,params: this.queryData})
}
})
} else {
@ -422,7 +424,8 @@ export default {
this.loading = true;
AppAudit({currentId:Number(this.id),auditState:"2"}).then(res=>{
this.$modal.msgSuccess("审核通过");
this.$router.go(-1);
// this.$router.go(-1);
this.$router.push({name:this.name,params: this.queryData})
this.loading = false;
}).catch(err=>{
this.loading = false;

@ -17,7 +17,7 @@
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="平台类型" prop="ptlx">
<el-form-item label="平台类型" prop="ptlx" required>
<el-select v-model="ruleForm.ptlx" placeholder="请选择平台类型" disabled>
<el-option v-for="dict in dict.type.sys_ptlx_type" :key="dict.value" :label="dict.label"
:value="dict.value" />
@ -455,6 +455,9 @@ export default {
}
assetTaskofficetaskSh(obj).then(res => {
this.ruleForm = res.data;
if(!this.ruleForm.ptlx) {
this.ruleForm.ptlx = '1'
}
setTimeout(() => {
this.$refs.ruleForm.clearValidate()

@ -453,13 +453,16 @@ export default {
}
},
created() {
this.getList();
this.getDeptTree();
// this.getConfigKey("sys.user.initPassword").then(response => {
// this.initPassword = response.msg;
// });
},
mounted(){
if(this.$route.params) {
this.queryParams = this.$route.params;
}
this.getList();
this.getDeptTree();
this.cancalDebounce();
window.addEventListener('resize', this.cancalDebounce);
},
@ -540,14 +543,16 @@ export default {
handleUpdate(row) {
this.$router.push({name: 'UnitAuth',query: {
pageType: "change",
id: row.id
id: row.id,
queryData:this.queryParams
}})
},
/** 查看按钮操作 */
handleLookdate(row){
this.$router.push({name: 'UnitAuth',query: {
pageType: "look",
id: row.id
id: row.id,
queryData:this.queryParams
}})
},
/** 删除按钮操作 */

@ -1,9 +1,9 @@
<template>
<assetsTypeOne :pageType="$route.query.pageType" :isModdle="true" :id="$route.query.id" v-if="$route.query.type == 0" />
<assetsTypeTwo :pageType="$route.query.pageType" :isModdle="true" :id="$route.query.id" v-else-if="$route.query.type == 1" />
<assetsTypeThree :pageType="$route.query.pageType" :isModdle="true" :id="$route.query.id" v-else-if="$route.query.type == 2" />
<assetsTypeFour :pageType="$route.query.pageType" :isModdle="true" :id="$route.query.id" v-else-if="$route.query.type == 3" />
<assetsTypeFive :pageType="$route.query.pageType" :isModdle="true" :id="$route.query.id" v-else-if="$route.query.type == 4" />
<assetsTypeOne :pageType="$route.query.pageType" :isModdle="true" :id="$route.query.id" :queryData="$route.query.queryData" :name="$route.query.name" v-if="$route.query.type == 0" />
<assetsTypeTwo :pageType="$route.query.pageType" :isModdle="true" :id="$route.query.id" :queryData="$route.query.queryData" :name="$route.query.name" v-else-if="$route.query.type == 1" />
<assetsTypeThree :pageType="$route.query.pageType" :isModdle="true" :id="$route.query.id" :queryData="$route.query.queryData" :name="$route.query.name" v-else-if="$route.query.type == 2" />
<assetsTypeFour :pageType="$route.query.pageType" :isModdle="true" :id="$route.query.id" :queryData="$route.query.queryData" :name="$route.query.name" v-else-if="$route.query.type == 3" />
<assetsTypeFive :pageType="$route.query.pageType" :isModdle="true" :id="$route.query.id" :queryData="$route.query.queryData" :name="$route.query.name" v-else-if="$route.query.type == 4" />
</template>
<script>
// web

@ -262,7 +262,9 @@ export default {
type: this.btnShow == 'web' ? 0 : this.btnShow == 'xcx' ? 1 : this.btnShow == 'gzh' ? 2 : this.btnShow == 'emil' ? 3 : this.btnShow == 'app' ? 4 : 5,
pageType: "look",
btnShow: this.btnShow,
id: this.btnShow == 'web' ? row.currentId : this.btnShow == 'xcx' ? row.miniId : this.btnShow == 'gzh' ? row.accountId : this.btnShow == 'emil' ? row.emailId : this.btnShow == 'app' ? row.appId : null
id: this.btnShow == 'web' ? row.currentId : this.btnShow == 'xcx' ? row.miniId : this.btnShow == 'gzh' ? row.accountId : this.btnShow == 'emil' ? row.emailId : this.btnShow == 'app' ? row.appId : null,
name: "AssetRecord",
queryData:this.pagination
}
})
},
@ -274,7 +276,9 @@ export default {
type: this.btnShow == 'web' ? 0 : this.btnShow == 'xcx' ? 1 : this.btnShow == 'gzh' ? 2 : this.btnShow == 'emil' ? 3 : this.btnShow == 'app' ? 4 : 5,
pageType: "change",
btnShow: this.btnShow,
id: this.btnShow == 'web' ? row.currentId : this.btnShow == 'xcx' ? row.miniId : this.btnShow == 'gzh' ? row.accountId : this.btnShow == 'emil' ? row.emailId : this.btnShow == 'app' ? row.appId : null
id: this.btnShow == 'web' ? row.currentId : this.btnShow == 'xcx' ? row.miniId : this.btnShow == 'gzh' ? row.accountId : this.btnShow == 'emil' ? row.emailId : this.btnShow == 'app' ? row.appId : null,
name: "AssetRecord",
queryData:this.pagination
}
})
},
@ -329,6 +333,9 @@ export default {
next(vm => {
if(from.path == "/assetsAuthRecord") {
vm.btnShow = from.query.btnShow
if(from.query.queryData) {
vm.pagination = from.query.queryData;
}
if(vm.btnShow == 'web') {
vm.getInfo(1);
} else if(vm.btnShow == 'xcx') {

@ -1,9 +1,9 @@
<template>
<assetsTypeOne :pageType="$route.query.pageType" :id="$route.query.id" v-if="$route.query.type == 0" />
<assetsTypeTwo :pageType="$route.query.pageType" :id="$route.query.id" v-else-if="$route.query.type == 1" />
<assetsTypeThree :pageType="$route.query.pageType" :id="$route.query.id" v-else-if="$route.query.type == 2" />
<assetsTypeFour :pageType="$route.query.pageType" :id="$route.query.id" v-else-if="$route.query.type == 3" />
<assetsTypeFive :pageType="$route.query.pageType" :id="$route.query.id" v-else-if="$route.query.type == 4" />
<assetsTypeOne :pageType="$route.query.pageType" :id="$route.query.id" :queryData="$route.query.queryData" :name="$route.query.name" v-if="$route.query.type == 0" />
<assetsTypeTwo :pageType="$route.query.pageType" :id="$route.query.id" :queryData="$route.query.queryData" :name="$route.query.name" v-else-if="$route.query.type == 1" />
<assetsTypeThree :pageType="$route.query.pageType" :id="$route.query.id" :queryData="$route.query.queryData" :name="$route.query.name" v-else-if="$route.query.type == 2" />
<assetsTypeFour :pageType="$route.query.pageType" :id="$route.query.id" :queryData="$route.query.queryData" :name="$route.query.name" v-else-if="$route.query.type == 3" />
<assetsTypeFive :pageType="$route.query.pageType" :id="$route.query.id" :queryData="$route.query.queryData" :name="$route.query.name" v-else-if="$route.query.type == 4" />
</template>
<script>
// web

@ -124,6 +124,9 @@ export default {
}
},
mounted(){
if(this.$route.params) {
this.formInline = this.$route.params;
}
this.getList();
this.cancalDebounce();
window.addEventListener('resize', this.cancalDebounce);
@ -178,7 +181,9 @@ export default {
this.$router.push({name: 'myAssetsAuth',query: {
pageType: id == 1 ? "look" : "change",
type:3,
id:row.id
id:row.id,
queryData:this.formInline,
name:"MyEmail"
}})
},
// table

@ -142,6 +142,9 @@ export default {
}
},
mounted(){
if(this.$route.params) {
this.formInline = this.$route.params;
}
this.getList();
this.cancalDebounce();
window.addEventListener('resize', this.cancalDebounce);
@ -188,7 +191,9 @@ export default {
this.$router.push({name: 'myAssetsAuth',query: {
pageType: id == 1 ? "look" : "change",
type:0,
id: row.id
id: row.id,
queryData:this.formInline,
name:"MyWebAssets"
}})
},
// table

@ -152,6 +152,9 @@ export default {
}
},
mounted(){
if(this.$route.params) {
this.formInline = this.$route.params;
}
this.getList();
this.cancalDebounce();
window.addEventListener('resize', this.cancalDebounce);
@ -202,7 +205,9 @@ export default {
this.$router.push({name: 'myAssetsAuth',query: {
pageType: id == 1 ? "look" : "change",
type:4,
id:row.id
id:row.id,
queryData:this.formInline,
name:"MyMobileApplication"
}})
},
// table

@ -158,6 +158,9 @@ export default {
}
},
mounted(){
if(this.$route.params) {
this.formInline = this.$route.params;
}
this.getList();
this.cancalDebounce();
window.addEventListener('resize', this.cancalDebounce);
@ -208,7 +211,9 @@ export default {
this.$router.push({name: 'myAssetsAuth',query: {
pageType: id == 1 ? "look" : "change",
type:2,
id:row.id
id:row.id,
queryData:this.formInline,
name:"MyOfficialAccount"
}})
},
// table

@ -157,6 +157,9 @@ export default {
}
},
mounted(){
if(this.$route.params) {
this.formInline = this.$route.params;
}
this.getList();
this.cancalDebounce();
window.addEventListener('resize', this.cancalDebounce);
@ -206,7 +209,9 @@ export default {
this.$router.push({name: 'myAssetsAuth',query: {
pageType: id == 1 ? "look" : "change",
type:1,
id:row.id
id:row.id,
queryData:this.formInline,
name:"MyProgram"
}})
},
// table

Loading…
Cancel
Save