修改禅道已知bug

This commit is contained in:
qq787203167
2022-07-04 11:38:14 +08:00
parent e644205ca2
commit 3f91811690
4 changed files with 105 additions and 42 deletions
+8 -8
View File
@@ -942,14 +942,14 @@ module.exports = {
reportNotUploaded: 'Report not uploaded', reportNotUploaded: 'Report not uploaded',
position: 'position', position: 'position',
// 认证权限状态 // 认证权限状态
CollectionInitiated: 'Collection to be initiated', CollectionInitiated: 'Wait Collect',
handledInterface: 'To be handled by the project interface', handledInterface: 'Wait Sdt',
ReturnedPerson: 'Returned by project contact person', ReturnedPerson: 'Sdt Back',
completed: 'To be completed', completed: 'Wait Fill',
Filledreturn: 'Filled by return', Filledreturn: 'Dre Back',
Submitted: 'Submitted', Submitted: 'Submit',
ReturnedEngineer: 'Returned by Certification Engineer', ReturnedEngineer: 'Cert Back',
SynchronizedLibrary: 'Synchronized to the upper reporting Library', SynchronizedLibrary: 'Sync Report',
Statusis: 'Statusis', Statusis: 'Statusis',
toHavePermission: 'To Have Permission', toHavePermission: 'To Have Permission',
and: 'and', and: 'and',
@@ -28,7 +28,8 @@
<a-input class="box-input inputWid" <a-input class="box-input inputWid"
:disabled="item.isLock == '1' ? true: false" :disabled="item.isLock == '1' ? true: false"
:placeholder="$t('pleaseEnter')+$t('chinese')" :placeholder="$t('pleaseEnter')+$t('chinese')"
onkeyup="value=value.replace(/[^\u4e00-\u9fa5]/g,'')" event.returnValue="false"
onkeyup="(this.a=function(){this.value=this.value.replace(/[^\u4e00-\u9fa5]/g,'');}).call(this)"
v-model="item.dataValue"/> v-model="item.dataValue"/>
</div> </div>
<!-- 正整数 --> <!-- 正整数 -->
@@ -179,9 +180,10 @@
<div v-else-if="item.controlVerify == '2'"> <div v-else-if="item.controlVerify == '2'">
<a-input class="box-input inputWid" <a-input class="box-input inputWid"
:maxLength="1000" :maxLength="1000"
event.returnValue="false"
:disabled="item.isLock == '1' ? true: false" :disabled="item.isLock == '1' ? true: false"
:placeholder="$t('pleaseEnter')+$t('chinese')" :placeholder="$t('pleaseEnter')+$t('chinese')"
onkeyup="value=value.replace(/[^\u4e00-\u9fa5]/g,'')" onkeyup="(this.a=function(){this.value=this.value.replace(/[^\u4e00-\u9fa5]/g,'');}).call(this)"
v-model="item.dataValue"/> v-model="item.dataValue"/>
</div> </div>
<!-- 正整数 --> <!-- 正整数 -->
@@ -274,9 +276,10 @@
<div v-else-if="item.controlVerify == '2'"> <div v-else-if="item.controlVerify == '2'">
<a-input class="box-input inputWid" <a-input class="box-input inputWid"
:maxLength="1000" :maxLength="1000"
event.returnValue="false"
:disabled="item.isLock == '1' ? true: false" :disabled="item.isLock == '1' ? true: false"
:placeholder="$t('pleaseEnter')+$t('chinese')" :placeholder="$t('pleaseEnter')+$t('chinese')"
onkeyup="value=value.replace(/[^\u4e00-\u9fa5]/g,'')" onkeyup="(this.a=function(){this.value=this.value.replace(/[^\u4e00-\u9fa5]/g,'');}).call(this)"
v-model="item.dataValue"/> v-model="item.dataValue"/>
</div> </div>
<!-- 正整数 --> <!-- 正整数 -->
@@ -381,9 +384,10 @@
<div v-else-if="item.controlVerify == '2'"> <div v-else-if="item.controlVerify == '2'">
<a-input class="box-input inputWid" <a-input class="box-input inputWid"
:maxLength="1000" :maxLength="1000"
event.returnValue="false"
:disabled="item.isLock == '1' ? true: false" :disabled="item.isLock == '1' ? true: false"
:placeholder="$t('pleaseEnter')+$t('chinese')" :placeholder="$t('pleaseEnter')+$t('chinese')"
onkeyup="value=value.replace(/[^\u4e00-\u9fa5]/g,'')" onkeyup="(this.a=function(){this.value=this.value.replace(/[^\u4e00-\u9fa5]/g,'');}).call(this)"
v-model="item.dataValue"/> v-model="item.dataValue"/>
</div> </div>
<!-- 正整数 --> <!-- 正整数 -->
@@ -544,8 +548,9 @@
<a-input class="box-input inputWid" <a-input class="box-input inputWid"
:disabled="item.isLock == '1' ? true: false" :disabled="item.isLock == '1' ? true: false"
:maxLength="1000" :maxLength="1000"
event.returnValue="false"
:placeholder="$t('pleaseEnter')+$t('chinese')" :placeholder="$t('pleaseEnter')+$t('chinese')"
onkeyup="value=value.replace(/[^\u4e00-\u9fa5]/g,'')" onkeyup="(this.a=function(){this.value=this.value.replace(/[^\u4e00-\u9fa5]/g,'');}).call(this)"
v-model="item.dataValue"/> v-model="item.dataValue"/>
</div> </div>
<!-- 正整数 --> <!-- 正整数 -->
@@ -81,7 +81,7 @@
</a-row> </a-row>
</a-form-model> </a-form-model>
</a-spin> </a-spin>
<div class='drawer-bootom-button'> <div class='drawer-bootom-button' style="margin-top: 4px">
<a-button style='margin-right: .8rem' @click='handleCancel'>{{ $t('cancel') }}</a-button> <a-button style='margin-right: .8rem' @click='handleCancel'>{{ $t('cancel') }}</a-button>
<a-button @click='handleSubmit' type='primary' :loading='confirmLoading'>{{ $t('submit') }}</a-button> <a-button @click='handleSubmit' type='primary' :loading='confirmLoading'>{{ $t('submit') }}</a-button>
</div> </div>
@@ -284,9 +284,9 @@
<style lang='less' scoped> <style lang='less' scoped>
@import '~@assets/less/common.less'; @import '~@assets/less/common.less';
/deep/ .ant-form-explain { /*/deep/ .ant-form-explain {*/
padding-left: 62px; /* padding-left: 62px;*/
} /*}*/
.diolag-area { .diolag-area {
.table-area { .table-area {
@@ -64,6 +64,26 @@
v-model="formInline.dre"></a-input> v-model="formInline.dre"></a-input>
</div> </div>
</a-col> </a-col>
<a-col :md="6" :sm="8">
<div class="box-title-text">
<div class="title-text" :title="$t('status')">
<span>{{$t('status')}}</span>
</div>
<a-select :placeholder="$t('PleaseSelect')+$t('status')"
class="box-input"
allowClear
:getPopupContainer="triggerNode=> triggerNode.parentNode"
v-model="formInline.state">
<a-select-option v-for="(item, key) in statusList"
:key="key"
:value="item.value">
<span style="display: inline-block;width: 100%" :title=" item.name ">
{{ item.name}}
</span>
</a-select-option>
</a-select>
</div>
</a-col>
<span style="float: right;overflow: hidden;margin-right: 11px" <span style="float: right;overflow: hidden;margin-right: 11px"
class="table-page-search-submitButtons"> class="table-page-search-submitButtons">
<a-col :md="6" :sm="24"> <a-col :md="6" :sm="24">
@@ -387,6 +407,44 @@
SynchronousSubmissionLibrary SynchronousSubmissionLibrary
}, },
data() { data() {
this.statusList = [
{
value:'1',
name:this.$t('CollectionInitiated')
},
{
value:'2',
name:this.$t('handledInterface')
},
{
value:'3',
name:this.$t('ReturnedPerson')
},
{
value:'4',
name:this.$t('completed')
},
{
value:'5',
name:this.$t('Filledreturn')
},
{
value:'6',
name:this.$t('Submitted')
},
{
value:'7',
name:this.$t('ReturnedEngineer')
},
{
value:'8',
name:this.$t('SynchronizedLibrary')
},
{
value:'9',
name:this.$t('alteration')
}
]
return { return {
// 认证工程师 homo // 认证工程师 homo
// 工程接口人 sdt // 工程接口人 sdt
@@ -1342,7 +1400,7 @@
if (res.data.success) { if (res.data.success) {
_this.$message.success(_this.$t('OperationSuccessful')) _this.$message.success(_this.$t('OperationSuccessful'))
_this.selectedRowKeys = [] _this.selectedRowKeys = []
_this.$refs.CollectionTabel.getData() // _this.$refs.CollectionTabel.getData()
_this.$refs.CollectionTabel.getTableList() _this.$refs.CollectionTabel.getTableList()
_this.textLoading = false _this.textLoading = false
} else { } else {