测试问题修改06-12
This commit is contained in:
parent
132a6f6d30
commit
d0a08f85db
|
|
@ -94,9 +94,9 @@ export function editChronicApi(data) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 慢性病-更新
|
// 慢性病-更新
|
||||||
export function delChronicApi(Id) {
|
export function delChronicApi(chronicId) {
|
||||||
return request({
|
return request({
|
||||||
url: '/smart-canteen/health_chronic/del/'+Id,
|
url: '/smart-canteen/health_chronic/del/'+chronicId,
|
||||||
method: 'post',
|
method: 'post',
|
||||||
headers: {
|
headers: {
|
||||||
"merchant-id":"378915229716713472",
|
"merchant-id":"378915229716713472",
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="慢性病名称" prop="chronicName">
|
<el-form-item label="慢性病名称" prop="chronicName">
|
||||||
<el-input v-model="form.chronicName" placeholder="请输入慢性病名称" />
|
<el-input v-model="form.chronicName" maxlength="30" placeholder="请输入慢性病名称" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
@ -74,9 +74,9 @@
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
<el-dialog :visible.sync="dialogVisible" width="700px">
|
<!-- <el-dialog :visible.sync="dialogVisible" width="700px">
|
||||||
<img style="width: 100%;height: 100%;" :src="dialogImageUrl" alt="">
|
<img style="width: 100%;height: 100%;" :src="dialogImageUrl" alt="">
|
||||||
</el-dialog>
|
</el-dialog> -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -197,7 +197,7 @@ export default {
|
||||||
},
|
},
|
||||||
handleDelete(row) {
|
handleDelete(row) {
|
||||||
this.$modal.confirm('是否确认删除数据项?').then(function() {
|
this.$modal.confirm('是否确认删除数据项?').then(function() {
|
||||||
return delChronicApi(row.id);
|
return delChronicApi(row.chronicId);
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.getList();
|
this.getList();
|
||||||
this.$modal.msgSuccess("删除成功");
|
this.$modal.msgSuccess("删除成功");
|
||||||
|
|
|
||||||
|
|
@ -456,6 +456,7 @@ export default {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
articleTitle: "",//标题
|
articleTitle: "",//标题
|
||||||
|
deptIdList:[],
|
||||||
chronicList:[], //慢性病
|
chronicList:[], //慢性病
|
||||||
placeIdList:[], //位置
|
placeIdList:[], //位置
|
||||||
doctorAdvice:[],
|
doctorAdvice:[],
|
||||||
|
|
|
||||||
|
|
@ -261,7 +261,8 @@
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<img :src="scope.row.photoUrl" v-if="scope.row.photoUrl" alt="" style="width: 60px;height: 60px;" @click="openImg(scope.row)">
|
<img :src="scope.row.photoUrl" v-if="scope.row.photoUrl" alt="" style="width: 60px;height: 60px;" @click="openImg(scope.row)">
|
||||||
<span v-else>无</span>
|
<span v-if="scope.row.faceStatus==0">未上传</span>
|
||||||
|
<span v-if="scope.row.faceStatus==2">上传失败</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="账号时效" align="center">
|
<el-table-column label="账号时效" align="center">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue