[update] 54853

This commit is contained in:
zhaomeijing
2022-06-23 12:08:00 +08:00
parent 7068a68e04
commit 15ba0ee98f
@@ -55,7 +55,7 @@
> >
<a-row :gutter='24'> <a-row :gutter='24'>
<a-col :span='24'> <a-col :span='24'>
<a-form-model-item ref='region' :label="$t('engineeringInterfacePerson')" prop='region'> <a-form-model-item ref='region' :label="$t('engineeringInterfacePerson')" prop='querySdt'>
<a-select allowClear :placeholder="$t('PleaseSelect')+$t('engineeringInterfacePerson')" v-model="Dateline.querySdt"> <a-select allowClear :placeholder="$t('PleaseSelect')+$t('engineeringInterfacePerson')" v-model="Dateline.querySdt">
<a-select-option v-for="(item, key) in querySdtList" :key="key" :value="item.value"> <a-select-option v-for="(item, key) in querySdtList" :key="key" :value="item.value">
<span style="display: inline-block;width: 100%" :title=" item.label "> <span style="display: inline-block;width: 100%" :title=" item.label ">
@@ -212,9 +212,9 @@
areaVisible: false, areaVisible: false,
form: {}, form: {},
rules: { rules: {
// templatetitle: [ querySdt: [
// { required: true, message: this.$t('enterTitle'), trigger: 'blur' } { required: true, message: this.$t('PleaseSelect')+this.$t('engineeringInterfacePerson'), trigger: 'blur' }
// ] ]
}, },
wrapperCol: { wrapperCol: {
xs: { span: 24 }, xs: { span: 24 },
@@ -285,6 +285,8 @@
handleSubmit(record) { handleSubmit(record) {
let _this = this let _this = this
let param = { sdt: this.Dateline.querySdt, ids: this.getquerySdtId } let param = { sdt: this.Dateline.querySdt, ids: this.getquerySdtId }
this.$refs.ruleForm.validate(valid => {
if (valid) {
axios({ axios({
url: '/jero-boot/params/collectManifest/updateSdt', url: '/jero-boot/params/collectManifest/updateSdt',
method: 'post', method: 'post',
@@ -314,6 +316,8 @@
.catch((error) => { .catch((error) => {
console.log(error) console.log(error)
}) })
}
})
}, },
// 工程接口人 取消 // 工程接口人 取消
cancleImports() { cancleImports() {