| | |
| | | isFinish: false, |
| | | }).then((res) => { |
| | | if (res.code === 200) { |
| | | // 针对再次随访服务进行删除结果赋值 |
| | | if (this.again && res.data.upScriptResult) { |
| | | this.tableDatatop = res.data.upScriptResult; |
| | | } else { |
| | | this.tableDatatop = res.data.scriptResult; |
| | | res.data.upScriptResult.forEach((itemA) => { |
| | | const itemB = res.data.scriptResult.find( |
| | | (item) => item.scriptContent === itemA.scriptContent |
| | | ); |
| | | if (itemB) { |
| | | itemB.scriptResult = itemA.scriptResult; |
| | | } |
| | | }); |
| | | } |
| | | this.tableDatatop = res.data.scriptResult; |
| | | |
| | | this.tableDatatop.forEach((item) => { |
| | | if (item.scriptType == 2) item.scriptResult = []; |
| | | if (item.scriptResult && item.scriptType != 2) { |
| | | if (item.scriptResultId && item.scriptType != 2) { |
| | | item.isoption = 3; |
| | | item.scriptResult = item.scriptResult; |
| | | } else if (item.scriptResult && item.scriptType == 2) { |
| | | } else if (item.scriptResultId && item.scriptType == 2) { |
| | | item.scriptResult = item.scriptResult.split("&"); |
| | | item.isoption = 3; |
| | | } |
| | |
| | | color: #02a7f0 !important; |
| | | } |
| | | .el-message-box__btns button:nth-child(2) { |
| | | margin-left: 10px; |
| | | background-color:#f57676; |
| | | border-color:#f57676 |
| | | }.mulsz { |
| | | margin-left: 10px; |
| | | background-color: #f57676; |
| | | border-color: #f57676; |
| | | } |
| | | .mulsz { |
| | | font-size: 25px; |
| | | margin-top: 20px; |
| | | } |