优化
This commit is contained in:
parent
62e2b80ab4
commit
4eadfb7e3f
@ -136,7 +136,11 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
checkSelectable (row, index) {
|
checkSelectable (row, index) {
|
||||||
return this.nOSec && row.score === 0
|
if (!this.nOSec) {
|
||||||
|
return true
|
||||||
|
} else {
|
||||||
|
return row.score === 0
|
||||||
|
}
|
||||||
},
|
},
|
||||||
handlePopupCreat () {
|
handlePopupCreat () {
|
||||||
this.$emit('update:showChooseList', false)
|
this.$emit('update:showChooseList', false)
|
||||||
|
|||||||
@ -8,7 +8,10 @@
|
|||||||
class="taskDetailRight-contant"
|
class="taskDetailRight-contant"
|
||||||
@click.stop="aa"
|
@click.stop="aa"
|
||||||
>
|
>
|
||||||
<div class="taskDetailRight-contant-title commonFont">{{title}}</div>
|
<div class="taskDetailRight-contant-title commonFont">
|
||||||
|
<div style="flex:1;">{{title}}</div>
|
||||||
|
<i v-if="!footer" @click="$emit('cancel')" class="el-icon-close"></i>
|
||||||
|
</div>
|
||||||
<div class="taskDetailRight-contant-content">
|
<div class="taskDetailRight-contant-content">
|
||||||
<slot name="content"></slot>
|
<slot name="content"></slot>
|
||||||
</div>
|
</div>
|
||||||
@ -123,6 +126,14 @@ export default {
|
|||||||
&-title {
|
&-title {
|
||||||
border-bottom: 1px solid @borderColor;
|
border-bottom: 1px solid @borderColor;
|
||||||
padding: 10px 20px;
|
padding: 10px 20px;
|
||||||
|
display: flex;
|
||||||
|
height: 60px;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
i{
|
||||||
|
font-size: 22px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
&-content {
|
&-content {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
|||||||
@ -109,7 +109,7 @@
|
|||||||
v-if="right.showRight"
|
v-if="right.showRight"
|
||||||
@cancel='handleCancel'
|
@cancel='handleCancel'
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
:footer='true'
|
:footer='false'
|
||||||
:title="form.item.flowName"
|
:title="form.item.flowName"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user