|
@@ -227,7 +227,7 @@
|
|
|
// 补充内容(val:52):单选(val:1)、多选(val:2)、多列填写(val:3)、输入框(val:6)、数字输入框(val:7)、文本域(val:5)
|
|
|
|
|
|
export default {
|
|
|
- props:['editData','qaType','isEdit'], //qaType:独立1/组合2填写单
|
|
|
+ props:['editData','qaType','isEdit','isCopy'], //qaType:独立1/组合2填写单
|
|
|
data() {
|
|
|
var validatePass1 = (rule, value, callback) => {
|
|
|
this.validateSystomName(value,callback,1)
|
|
@@ -372,6 +372,11 @@
|
|
|
if(editData.id){
|
|
|
const trans = utils.transPretreatKeys(editData,this.qaType==1);
|
|
|
this.form = Object.assign({},this.form,trans);
|
|
|
+ if(this.isCopy){ //复制时系统名称界面名称置空
|
|
|
+ this.form.region3='';
|
|
|
+ this.form.region4='';
|
|
|
+ this.form.region5='';
|
|
|
+ }
|
|
|
const imgUrl = trans.region13;
|
|
|
if(imgUrl){
|
|
|
this.imgList = [{name:'',url:imgUrl.replace('{imageUrlPrefix}',config.imgHost)}];
|