添加和修改功能

This commit is contained in:
2025-11-06 12:16:28 +08:00
parent d3fef15fa3
commit b31fcd34c7
16 changed files with 1192 additions and 288 deletions

View File

@@ -67,13 +67,7 @@
:localdata="jingbrList1"
@change="handleAgentChange"
>
</uni-data-select>
<!-- <el-option
v-for="item in jingbrList1"
:key="item.userId"
:label="item.nickName"
:value="item.userId"
></el-option> -->
</uni-data-select>
</view>
</view>
@@ -190,10 +184,10 @@
</template>
<script>
import config from '@/utilsRc/config.js'
import {getJbrInfo} from "@/apiRc/personinfo/index"
import {addInvestigate} from "@/apiRc/needs/person"
import { getDicts } from '@/apiRc/system/dict.js';
import config from '@/utilsRc/config.js'
import { getToken } from "@/utilsRc/auth";
export default {
data() {
@@ -401,25 +395,6 @@ export default {
console.error('选择图片失败:', err);
}
});
// uni.chooseImage({
// count: remainingCount,
// sizeType: ['original', 'compressed'],
// sourceType: ['album', 'camera'],
// success: (res) => {
// // 添加新选择的图片到列表
// res.tempFilePaths.forEach((path, index) => {
// this.fileList.push({
// url: path,
// file: res.tempFiles[index]
// });
// });
// // 更新 serviceForm.fileUrl
// this.updateFileUrls();
// },
// fail: (err) => {
// console.error('选择图片失败:', err);
// }
// });
},
// 移除图片