修改点击清空无法清空高级检索的字段
布局评论
This commit is contained in:
@@ -735,4 +735,6 @@ module.exports = {
|
||||
Returning:'Returning',
|
||||
terminationProcessing:'Termination process',
|
||||
publishComment:'publish comment',
|
||||
record:'record',
|
||||
replyToComments:'Reply to comments',
|
||||
}
|
||||
@@ -740,4 +740,6 @@ module.exports = {
|
||||
Returning:'退回中',
|
||||
terminationProcessing:'终止流程中',
|
||||
publishComment:'发表评论',
|
||||
record:'记录',
|
||||
replyToComments:'回复评论',
|
||||
}
|
||||
@@ -88,7 +88,8 @@
|
||||
{{$t('DocumentStandard')}}
|
||||
</div>
|
||||
<div class="operator-text" v-has="'document:importZip'" v-if="isTrue">
|
||||
<ImportFile :url="url" :dummyInventoryBaseId="$route.query.id" :isTrue="true" @getList="getPersonnelList" :accept="'.zip'"/>
|
||||
<ImportFile :url="url" :dummyInventoryBaseId="$route.query.id" :isTrue="true" @getList="getPersonnelList"
|
||||
:accept="'.zip'"/>
|
||||
</div>
|
||||
<!-- 模板下载-->
|
||||
<div @click="handleModule" class="operator-text" v-if="isTrue">
|
||||
@@ -560,6 +561,8 @@
|
||||
this.getList()
|
||||
},
|
||||
searchReset() {
|
||||
this.$refs.globalAdvancedQueryRef.resetLine()
|
||||
this.$refs.globalAdvancedQueryRef.emitCallback()
|
||||
this.queryParam = {}
|
||||
this.getList()
|
||||
},
|
||||
@@ -625,8 +628,8 @@
|
||||
}
|
||||
})
|
||||
},
|
||||
getPersonnelList(){
|
||||
this.getList()
|
||||
getPersonnelList() {
|
||||
this.getList()
|
||||
},
|
||||
batSettingList() {
|
||||
this.getList()
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
</div>
|
||||
<div class="comment-box">
|
||||
<div class="comment-box-top-box" v-for="(item,index) in 3">
|
||||
<div class="title-text">记录{{(index + 1)}}</div>
|
||||
<div class="title-text">{{$t('record')+(index + 1)}}</div>
|
||||
<div class="box-content">
|
||||
<div class="img-box">
|
||||
<img src="../../../assets/daiban.png" class="img" alt="">
|
||||
@@ -25,7 +25,7 @@
|
||||
<div class="box-text-text">
|
||||
法规清单缺少标准’’GB 7258“,注意补充
|
||||
</div>
|
||||
<div class="box-icon">
|
||||
<div class="box-icon" @click="messageClick()">
|
||||
<a-icon type="message"/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -41,7 +41,7 @@
|
||||
<div class="box-text-text">
|
||||
法规清单缺少标准’’GB 7258“,注意补充
|
||||
</div>
|
||||
<div class="box-icon">
|
||||
<div class="box-icon" @click="messageClick()">
|
||||
<a-icon type="message"/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -50,7 +50,7 @@
|
||||
</div>
|
||||
</a-drawer>
|
||||
<a-modal
|
||||
:title="$t('publishComment')"
|
||||
:title="title"
|
||||
:width="500"
|
||||
:visible="visibleComment"
|
||||
:confirm-loading="confirmLoading"
|
||||
@@ -63,13 +63,13 @@
|
||||
<a-col :span="24">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text">
|
||||
<span class="title-text-text" :title="$t('publishComment')">{{$t('publishComment')}}</span>
|
||||
<span class="title-text-text" :title="title">{{title}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" :prop="'remarks'">
|
||||
<a-form-model-item class="itemModel" :prop="'publishComment'">
|
||||
<a-textarea
|
||||
:placeholder="$t('PleaseEnter')+$t('publishComment')"
|
||||
:placeholder="$t('PleaseEnter')+title"
|
||||
:disabled="false"
|
||||
v-model="formInline.remark" :rows="4"/>
|
||||
v-model="formInline.publishComment" :rows="4"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
@@ -87,9 +87,18 @@
|
||||
return {
|
||||
visible: false,
|
||||
formInline: {},
|
||||
title: this.$t('comment'),
|
||||
confirmLoading: false,
|
||||
visibleComment: false,
|
||||
rules: {}
|
||||
rules: {
|
||||
publishComment: [
|
||||
{
|
||||
required: true,
|
||||
message: this.$t('publishComment') + this.$t('cannotEmpty'),
|
||||
trigger: 'blur'
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
@@ -102,15 +111,24 @@
|
||||
this.visible = true
|
||||
},
|
||||
handleSubmit() {
|
||||
this.title = this.$t('publishComment')
|
||||
this.visibleComment = true
|
||||
},
|
||||
handleOkComment() {
|
||||
this.$refs.ruleForm.validate(valid => {
|
||||
if (valid) {
|
||||
|
||||
}
|
||||
})
|
||||
this.visibleComment = false
|
||||
},
|
||||
handleCancelComment() {
|
||||
this.visibleComment = false
|
||||
},
|
||||
messageClick() {
|
||||
this.title = this.$t('replyToComments')
|
||||
this.visibleComment = true
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -233,7 +251,7 @@
|
||||
}
|
||||
|
||||
.title-text {
|
||||
width: 44px;
|
||||
width: 64px;
|
||||
text-align: right;
|
||||
display: inline-block;
|
||||
font-weight: 500;
|
||||
|
||||
@@ -689,6 +689,8 @@
|
||||
this.getList()
|
||||
},
|
||||
searchReset() {
|
||||
this.$refs.globalAdvancedQueryRef.resetLine()
|
||||
this.$refs.globalAdvancedQueryRef.emitCallback()
|
||||
this.queryParam = {}
|
||||
this.getList()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user