Compare commits
No commits in common. "01fbb9d05ca27abd3d6f6bd170ebd0e15c9743ac" and "35bf2469751884a03312039cd3b40b0b6b334db2" have entirely different histories.
01fbb9d05c
...
35bf246975
|
@ -415,7 +415,7 @@ const onEditSave = async (item) => {
|
|||
}
|
||||
|
||||
// 保存模板
|
||||
const onSaveTemp = async (item) => {
|
||||
const onSaveTemp = (item) => {
|
||||
if (item.answer == '') return
|
||||
|
||||
const data = {
|
||||
|
@ -425,10 +425,7 @@ const onSaveTemp = async (item) => {
|
|||
content: item.answer,
|
||||
ex1: curNode.id
|
||||
}
|
||||
const res = await tempSave(data)
|
||||
if(!item.resultId){
|
||||
item.resultId = res.data
|
||||
}
|
||||
tempSave(data).then(res => { })
|
||||
}
|
||||
|
||||
// 去掉字符串中的 ### **
|
||||
|
|
|
@ -258,7 +258,7 @@ const listRef = ref()
|
|||
// 查询模板结果
|
||||
const isStarted = ref([]);
|
||||
const getTempResult = (id) => {
|
||||
tempResult({ mainModelId: id, pageNum: 1, pageSize: 10000, ex1: curNode.id }).then(res => {
|
||||
tempResult({ mainModelId: id }).then(res => {
|
||||
let rows = res.rows
|
||||
if (rows.length > 0) {
|
||||
isStarted.value = new Array(rows.length).fill(true)
|
||||
|
|
Loading…
Reference in New Issue