|
@@ -28,21 +28,21 @@
|
|
class="!w-240px"
|
|
class="!w-240px"
|
|
/>
|
|
/>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="标本类型" prop="specimenType">
|
|
|
|
- <el-select
|
|
|
|
- v-model="queryParams.specimenType"
|
|
|
|
- placeholder="请选择标本类型(矿物、岩石矿石、化石、陨石)"
|
|
|
|
- clearable
|
|
|
|
- class="!w-240px"
|
|
|
|
- >
|
|
|
|
- <el-option
|
|
|
|
- v-for="dict in getIntDictOptions(DICT_TYPE.MUSEUMS_SPECIMEN_TYPE)"
|
|
|
|
- :key="dict.value"
|
|
|
|
- :label="dict.label"
|
|
|
|
- :value="dict.value"
|
|
|
|
- />
|
|
|
|
- </el-select>
|
|
|
|
- </el-form-item>
|
|
|
|
|
|
+<!-- <el-form-item label="标本类型" prop="specimenType">-->
|
|
|
|
+<!-- <el-select-->
|
|
|
|
+<!-- v-model="queryParams.specimenType"-->
|
|
|
|
+<!-- placeholder="请选择标本类型(矿物、岩石矿石、化石、陨石)"-->
|
|
|
|
+<!-- clearable-->
|
|
|
|
+<!-- class="!w-240px"-->
|
|
|
|
+<!-- >-->
|
|
|
|
+<!-- <el-option-->
|
|
|
|
+<!-- v-for="dict in getIntDictOptions(DICT_TYPE.MUSEUMS_SPECIMEN_TYPE)"-->
|
|
|
|
+<!-- :key="dict.value"-->
|
|
|
|
+<!-- :label="dict.label"-->
|
|
|
|
+<!-- :value="dict.value"-->
|
|
|
|
+<!-- />-->
|
|
|
|
+<!-- </el-select>-->
|
|
|
|
+<!-- </el-form-item>-->
|
|
<el-form-item label="存放位置" prop="storageLocation">
|
|
<el-form-item label="存放位置" prop="storageLocation">
|
|
<el-input
|
|
<el-input
|
|
v-model="queryParams.storageLocation"
|
|
v-model="queryParams.storageLocation"
|
|
@@ -657,8 +657,10 @@ const handleDelete = async (id: number) => {
|
|
})
|
|
})
|
|
.then(async ({ value }) => {
|
|
.then(async ({ value }) => {
|
|
try {
|
|
try {
|
|
|
|
+ console.log(111)
|
|
await SpecimenInfoApi.deleteSpecimenInfo(id,value)
|
|
await SpecimenInfoApi.deleteSpecimenInfo(id,value)
|
|
- await getList()
|
|
|
|
|
|
+ console.log(222)
|
|
|
|
+ getList()
|
|
ElMessage({
|
|
ElMessage({
|
|
type: 'success',
|
|
type: 'success',
|
|
message: `删除成功`,
|
|
message: `删除成功`,
|