This commit is contained in:
yanran200730
2021-12-03 15:50:06 +08:00
4 changed files with 5 additions and 4 deletions

View File

@@ -64,6 +64,7 @@ export default {
},
created() {
this.checkAccess()
document.title = "调查问卷"
}
}
</script>

View File

@@ -23,7 +23,7 @@
</template>
<template v-else-if="op.fieldType=='upload'">
<ai-uploader @list="v=>op.fieldValue=v.map(e=>e.url)" :def="op.fieldValue" :disabled="isResult"
preview/>
preview action="/admin/file/add2"/>
</template>
<u-row v-else-if="op.fieldType=='radio'">
<radio-group @change="({detail})=>op.fieldValue=detail.value">

View File

@@ -34,7 +34,7 @@
<div class="card">
<AiUploader :multiple="true" type="file" :limit="9" placeholder="上传附件" @list="fileList"
:def="form.files"></AiUploader>
:def="form.files" action="/admin/file/add2"></AiUploader>
</div>
<div class="card item-wrap" @click="select">
@@ -160,7 +160,7 @@ export default {
handleSelectUser() {
this.selectEnterpriseContact({
fromDepartmentId:0,
type:["department", "user"],
type:["user"],
selectedUserIds: this.form.attendees?.map(e=>e.id)
}).then(res => {
this.change(res?.userList || [])

View File

@@ -123,7 +123,7 @@
handleSelectUser() {
this.selectEnterpriseContact({
fromDepartmentId:0,
type:["department", "user"],
type:["user"],
selectedUserIds: this.form.persons?.map(e=>e.id)
}).then(res => {
this.form.persons = res?.userList || []