Merge remote-tracking branch 'origin/dev_20230526_Mobile' into dev_20230526_Mobile

This commit is contained in:
wangzhijiang
2023-06-20 17:02:07 +08:00
7 changed files with 63 additions and 14 deletions
@@ -150,7 +150,11 @@
iconClick() { iconClick() {
if (this.$route.query.goRouter) { if (this.$route.query.goRouter) {
this.$router.push({ this.$router.push({
path: this.$route.query.goRouter path: this.$route.query.goRouter,
query: {
searchValue: this.$route.query.searchValue,
activeTab: this.$route.query.activeTab
}
}) })
} else { } else {
this.$router.go(-1) this.$router.go(-1)
+11 -1
View File
@@ -60,7 +60,17 @@
}, },
methods: { methods: {
iconClick() { iconClick() {
this.$router.go(-1) if (this.$route.query.goRouter) {
this.$router.push({
path: this.$route.query.goRouter,
query: {
searchValue: this.$route.query.searchValue,
activeTab: this.$route.query.activeTab
}
})
} else {
this.$router.go(-1)
}
}, },
handlingClick(item) { handlingClick(item) {
this.$router.push({ this.$router.push({
@@ -56,7 +56,9 @@
<div class="content-box-type-text"> <div class="content-box-type-text">
{{$t('deliverableTemplate')}} {{$t('deliverableTemplate')}}
</div> </div>
<div class="content-box-type-text-one" v-if="dataSourceFile && dataSourceFile.length == 0"> <div class="content-box-type-text-one"
style="color: #040B29"
v-if="dataSourceFile && dataSourceFile.length == 0">
-- --
</div> </div>
<div class="content-box-type-text-one" <div class="content-box-type-text-one"
@@ -209,7 +209,11 @@
iconClick() { iconClick() {
if (this.$route.query.goRouter) { if (this.$route.query.goRouter) {
this.$router.push({ this.$router.push({
path: this.$route.query.goRouter path: this.$route.query.goRouter,
query: {
searchValue: this.$route.query.searchValue,
activeTab: this.$route.query.activeTab
}
}) })
} else { } else {
this.$router.go(-1) this.$router.go(-1)
@@ -51,7 +51,7 @@
<div class="content-box-type-text"> <div class="content-box-type-text">
{{$t('deliverableTemplate')}} {{$t('deliverableTemplate')}}
</div> </div>
<div class="content-box-type-text-one" v-if="dataSourceFile && dataSourceFile.length == 0"> <div class="content-box-type-text-Two" v-if="dataSourceFile && dataSourceFile.length == 0">
-- --
</div> </div>
<div class="content-box-type-text-one" <div class="content-box-type-text-one"
@@ -265,7 +265,17 @@
kkFileView(item.approvalFileName[index], item.approvalFile[index]) kkFileView(item.approvalFileName[index], item.approvalFile[index])
}, },
iconClick() { iconClick() {
this.$router.go(-1) if (this.$route.query.goRouter) {
this.$router.push({
path: this.$route.query.goRouter,
query: {
searchValue: this.$route.query.searchValue,
activeTab: this.$route.query.activeTab
}
})
} else {
this.$router.go(-1)
}
}, },
onSubmit() { onSubmit() {
this.$refs.form.validate().then(() => { this.$refs.form.validate().then(() => {
+6 -2
View File
@@ -349,7 +349,9 @@
path: '/phoneDocumentDetails', path: '/phoneDocumentDetails',
query: { query: {
id: item.id.slice(0, 32), id: item.id.slice(0, 32),
goRouter: '/phoneSearchList' goRouter: '/phoneSearchList',
searchValue:this.value,
activeTab:this.activeTab
} }
}) })
} else if (item.module_type_flag == 'WTZSK' || item.module_type_flag == 'ZSFX') { } else if (item.module_type_flag == 'WTZSK' || item.module_type_flag == 'ZSFX') {
@@ -359,7 +361,9 @@
path: '/phoneProblemKnowledgeBase', path: '/phoneProblemKnowledgeBase',
query: { query: {
id: id, id: id,
goRouter: '/phoneSearchList' goRouter: '/phoneSearchList',
searchValue:this.value,
activeTab:this.activeTab
} }
}) })
} else if (item.module_type_flag == 'FGYB') { } else if (item.module_type_flag == 'FGYB') {
+21 -6
View File
@@ -3,7 +3,7 @@
<div class="fixed"> <div class="fixed">
<div class="header-search"> <div class="header-search">
<!-- <van-icon class="icon" name="arrow-left"/>--> <!-- <van-icon class="icon" name="arrow-left"/>-->
<form action="/"> <form action="/" style="width: 100%;">
<van-search v-model="phoneQueryValue" <van-search v-model="phoneQueryValue"
@search="onSearch" @search="onSearch"
@clear="onClear" @clear="onClear"
@@ -266,12 +266,12 @@
processDoneList: [], processDoneList: [],
processDoneLoading: false, processDoneLoading: false,
processDoneFinished: false, processDoneFinished: false,
processDonePageNo: 1, processDonePageNo: 0,
processDonePageSize: 10, processDonePageSize: 10,
sentProcessList: [], sentProcessList: [],
sentProcessLoading: false, sentProcessLoading: false,
sentProcessFinished: false, sentProcessFinished: false,
sentProcessPageNo: 1, sentProcessPageNo: 0,
sentProcessPageSize: 10, sentProcessPageSize: 10,
phoneQueryValue: '' phoneQueryValue: ''
} }
@@ -283,6 +283,12 @@
this.form.flowType.push(this.$route.query.flowType) this.form.flowType.push(this.$route.query.flowType)
this.form = { ...this.form } this.form = { ...this.form }
} }
if (this.$route.query.searchValue){
this.phoneQueryValue = this.$route.query.searchValue
}
if (this.$route.query.activeTab) {
this.activeTab = this.$route.query.activeTab
}
// this.toDoProcessPageNo = 1 // this.toDoProcessPageNo = 1
// this.getToDoProcess() // this.getToDoProcess()
}, },
@@ -468,7 +474,10 @@
typeOfDeliverables: 'designDeliverableTypeName', typeOfDeliverables: 'designDeliverableTypeName',
deliverableTemplate: 'designDeliverableTemplate', deliverableTemplate: 'designDeliverableTemplate',
DueDate: 'designDueDate', DueDate: 'designDueDate',
remarks: 'designRemark' remarks: 'designRemark',
goRouter: '/phoneToDoCenter',
searchValue:this.phoneQueryValue,
activeTab:this.activeTab
} }
this.$router.push({ this.$router.push({
path: '/phoneProcessManagement', path: '/phoneProcessManagement',
@@ -488,7 +497,10 @@
typeOfDeliverables: 'verifyDeliverableTypeName', typeOfDeliverables: 'verifyDeliverableTypeName',
deliverableTemplate: 'verifyDeliverableTemplate', deliverableTemplate: 'verifyDeliverableTemplate',
DueDate: 'verifyDueDate', DueDate: 'verifyDueDate',
remarks: 'verifyRemark' remarks: 'verifyRemark',
goRouter: '/phoneToDoCenter',
searchValue:this.phoneQueryValue,
activeTab:this.activeTab
} }
this.$router.push({ this.$router.push({
path: '/phoneProcessManagement', path: '/phoneProcessManagement',
@@ -504,7 +516,10 @@
projectLibraryId: row.projectLibraryId, projectLibraryId: row.projectLibraryId,
taskDefinitionKey: row.taskDefinitionKey, taskDefinitionKey: row.taskDefinitionKey,
isDisplay: isTrue, isDisplay: isTrue,
projectName: row.projectName projectName: row.projectName,
goRouter: '/phoneToDoCenter',
searchValue:this.phoneQueryValue,
activeTab:this.activeTab
} }
}) })
} else { } else {