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() { created() {
this.checkAccess() this.checkAccess()
document.title = "调查问卷"
} }
} }
</script> </script>

View File

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

View File

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

View File

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