|
@@ -222,7 +222,7 @@ export default {
|
|
|
setDefaultData(dav) {
|
|
|
const from = dav
|
|
|
this.from = { ...this.from, ...dav, 'taskIds': from.taskId }
|
|
|
- this.customList = from.customFields
|
|
|
+ // this.customList = from.customFields
|
|
|
if (from.devPlanTimeStart) {
|
|
|
this.$set(this.from, 'devPlanTimeStart', [from.devPlanTimeStart, from.devPlanTimeEnd]) // 计划开发开始时间-计划开发结束时间
|
|
|
}
|
|
@@ -409,7 +409,7 @@ export default {
|
|
|
getCreateData(e) {
|
|
|
this.$refs.fromCreateData.validate(async(valid) => {
|
|
|
if (valid) {
|
|
|
- const data = { 'bizId': this.bizId, moduleName: this.from.moduleName, type: 4, customFields: this.customList, id: e === '新建模版' ? '' : this.modelID }
|
|
|
+ const data = { 'bizId': this.bizId, 'moduleName': this.from.moduleName, 'type': 4, 'customFields': this.customList, 'id': e === '新建模版' ? '' : this.modelID }
|
|
|
this.loading = true
|
|
|
try {
|
|
|
data.content = await getContainImgHTMLNode(this.from.content)
|