|
|
@ -34,7 +34,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
<!-- qc才能操作 --> |
|
|
<!-- qc才能操作 --> |
|
|
<div class="handle-row" v-if="isShowHandle()"> |
|
|
<div class="handle-row" v-if="isShowHandle()"> |
|
|
<el-checkbox :checked="getChecked()" v-if="this.templateFillType === 'qc'" class="mr-5" |
|
|
|
|
|
|
|
|
<el-checkbox :checked="getChecked()" v-if="getIsShowCheckboxIcon()" :disabled="getCheckboxDisabled()" class="mr-5" |
|
|
@change="onCheckboxChange"></el-checkbox> |
|
|
@change="onCheckboxChange"></el-checkbox> |
|
|
<div class="handle-icon" v-if="getIsShowQuestionIcon()" @click="onClickQuestion" |
|
|
<div class="handle-icon" v-if="getIsShowQuestionIcon()" @click="onClickQuestion" |
|
|
@mouseenter="(e) => onMouseEnter('replyRecord', e)" @mouseleave="onMouseLeave"> |
|
|
@mouseenter="(e) => onMouseEnter('replyRecord', e)" @mouseleave="onMouseLeave"> |
|
|
@ -453,6 +453,18 @@ export default { |
|
|
} |
|
|
} |
|
|
this.$emit("clickable", item) |
|
|
this.$emit("clickable", item) |
|
|
}, |
|
|
}, |
|
|
|
|
|
//判断是否禁用复选框 |
|
|
|
|
|
getCheckboxDisabled(){ |
|
|
|
|
|
//只有qc能操作checkbox,其他都只能看。 |
|
|
|
|
|
return this.templateFillType !== 'qc' |
|
|
|
|
|
}, |
|
|
|
|
|
//判断是否显示复选框图标 |
|
|
|
|
|
getIsShowCheckboxIcon() { |
|
|
|
|
|
if(this.templateFillType === 'qc'){ |
|
|
|
|
|
return true; |
|
|
|
|
|
} |
|
|
|
|
|
return this.getChecked(); |
|
|
|
|
|
}, |
|
|
//判断是否显示复制按钮 |
|
|
//判断是否显示复制按钮 |
|
|
getIsShowCopyIcon() { |
|
|
getIsShowCopyIcon() { |
|
|
const { copyFrom } = this.item; |
|
|
const { copyFrom } = this.item; |
|
|
|