测试修改bug

This commit is contained in:
gyj
2024-02-19 17:14:28 +08:00
parent 2ea35c9d4b
commit c8a6c4edfa
7 changed files with 167 additions and 34 deletions
+11 -9
View File
@@ -24,7 +24,7 @@
<uni-data-select :localdata="templateList" v-model="formData.templateId"></uni-data-select>
</uni-forms-item>
<uni-forms-item label="申请人案件证据资料上传:" name="headImage" label-width="120px">
<uni-file-picker ref="files" file-mediatype="all" :auto-upload="false" @select="select" :limit='9' />
<uni-file-picker ref="files" file-mediatype="all" return-type='object' v-model="fileList" :auto-upload="false" @select="select" :limit='9' />
</uni-forms-item>
<uni-section title="双方信息" type="line" padding></uni-section>
<uni-forms-item label="选择机构或自然人" label-width="120px" name="objectiJuris">
@@ -163,9 +163,9 @@
@tap="cencalBut">取消</button>
</view>
</view>
</view>
</template>
</view>
</template>
<script>
import {getTemplate,getInfoByIdCard,caseApplicationInsert,updateComfire,caseApplicationSelectById} from '../../../api/handlecase/index.js'
import {
@@ -202,6 +202,7 @@
value: 0
}
],
fileList: {},
rules:{},
rulesappName: [
{
@@ -342,8 +343,9 @@
let result = JSON.parse(res.data)
this.formData.caseAttachList.push({
annexId: result.annexId,
annexName: result.fileName
});
console.log(result.annexId)
console.log(result.fileName)
uni.showToast({
title: '上传成功',
icon: 'none',
@@ -381,14 +383,14 @@
this.$refs.form.setRules(this.rules)
}
}
</script>
</script>
<style lang="scss">
page {
background-color: #ffffff;
}
.assignrbitrators{
margin: 30rpx;
}
}
</style>