|
|
@ -421,7 +421,7 @@ export default {
|
|
|
|
request(params)
|
|
|
|
request(params)
|
|
|
|
.then(res => {
|
|
|
|
.then(res => {
|
|
|
|
const userList = res.data.list || res.data
|
|
|
|
const userList = res.data.list || res.data
|
|
|
|
console.log(userList)
|
|
|
|
// console.log(userList)
|
|
|
|
this.userOptions = userList.map(item => {
|
|
|
|
this.userOptions = userList.map(item => {
|
|
|
|
return item
|
|
|
|
return item
|
|
|
|
})
|
|
|
|
})
|
|
|
@ -604,14 +604,15 @@ export default {
|
|
|
|
h('textarea', {
|
|
|
|
h('textarea', {
|
|
|
|
attrs: {
|
|
|
|
attrs: {
|
|
|
|
class: 'el-textarea__inner',
|
|
|
|
class: 'el-textarea__inner',
|
|
|
|
type: 'textarea',
|
|
|
|
|
|
|
|
autocomplete: 'off',
|
|
|
|
autocomplete: 'off',
|
|
|
|
rows: 4
|
|
|
|
rows: 4,
|
|
|
|
|
|
|
|
id: 'commentContent'
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
domProps: {
|
|
|
|
|
|
|
|
value: this.commentContent
|
|
|
|
},
|
|
|
|
},
|
|
|
|
value: this.inputValue,
|
|
|
|
|
|
|
|
on: { input: v => {
|
|
|
|
on: { input: v => {
|
|
|
|
console.log(v)
|
|
|
|
this.commentContent = v.target.value
|
|
|
|
this.inputValue
|
|
|
|
|
|
|
|
} }
|
|
|
|
} }
|
|
|
|
}),
|
|
|
|
}),
|
|
|
|
h('p', '审核人:'),
|
|
|
|
h('p', '审核人:'),
|
|
|
@ -626,7 +627,7 @@ export default {
|
|
|
|
on: {
|
|
|
|
on: {
|
|
|
|
input: val => {
|
|
|
|
input: val => {
|
|
|
|
this.value = val
|
|
|
|
this.value = val
|
|
|
|
console.log(val)
|
|
|
|
// console.log(val)
|
|
|
|
},
|
|
|
|
},
|
|
|
|
change: e => {
|
|
|
|
change: e => {
|
|
|
|
this.value = e
|
|
|
|
this.value = e
|
|
|
@ -651,11 +652,13 @@ export default {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.then(({ value }) => {
|
|
|
|
.then(({ value }) => {
|
|
|
|
this.loading = true
|
|
|
|
this.loading = true
|
|
|
|
|
|
|
|
const commentContent = document.getElementById('commentContent').value
|
|
|
|
crmBusinessAdvanceAPI({
|
|
|
|
crmBusinessAdvanceAPI({
|
|
|
|
|
|
|
|
check_user_id: this.$refs['selectView'].value,
|
|
|
|
business_id: this.id,
|
|
|
|
business_id: this.id,
|
|
|
|
status_id: item.status_id,
|
|
|
|
status_id: item.status_id,
|
|
|
|
is_end: item.type,
|
|
|
|
is_end: item.type,
|
|
|
|
statusRemark: value
|
|
|
|
statusRemark: commentContent
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.then(res => {
|
|
|
|
.then(res => {
|
|
|
|
this.loading = false
|
|
|
|
this.loading = false
|
|
|
@ -730,8 +733,10 @@ export default {
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 刷新value的值
|
|
|
|
* 刷新value的值
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
updateVal(val) {
|
|
|
|
onCommentInputChange() {
|
|
|
|
this.value = val
|
|
|
|
this.$forceUpdate()
|
|
|
|
|
|
|
|
this.commentContent = document.getElementById('commentContent').value
|
|
|
|
|
|
|
|
console.log(this.commentContent)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|