Merge remote-tracking branch 'origin/dev_20230526_Mobile' into dev_20230526_Mobile
This commit is contained in:
@@ -1883,4 +1883,5 @@ module.exports = {
|
|||||||
nearlyYear:'Nearly a Year',
|
nearlyYear:'Nearly a Year',
|
||||||
browsingTime:'Browsing Time',
|
browsingTime:'Browsing Time',
|
||||||
pleaseViewOnPc:'Please view on PC',
|
pleaseViewOnPc:'Please view on PC',
|
||||||
|
taskHandling:'Task Handling',
|
||||||
}
|
}
|
||||||
@@ -1984,4 +1984,5 @@ module.exports = {
|
|||||||
nearlyYear:'近一年',
|
nearlyYear:'近一年',
|
||||||
browsingTime:'浏览时间',
|
browsingTime:'浏览时间',
|
||||||
pleaseViewOnPc:'请在pc的查看',
|
pleaseViewOnPc:'请在pc的查看',
|
||||||
|
taskHandling:'任务办理',
|
||||||
}
|
}
|
||||||
@@ -148,7 +148,13 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
iconClick() {
|
iconClick() {
|
||||||
|
if (this.$route.query.goRouter) {
|
||||||
|
this.$router.push({
|
||||||
|
path: this.$route.query.goRouter
|
||||||
|
})
|
||||||
|
} else {
|
||||||
this.$router.go(-1)
|
this.$router.go(-1)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
getWdkCollectAndSubscribeInfoByUser() {
|
getWdkCollectAndSubscribeInfoByUser() {
|
||||||
getAction('/phone/search/getWdkCollectAndSubscribeInfoByUser', { id: this.$route.query.id }).then((res) => {
|
getAction('/phone/search/getWdkCollectAndSubscribeInfoByUser', { id: this.$route.query.id }).then((res) => {
|
||||||
@@ -528,6 +534,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.header-right-text-color {
|
.header-right-text-color {
|
||||||
color: #01A0AC!important;
|
color: #01A0AC !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="content-box-type">
|
<div class="content-box-type">
|
||||||
<span class="content-box-left">{{$t('typeOfDeliverables')}}</span>
|
<span class="content-box-left">{{$t('typeOfDeliverables')}}</span>
|
||||||
<span class="content-box-text">{{queryForm.typeOfDeliverables || '--'}}</span>
|
<span class="content-box-text">{{queryForm.deliverableTypeName || '--'}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="content-box-type-text">
|
<div class="content-box-type-text">
|
||||||
{{$t('deliverableTemplate')}}
|
{{$t('deliverableTemplate')}}
|
||||||
@@ -91,14 +91,19 @@
|
|||||||
{{queryForm.deliveryResult}}
|
{{queryForm.deliveryResult}}
|
||||||
</div>
|
</div>
|
||||||
</van-collapse-item>
|
</van-collapse-item>
|
||||||
<van-collapse-item :title="$t('sponsorReview')" v-if="!isDisplay" name="4">
|
<van-collapse-item :title="$t('taskHandling')" v-if="!isDisplay" name="4">
|
||||||
<van-form @submit="onSubmit" ref="form">
|
<van-form @submit="onSubmit" ref="form">
|
||||||
<div class="resultofhandlingClass"
|
<div class="resultofhandlingClass"
|
||||||
v-if="$route.query.taskDefinitionKey == 'Task Review' ||
|
v-if="$route.query.taskDefinitionKey == 'Task Review' ||
|
||||||
$route.query.taskDefinitionKey == 'Task responsibility confirmation'"
|
$route.query.taskDefinitionKey == 'Task responsibility confirmation' ||
|
||||||
|
($route.query.taskDefinitionKey == 'Task handling' && (queryForm.valueType == 'file' ||
|
||||||
|
queryForm.valueType == 'text' || queryForm.valueType == 'select'))"
|
||||||
style="margin-bottom: 0.1rem">
|
style="margin-bottom: 0.1rem">
|
||||||
<span>{{$t('resultofhandling')}}</span>
|
<span>{{$t('resultofhandling')}}</span>
|
||||||
<span class="requiredClass">*</span>
|
<span class="requiredClass"
|
||||||
|
v-if="$route.query.taskDefinitionKey == 'Task Review' ||
|
||||||
|
$route.query.taskDefinitionKey == 'Task responsibility confirmation'">
|
||||||
|
*</span>
|
||||||
</div>
|
</div>
|
||||||
<van-field name="disposeResult"
|
<van-field name="disposeResult"
|
||||||
class="uploader"
|
class="uploader"
|
||||||
|
|||||||
@@ -83,7 +83,9 @@
|
|||||||
<img src="~@/assets/icon_reply.png" alt="">
|
<img src="~@/assets/icon_reply.png" alt="">
|
||||||
<span>{{$t('answer')}}</span>
|
<span>{{$t('answer')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="commentRight" @click="deleteClick(item)">
|
<div class="commentRight"
|
||||||
|
v-if="administrators || item.createBy == userInfoQuery.username"
|
||||||
|
@click="deleteClick(item)">
|
||||||
<img src="~@/assets/icon_rubbish.png" alt="">
|
<img src="~@/assets/icon_rubbish.png" alt="">
|
||||||
<span>{{$t('delete')}}</span>
|
<span>{{$t('delete')}}</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -107,7 +109,9 @@
|
|||||||
<div class="commentRight" @click="messageClick(item)">
|
<div class="commentRight" @click="messageClick(item)">
|
||||||
<img src="~@/assets/icon_reply.png" alt="">
|
<img src="~@/assets/icon_reply.png" alt="">
|
||||||
</div>
|
</div>
|
||||||
<div class="commentRight" @click="deleteClick(val)">
|
<div class="commentRight"
|
||||||
|
v-if="administrators || val.createBy == userInfoQuery.username"
|
||||||
|
@click="deleteClick(val)">
|
||||||
<img src="~@/assets/icon_rubbish.png" alt="">
|
<img src="~@/assets/icon_rubbish.png" alt="">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -152,11 +156,22 @@
|
|||||||
isDisplay: false,
|
isDisplay: false,
|
||||||
commentQuery: {},
|
commentQuery: {},
|
||||||
sendDisplay: true,
|
sendDisplay: true,
|
||||||
num: 1
|
num: 1,
|
||||||
|
userInfoQuery: {},
|
||||||
|
administrators: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
document.title = 'NIO GRP'
|
document.title = 'NIO GRP'
|
||||||
|
this.administrators = false
|
||||||
|
this.userInfoQuery = this.userInfo()
|
||||||
|
if (this.userInfo().userRoleList && this.userInfo().userRoleList.length > 0) {
|
||||||
|
this.userInfo().userRoleList.forEach(res => {
|
||||||
|
if (res.roleCode == 'admin') {
|
||||||
|
this.administrators = true
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
window.addEventListener('scroll', this.scrolling)
|
window.addEventListener('scroll', this.scrolling)
|
||||||
window.addEventListener('mousedown', this.handleonmousedown)
|
window.addEventListener('mousedown', this.handleonmousedown)
|
||||||
this.getQueryBy()
|
this.getQueryBy()
|
||||||
@@ -179,9 +194,9 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapGetters(['userInfo']),
|
...mapGetters(['userInfo']),
|
||||||
scrolling() {
|
// scrolling() {
|
||||||
this.isDisplay = false
|
// this.isDisplay = false
|
||||||
},
|
// },
|
||||||
handleonmousedown(e) {
|
handleonmousedown(e) {
|
||||||
if (e.srcElement.type == 'textarea' || e.target.type == 'textarea') {
|
if (e.srcElement.type == 'textarea' || e.target.type == 'textarea') {
|
||||||
|
|
||||||
@@ -192,7 +207,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
iconClick() {
|
iconClick() {
|
||||||
|
if (this.$route.query.goRouter) {
|
||||||
|
this.$router.push({
|
||||||
|
path: this.$route.query.goRouter
|
||||||
|
})
|
||||||
|
} else {
|
||||||
this.$router.go(-1)
|
this.$router.go(-1)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
viewAdd() {
|
viewAdd() {
|
||||||
let query = {
|
let query = {
|
||||||
|
|||||||
@@ -103,7 +103,7 @@
|
|||||||
</van-step>
|
</van-step>
|
||||||
</van-steps>
|
</van-steps>
|
||||||
</van-collapse-item>
|
</van-collapse-item>
|
||||||
<van-collapse-item :title="examineTitle" name="4" v-if="!queryData.isDisplay">
|
<van-collapse-item :title="$t('taskHandling')" name="4" v-if="!queryData.isDisplay">
|
||||||
<van-form @submit="onSubmit" ref="form">
|
<van-form @submit="onSubmit" ref="form">
|
||||||
<div class="resultofhandlingClass" style="margin-bottom: 0.1rem">
|
<div class="resultofhandlingClass" style="margin-bottom: 0.1rem">
|
||||||
<span>{{$t('resultofhandling')}}</span>
|
<span>{{$t('resultofhandling')}}</span>
|
||||||
|
|||||||
@@ -5,8 +5,10 @@
|
|||||||
<span class="logoTitle">NIO GRP</span>
|
<span class="logoTitle">NIO GRP</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="content-box">
|
<div class="content-box">
|
||||||
|
<form action="/">
|
||||||
<van-search v-model="value" @search="onSearch" left-icon="none" right-icon="search"
|
<van-search v-model="value" @search="onSearch" left-icon="none" right-icon="search"
|
||||||
:placeholder="$t('phoneSearch')"/>
|
:placeholder="$t('phoneSearch')"/>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="content-box-value">
|
<div class="content-box-value">
|
||||||
<div class="left-img">
|
<div class="left-img">
|
||||||
|
|||||||
@@ -16,11 +16,13 @@
|
|||||||
<!-- @cancel="onClear"-->
|
<!-- @cancel="onClear"-->
|
||||||
<!-- :action-text="$t('reset')"-->
|
<!-- :action-text="$t('reset')"-->
|
||||||
<!-- :placeholder="$t('phoneSearch')"/>-->
|
<!-- :placeholder="$t('phoneSearch')"/>-->
|
||||||
|
<form action="/" style="width: 100%;">
|
||||||
<van-search v-model="value"
|
<van-search v-model="value"
|
||||||
@search="onSearch"
|
@search="onSearch"
|
||||||
@clear="onClear"
|
@clear="onClear"
|
||||||
@cancel="onClear"
|
@cancel="onClear"
|
||||||
:placeholder="$t('phoneSearch')"/>
|
:placeholder="$t('phoneSearch')"/>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<van-tabs v-model="activeTab" :ellipsis="false" @change="activeChange">
|
<van-tabs v-model="activeTab" :ellipsis="false" @change="activeChange">
|
||||||
@@ -275,7 +277,9 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
iconClick() {
|
iconClick() {
|
||||||
this.$router.go(-1)
|
this.$router.push({
|
||||||
|
path: '/phoneSearch'
|
||||||
|
})
|
||||||
},
|
},
|
||||||
onSearch() {
|
onSearch() {
|
||||||
this.searchValue = this.value
|
this.searchValue = this.value
|
||||||
@@ -344,15 +348,18 @@
|
|||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/phoneDocumentDetails',
|
path: '/phoneDocumentDetails',
|
||||||
query: {
|
query: {
|
||||||
id: item.id.slice(0, 32)
|
id: item.id.slice(0, 32),
|
||||||
|
goRouter: '/phoneSearchList'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else if (item.module_type_flag == 'WTZSK' || item.module_type_flag == 'ZSFX') {
|
} else if (item.module_type_flag == 'WTZSK' || item.module_type_flag == 'ZSFX') {
|
||||||
this.recentBrowseAdd('Knowledge sharing', item.id)
|
let id = item.id.replace('base', '')
|
||||||
|
this.recentBrowseAdd('Knowledge sharing', id)
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/phoneProblemKnowledgeBase',
|
path: '/phoneProblemKnowledgeBase',
|
||||||
query: {
|
query: {
|
||||||
id: item.id
|
id: id,
|
||||||
|
goRouter: '/phoneSearchList'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else if (item.module_type_flag == 'FGYB') {
|
} else if (item.module_type_flag == 'FGYB') {
|
||||||
|
|||||||
@@ -3,10 +3,12 @@
|
|||||||
<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="/">
|
||||||
<van-search v-model="phoneQueryValue"
|
<van-search v-model="phoneQueryValue"
|
||||||
@search="onSearch"
|
@search="onSearch"
|
||||||
@clear="onClear"
|
@clear="onClear"
|
||||||
:placeholder="$t('phoneSearch')"/>
|
:placeholder="$t('phoneSearch')"/>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<van-tabs v-model="activeTab" @change="activeChange">
|
<van-tabs v-model="activeTab" @change="activeChange">
|
||||||
@@ -14,11 +16,11 @@
|
|||||||
<van-tab name="processDone" :title="$t('processDone')"></van-tab>
|
<van-tab name="processDone" :title="$t('processDone')"></van-tab>
|
||||||
<van-tab name="sentProcess" :title="$t('sentProcess')"></van-tab>
|
<van-tab name="sentProcess" :title="$t('sentProcess')"></van-tab>
|
||||||
</van-tabs>
|
</van-tabs>
|
||||||
|
</div>
|
||||||
<div class="search-right">
|
<div class="search-right">
|
||||||
<van-icon @click="searchIconClick" class="search-right-icon" name="filter-o"/>
|
<van-icon @click="searchIconClick" class="search-right-icon" name="filter-o"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="content-box" v-if="activeTab == 'toDoProcess'">
|
<div class="content-box" v-if="activeTab == 'toDoProcess'">
|
||||||
<van-list
|
<van-list
|
||||||
@@ -731,6 +733,8 @@
|
|||||||
margin-top: 0.38rem;
|
margin-top: 0.38rem;
|
||||||
position: relative;
|
position: relative;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
display: flex;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .van-tabs__line {
|
::v-deep .van-tabs__line {
|
||||||
@@ -756,12 +760,14 @@
|
|||||||
::v-deep .van-tabs {
|
::v-deep .van-tabs {
|
||||||
padding: 0 0.4rem;
|
padding: 0 0.4rem;
|
||||||
width: calc(100% - 1rem);
|
width: calc(100% - 1rem);
|
||||||
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-right {
|
.search-right {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
/*margin-right: 0.4rem;*/
|
||||||
|
top: 1.55rem;
|
||||||
right: 0.4rem;
|
right: 0.4rem;
|
||||||
top: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-right-icon {
|
.search-right-icon {
|
||||||
|
|||||||
Reference in New Issue
Block a user