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