Browse Source

Fix UDF function list delete data without refresh and page data display widened #1851 (#1853)

* fix udfs assignment and task instance page jump #1789

* jest add coverage display

* Fix data echo, style, popup cannot be closed and license

* Fix data echo, style, popup cannot be closed and license

* fix

* Requests the previous page when there is no data on the list page

* Fix DAG task nodes keep requesting API and tooltip background color modification

* Modify list tooltip theme color

* Fix UDF function list delete data without refresh and page data display widened
pull/2/head
break60 5 years ago committed by qiaozhanwei
parent
commit
9549910fcc
  1. 3
      dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/createUdf.vue
  2. 3
      dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/list.vue
  3. 6
      dolphinscheduler-ui/src/js/module/components/transfer/resource.vue

3
dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/createUdf.vue

@ -76,7 +76,8 @@
filterable filterable
v-model="resourceId" v-model="resourceId"
:disabled="isUpdate" :disabled="isUpdate"
style="width: 200px"> :add-title="true"
style="width: 261px">
<x-option <x-option
v-for="city in udfResourceList" v-for="city in udfResourceList"
:key="city.id" :key="city.id"

3
dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/list.vue

@ -142,7 +142,7 @@ v-ps<template>
id: item.id id: item.id
}).then(res => { }).then(res => {
this.$refs[`poptip-${i}`][0].doClose() this.$refs[`poptip-${i}`][0].doClose()
this.$emit('_updateList') this.$emit('on-update')
this.$message.success(res.msg) this.$message.success(res.msg)
}).catch(e => { }).catch(e => {
this.$refs[`poptip-${i}`][0].doClose() this.$refs[`poptip-${i}`][0].doClose()
@ -156,6 +156,7 @@ v-ps<template>
showMask: true, showMask: true,
escClose: true, escClose: true,
className: 'v-modal-custom', className: 'v-modal-custom',
width: '800px',
transitionName: 'opacityp', transitionName: 'opacityp',
render (h) { render (h) {
return h(mCreateUdf, { return h(mCreateUdf, {

6
dolphinscheduler-ui/src/js/module/components/transfer/resource.vue

@ -17,7 +17,7 @@
<template> <template>
<m-popup :ok-text="$t('Submit')" :nameText="type.name + $t('Authorize')" @ok="_ok" ref="popup"> <m-popup :ok-text="$t('Submit')" :nameText="type.name + $t('Authorize')" @ok="_ok" ref="popup">
<template slot="content"> <template slot="content">
<div class="clearfix transfer-model"> <div class="clearfix transfer-model" style="width: 660px">
<div> <div>
<x-button-group v-model="checkedValue" size="small"> <x-button-group v-model="checkedValue" size="small">
<x-button type="ghost" value="fileResource" @click="_ckFile">{{$t('File resources')}}</x-button> <x-button type="ghost" value="fileResource" @click="_ckFile">{{$t('File resources')}}</x-button>
@ -195,7 +195,7 @@
.transfer-model { .transfer-model {
padding: 0 20px; padding: 0 20px;
.select-list-box { .select-list-box {
width: 220px; width: 300px;
float: left; float: left;
border: 1px solid #dcdee2; border: 1px solid #dcdee2;
border-radius: 3px; border-radius: 3px;
@ -237,7 +237,7 @@
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
width: 210px; width: 290px;
display: inline-block; display: inline-block;
} }
&:hover { &:hover {

Loading…
Cancel
Save