|
@@ -99,7 +99,7 @@ export function setNumberValue(state,action){
|
|
|
if(it.value){ //至少有一个子值才黑显
|
|
|
hasValue = true;
|
|
|
}
|
|
|
- if(it.tagType===8&&!config.punctuationReg.test(it.name)){
|
|
|
+ if(it.tagType===8){
|
|
|
return it.name;
|
|
|
}else{
|
|
|
return (it.labelPrefix||'')+(it.value||'')+(it.labelSuffix||'');
|
|
@@ -155,7 +155,7 @@ export function setRadioValue(state,action){
|
|
|
if(it.value){ //至少有一个子值才黑显
|
|
|
hasValue = true;
|
|
|
}
|
|
|
- if(it.tagType===8&&!config.punctuationReg.test(it.name)){
|
|
|
+ if(it.tagType===8){
|
|
|
return it.name;
|
|
|
}else {
|
|
|
return (it.labelPrefix||'')+(it.value||'')+(it.labelSuffix||'');
|
|
@@ -192,7 +192,7 @@ export const setRadioInputValue = (state,action)=>{
|
|
|
if(it.value){ //至少有一个子值才黑显
|
|
|
hasValue = true;
|
|
|
}
|
|
|
- if(it.tagType===8&&!config.punctuationReg.test(it.name)){
|
|
|
+ if(it.tagType===8){
|
|
|
return it.name;
|
|
|
}else {
|
|
|
return (it.labelPrefix||'')+(it.value||'')+(it.labelSuffix||'');
|
|
@@ -228,7 +228,7 @@ export const setRadioInputValue = (state,action)=>{
|
|
|
if(res.data[index].tagType!=1){
|
|
|
let hasValue = false;
|
|
|
const sub = res.data[index].questionMapping.map((it)=>{
|
|
|
- if(it.tagType===8&&!config.punctuationReg.test(it.name)){
|
|
|
+ if(it.tagType===8){
|
|
|
return it.name;
|
|
|
}else {
|
|
|
return (it.labelPrefix||'')+(it.value||'')+(it.labelSuffix||'');
|
|
@@ -465,7 +465,7 @@ export function setInputLabel(state,action){
|
|
|
if(+item.tagType===3){ //multSpred标签
|
|
|
item.questionMapping[subIndex].value = text;
|
|
|
let texts = item.questionMapping.map((it)=>{
|
|
|
- if(it.tagType===8&&!config.punctuationReg.test(it.name)){
|
|
|
+ if(it.tagType===8){
|
|
|
return it.name;
|
|
|
}else{
|
|
|
return (it.labelPrefix||'')+(it.value||'')+(it.labelSuffix||'');
|