修改禅道已知bug
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
<div class="box-title-text" v-if="isInput">
|
||||
<a-input :class="{'box-input':!isClass}" :value="value"
|
||||
readonly
|
||||
:title="value"
|
||||
@click.native="standardClick"
|
||||
:placeholder="$t('PleaseSelect')+query.db_field_txt"/>
|
||||
</div>
|
||||
|
||||
+11
@@ -43,6 +43,7 @@
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="endTime">
|
||||
<a-date-picker class="box-input"
|
||||
:disabledDate="disabledDate"
|
||||
:placeholder="$t('PleaseSelect')+$t('closingDate')"
|
||||
@change="dateChange('endTime')"
|
||||
:getCalendarContainer="(trigger) => trigger.parentNode"
|
||||
@@ -162,6 +163,13 @@
|
||||
message: this.$t('Assessor') + this.$t('cannotEmpty'),
|
||||
trigger: 'change'
|
||||
}
|
||||
],
|
||||
taskExplain: [
|
||||
{
|
||||
max: 300,
|
||||
message: this.$t('taskDescription') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
|
||||
trigger: 'blur'
|
||||
}
|
||||
]
|
||||
},
|
||||
searchParmes: {},
|
||||
@@ -230,6 +238,9 @@
|
||||
},
|
||||
methods: {
|
||||
...mapGetters(['userInfo']),
|
||||
disabledDate(current) {
|
||||
return current && current < moment().subtract(1, 'day')
|
||||
},
|
||||
pageOnChange(page) {
|
||||
this.pageNo = page
|
||||
this.getList()
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
{{title}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-text">
|
||||
<div class="content-text-text">
|
||||
<a-form-model :model="formInline" class="formAdd" :rules="rules" ref="ruleForm">
|
||||
<div v-for="(item,index) in formInline.dataList" :key="index">
|
||||
<div class="feedbackPoint">
|
||||
@@ -63,7 +63,10 @@
|
||||
<div class="title-text">
|
||||
<span class="title-text-text" :title="$t('reason')">{{$t('reason')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel">
|
||||
<a-form-model-item class="itemModel"
|
||||
:prop="'dataList.'+index+'.reason'"
|
||||
:rules="[{max: 300,message: $t('reason') + $t('cannotExceed') + 300 + $t('Characters'),trigger: 'blur'
|
||||
}]">
|
||||
<a-input class="box-input"
|
||||
:disabled="disabled"
|
||||
v-model="item.reason"
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-text">
|
||||
<div class="text-field" v-for="(item,index) in standardContentList" :key="index">
|
||||
<div class="text-field" :class="{'text-content-button-one':item.type == 4 ? true :false}"
|
||||
v-for="(item,index) in standardContentList" :key="index">
|
||||
<span class="text-field-left" :title="item.title">{{item.title}}</span>
|
||||
<span class="text-field-right text-field-right-url"
|
||||
:title="queryForm[item.value]"
|
||||
@@ -21,7 +22,6 @@
|
||||
@click="clickButtonToUpload(queryForm[item.value])"
|
||||
v-if="item.type == 2 && queryForm[item.value]"
|
||||
>{{ $t('viewFile') }}</span>
|
||||
|
||||
<span class="text-field-right"
|
||||
:title="queryForm[item.value]" v-else
|
||||
>{{queryForm[item.value]}}</span>
|
||||
@@ -58,14 +58,14 @@
|
||||
type: Object,
|
||||
default: {}
|
||||
},
|
||||
title:{
|
||||
type:String,
|
||||
default:'',
|
||||
},
|
||||
isConfirmationDeadline:{
|
||||
type:Boolean,
|
||||
default:false,
|
||||
title: {
|
||||
type: String,
|
||||
default: ''
|
||||
},
|
||||
isConfirmationDeadline: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
components: {
|
||||
viewFileModel
|
||||
@@ -77,6 +77,7 @@
|
||||
},
|
||||
mounted() {
|
||||
this.queryForm = this.standardContentQuery
|
||||
this.queryForm.taskExplain = 'sdf dsjf;l sdf;ldsf ;lsdfkj d;lsfkds;lfdksf第三方是德国搞定过分乐观看待给对方;公开地方领导反馈给东丽的反馈给管库给的给'
|
||||
},
|
||||
methods: {
|
||||
urlClick(val) {
|
||||
@@ -147,5 +148,40 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.text-content-button-one {
|
||||
width: 100%;
|
||||
|
||||
.text-field-left {
|
||||
width: 124px;
|
||||
display: inline-block;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #6F7385;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
margin-right: 24px;
|
||||
float: left;
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
.text-field-right {
|
||||
width: calc(100% - 200px);
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: pre-wrap;
|
||||
overflow: visible;
|
||||
float: left;
|
||||
color: #040B29;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.text-field-right-url {
|
||||
color: #00B3BE !important;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -88,7 +88,8 @@
|
||||
{},
|
||||
{
|
||||
title: this.$t('taskDescription'),
|
||||
value: 'taskExplain'
|
||||
value: 'taskExplain',
|
||||
type:4,
|
||||
}
|
||||
// {
|
||||
// title: this.$t('remarks'),
|
||||
|
||||
Reference in New Issue
Block a user