+
- -
@@ -1005,8 +1005,14 @@ export default {
/deep/ .el-form-item__label{
width: 112px !important;
}
+ /deep/ .van-field__label{
+ width: 112px !important;
+ }
/deep/ .el-form-item__content{
margin-left: 112px !important;
+ .wrap,.el-radio-group{
+ padding-left: 10px;
+ }
}
/deep/.el-select .el-input .el-select__caret {
font-size: 0;
@@ -1023,8 +1029,12 @@ export default {
min-height: 300px;
padding: 10px;
}
-
-
+ /deep/ .van-field__control{
+ padding-left: 10px !important;
+ }
+ .paddingLeft{
+ padding-left: 10px;;
+ }
position: relative;
height: 100%;
diff --git a/src/pages/regulatoryRepository/standQA/index.vue b/src/pages/regulatoryRepository/standQA/index.vue
index 8f02d804b..a951bf09e 100644
--- a/src/pages/regulatoryRepository/standQA/index.vue
+++ b/src/pages/regulatoryRepository/standQA/index.vue
@@ -103,7 +103,7 @@
选择标准
- {{ questionForm.standSortShow }} {{questionForm.standNumber }}-{{ questionForm.standYear }}
+ {{ questionForm.standSortShow }} {{questionForm.standNumber }}{{ questionForm.standYear === '' ? '' : '-' }}{{ questionForm.standYear }}
{{questionForm.standardName}}
@@ -1057,16 +1057,21 @@ export default {
},
//提交问题
queSubmit(){
- this.isSubmit = true
+ // this.isSubmit = true
if(this.standType === 'OTHER'){
this.questionForm.standardId = this.questionForm.pubQue
this.questionForm.standardName = this.questionForm.pubQue
this.questionForm.standardEncdoing = this.questionForm.pubQue
}
+ if(!this.questionForm.standardId){
+ this.$message.warning('请选择至少一条标准')
+ return
+ }
if(this.questionForm.standardId){
this.questionForm.fileList = this.fileList
this.$refs['queForm'].validate((valid) => {
if(valid){
+ this.isSubmit = true
this.$http.postData('lawss/AskQuestions/insertAskQuestions',{ ...this.questionForm },
{
_this: this