|
@@ -104,7 +104,7 @@
|
|
|
<el-option
|
|
|
v-for="item in serviceList"
|
|
|
:key="item.id"
|
|
|
- :label="item.name"
|
|
|
+ :label="item.service_name_cn"
|
|
|
:value="item.service_name"
|
|
|
/>
|
|
|
</el-select>
|
|
@@ -299,7 +299,7 @@
|
|
|
<script>
|
|
|
import { urlMappingSubdigits, urlMappingSublist, updateUrlMapping, addUrlMapping, getUrlMapping, favor, uploadExcel } from '@/api/mapping'
|
|
|
import storage from '@/utils/storage'
|
|
|
-import { listService } from '@/api/service'
|
|
|
+import { fatchServiceList } from '@/api/service'
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
@@ -368,9 +368,7 @@ export default {
|
|
|
serviceParams: {
|
|
|
app_alias: '',
|
|
|
start_time: '',
|
|
|
- end_time: '',
|
|
|
- pageIndex: 1,
|
|
|
- pageSize: 200
|
|
|
+ end_time: ''
|
|
|
},
|
|
|
total: 0,
|
|
|
subList: [],
|
|
@@ -388,7 +386,6 @@ export default {
|
|
|
if (newValue) {
|
|
|
this.serviceParams.start_time = newValue.startTime
|
|
|
this.serviceParams.end_time = newValue.endTime
|
|
|
- this.serviceParams.pageIndex = 1
|
|
|
|
|
|
this.subdigitsQuery.start_time = newValue.startTime
|
|
|
this.subdigitsQuery.end_time = newValue.endTime
|
|
@@ -461,9 +458,9 @@ export default {
|
|
|
},
|
|
|
// 获取该业务的服务list
|
|
|
getServiceList() {
|
|
|
- listService(this.serviceParams).then(res => {
|
|
|
+ fatchServiceList(this.serviceParams).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
- this.serviceList = res.data.list
|
|
|
+ this.serviceList = res.data.service_list
|
|
|
} else {
|
|
|
this.serviceList = []
|
|
|
}
|