Commit f4e43380 by ‘巴博尔’

接单人添加model

parent 39bf002f
...@@ -313,7 +313,13 @@ ...@@ -313,7 +313,13 @@
<imageUpload <imageUpload
v-if="VisitorData.cover" v-if="VisitorData.cover"
v-model="VisitorData.cover" v-model="VisitorData.cover"
:limit="VisitorData.cover.split(',').length" :limit="
VisitorData.cover &&
VisitorData.cover.split(',') &&
VisitorData.cover.split(',').length
? VisitorData.cover.split(',').length
: 1
"
:isShowTip="false" :isShowTip="false"
:disabled="true" :disabled="true"
></imageUpload> ></imageUpload>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: ‘巴博尔’ 2164119982@qq.com * @Author: ‘巴博尔’ 2164119982@qq.com
* @Date: 2023-09-11 15:43:21 * @Date: 2023-09-11 15:43:21
* @LastEditors: ‘巴博尔’ 2164119982@qq.com * @LastEditors: ‘巴博尔’ 2164119982@qq.com
* @LastEditTime: 2023-09-15 18:30:08 * @LastEditTime: 2023-10-25 11:33:19
* @FilePath: \peizhen-vue\src\views\mallManagement\apply\index.vue * @FilePath: \peizhen-vue\src\views\mallManagement\apply\index.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
--> -->
...@@ -148,7 +148,13 @@ ...@@ -148,7 +148,13 @@
<imageUpload <imageUpload
v-if="row.businessLicense" v-if="row.businessLicense"
v-model="row.businessLicense" v-model="row.businessLicense"
:limit="row.businessLicense.split(',').length" :limit="
row.businessLicense &&
row.businessLicense.split(',') &&
row.businessLicense.split(',').length
? row.businessLicense.split(',').length
: 1
"
:isShowTip="false" :isShowTip="false"
:disabled="true" :disabled="true"
></imageUpload> ></imageUpload>
...@@ -166,7 +172,13 @@ ...@@ -166,7 +172,13 @@
<imageUpload <imageUpload
v-if="row.foodBusinessLicense" v-if="row.foodBusinessLicense"
v-model="row.foodBusinessLicense" v-model="row.foodBusinessLicense"
:limit="row.foodBusinessLicense.split(',').length" :limit="
row.foodBusinessLicense &&
row.foodBusinessLicense.split(',') &&
row.foodBusinessLicense.split(',').length
? row.foodBusinessLicense.split(',').length
: 1
"
:isShowTip="false" :isShowTip="false"
:disabled="true" :disabled="true"
></imageUpload> ></imageUpload>
...@@ -184,7 +196,13 @@ ...@@ -184,7 +196,13 @@
<imageUpload <imageUpload
v-if="row.drugBusinessLicense" v-if="row.drugBusinessLicense"
v-model="row.drugBusinessLicense" v-model="row.drugBusinessLicense"
:limit="row.drugBusinessLicense.split(',').length" :limit="
row.drugBusinessLicense &&
row.drugBusinessLicense.split(',') &&
row.drugBusinessLicense.split(',').length
? row.drugBusinessLicense.split(',').length
: 1
"
:isShowTip="false" :isShowTip="false"
:disabled="true" :disabled="true"
></imageUpload> ></imageUpload>
...@@ -202,7 +220,13 @@ ...@@ -202,7 +220,13 @@
<imageUpload <imageUpload
v-if="row.medicalBusinessLicense" v-if="row.medicalBusinessLicense"
v-model="row.medicalBusinessLicense" v-model="row.medicalBusinessLicense"
:limit="row.medicalBusinessLicense.split(',').length" :limit="
row.medicalBusinessLicense &&
row.medicalBusinessLicense.split(',') &&
row.medicalBusinessLicense.split(',').length
? row.medicalBusinessLicense.split(',').length
: 1
"
:isShowTip="false" :isShowTip="false"
:disabled="true" :disabled="true"
></imageUpload> ></imageUpload>
...@@ -220,7 +244,13 @@ ...@@ -220,7 +244,13 @@
<imageUpload <imageUpload
v-if="row.twoMedicalBusinessLicense" v-if="row.twoMedicalBusinessLicense"
v-model="row.twoMedicalBusinessLicense" v-model="row.twoMedicalBusinessLicense"
:limit="row.twoMedicalBusinessLicense.split(',').length" :limit="
row.twoMedicalBusinessLicense &&
row.twoMedicalBusinessLicense.split(',') &&
row.twoMedicalBusinessLicense.split(',').length
? twoMedicalBusinessLicense.split(',').length
: 1
"
:isShowTip="false" :isShowTip="false"
:disabled="true" :disabled="true"
></imageUpload> ></imageUpload>
......
...@@ -105,7 +105,11 @@ ...@@ -105,7 +105,11 @@
<imageUpload <imageUpload
v-if="row.cover" v-if="row.cover"
v-model="row.cover" v-model="row.cover"
:limit="row.cover.split(',').length" :limit="
row.cover && row.cover.split(',') && row.cover.split(',').length
? row.cover.split(',').length
: 1
"
:isShowTip="false" :isShowTip="false"
:disabled="true" :disabled="true"
></imageUpload> ></imageUpload>
......
...@@ -144,7 +144,9 @@ ...@@ -144,7 +144,9 @@
</el-table-column> </el-table-column>
<el-table-column label="接单人" align="center" prop="ename" key="ename"> <el-table-column label="接单人" align="center" prop="ename" key="ename">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<span v-if="row.ename">{{ row.ename }}</span> <el-button v-if="row.ename" type="text" @click="clickSeeEM(row)"
>查看</el-button
>
<span v-else>未接单</span> <span v-else>未接单</span>
</template> </template>
</el-table-column> </el-table-column>
...@@ -240,13 +242,6 @@ ...@@ -240,13 +242,6 @@
width="170" width="170"
> >
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<!-- <imageUpload
v-if="row.voucher"
v-model="row.voucher"
:limit="row.voucher.split(',').length"
:isShowTip="false"
:disabled="true"
></imageUpload> -->
<span> <span>
<el-button <el-button
v-if="row.voucher" v-if="row.voucher"
...@@ -398,12 +393,34 @@ ...@@ -398,12 +393,34 @@
<imageUpload <imageUpload
v-if="VisitorData.voucher" v-if="VisitorData.voucher"
v-model="VisitorData.voucher" v-model="VisitorData.voucher"
:limit="VisitorData.voucher.split(',').length" :limit="
VisitorData.voucher &&
VisitorData.voucher.split(',') &&
VisitorData.voucher.split(',').length
? VisitorData.voucher.split(',').length
: 1
"
:isShowTip="false" :isShowTip="false"
:disabled="true" :disabled="true"
></imageUpload> ></imageUpload>
</el-dialog> </el-dialog>
</template> </template>
<template v-if="openEMInfo">
<el-dialog
title="接单人信息"
:visible.sync="openEMInfo"
width="600px"
append-to-body
>
<div class="contl">
<div class="contl-item">
<p class="contl-item-label">姓名:</p>
<p class="contl-item-rig">{{ VisitorData.ename }}</p>
</div>
</div>
</el-dialog>
</template>
</div> </div>
</template> </template>
...@@ -420,6 +437,7 @@ export default { ...@@ -420,6 +437,7 @@ export default {
name: "DbghOrder", name: "DbghOrder",
data() { data() {
return { return {
openEMInfo: false,
openArticleInfoImg: false, openArticleInfoImg: false,
openArticleInfo: false, openArticleInfo: false,
openArticle: false, openArticle: false,
...@@ -476,6 +494,10 @@ export default { ...@@ -476,6 +494,10 @@ export default {
this.getList(); this.getList();
}, },
methods: { methods: {
clickSeeEM(row) {
this.openEMInfo = true;
this.VisitorData = row;
},
clickSeeVisitorImg(row) { clickSeeVisitorImg(row) {
this.openArticleInfoImg = true; this.openArticleInfoImg = true;
this.VisitorData = row; this.VisitorData = row;
......
...@@ -139,7 +139,13 @@ ...@@ -139,7 +139,13 @@
v-model="row.prescriptionAttachment" v-model="row.prescriptionAttachment"
:isShowTip="false" :isShowTip="false"
:disabled="true" :disabled="true"
:limit="row.prescriptionAttachment.split(',').length" :limit="
row.prescriptionAttachment &&
row.prescriptionAttachment.split(',') &&
row.prescriptionAttachment.split(',').length
? row.prescriptionAttachment.split(',').length
: 1
"
/> />
</template> </template>
</el-table-column> </el-table-column>
...@@ -179,7 +185,9 @@ ...@@ -179,7 +185,9 @@
/> />
<el-table-column label="接单人" align="center" prop="ename" key="ename"> <el-table-column label="接单人" align="center" prop="ename" key="ename">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<span v-if="row.ename">{{ row.ename }}</span> <el-button v-if="row.ename" type="text" @click="clickSeeEM(row)"
>查看</el-button
>
<span v-else>未接单</span> <span v-else>未接单</span>
</template> </template>
</el-table-column> </el-table-column>
...@@ -281,13 +289,6 @@ ...@@ -281,13 +289,6 @@
width="170" width="170"
> >
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<!-- <imageUpload
v-if="row.voucher"
v-model="row.voucher"
:limit="row.voucher.split(',').length"
:isShowTip="false"
:disabled="true"
></imageUpload> -->
<span> <span>
<el-button <el-button
v-if="row.voucher" v-if="row.voucher"
...@@ -506,12 +507,34 @@ ...@@ -506,12 +507,34 @@
<imageUpload <imageUpload
v-if="VisitorData.voucher" v-if="VisitorData.voucher"
v-model="VisitorData.voucher" v-model="VisitorData.voucher"
:limit="VisitorData.voucher.split(',').length" :limit="
VisitorData.voucher &&
VisitorData.voucher.split(',') &&
VisitorData.voucher.split(',').length
? VisitorData.voucher.split(',').length
: 1
"
:isShowTip="false" :isShowTip="false"
:disabled="true" :disabled="true"
></imageUpload> ></imageUpload>
</el-dialog> </el-dialog>
</template> </template>
<template v-if="openEMInfo">
<el-dialog
title="接单人信息"
:visible.sync="openEMInfo"
width="600px"
append-to-body
>
<div class="contl">
<div class="contl-item">
<p class="contl-item-label">姓名:</p>
<p class="contl-item-rig">{{ VisitorData.ename }}</p>
</div>
</div>
</el-dialog>
</template>
</div> </div>
</template> </template>
...@@ -528,6 +551,7 @@ export default { ...@@ -528,6 +551,7 @@ export default {
name: "DbmyOrder", name: "DbmyOrder",
data() { data() {
return { return {
openEMInfo: false,
openArticleInfoImg: false, openArticleInfoImg: false,
openArticleInfo: false, openArticleInfo: false,
openArticle: false, openArticle: false,
...@@ -594,6 +618,10 @@ export default { ...@@ -594,6 +618,10 @@ export default {
this.getList(); this.getList();
}, },
methods: { methods: {
clickSeeEM(row) {
this.openEMInfo = true;
this.VisitorData = row;
},
clickSeeVisitorImg(row) { clickSeeVisitorImg(row) {
this.openArticleInfoImg = true; this.openArticleInfoImg = true;
this.VisitorData = row; this.VisitorData = row;
......
...@@ -107,13 +107,6 @@ ...@@ -107,13 +107,6 @@
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> />
<el-table-column <el-table-column
label="科室"
align="center"
prop="title"
key="title"
:show-overflow-tooltip="true"
/>
<el-table-column
label="订单价" label="订单价"
align="center" align="center"
prop="payMoney" prop="payMoney"
...@@ -137,7 +130,9 @@ ...@@ -137,7 +130,9 @@
</el-table-column> </el-table-column>
<el-table-column label="接单人" align="center" prop="ename" key="ename"> <el-table-column label="接单人" align="center" prop="ename" key="ename">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<span v-if="row.ename">{{ row.ename }}</span> <el-button v-if="row.ename" type="text" @click="clickSeeEM(row)"
>查看</el-button
>
<span v-else>未接单</span> <span v-else>未接单</span>
</template> </template>
</el-table-column> </el-table-column>
...@@ -338,13 +333,6 @@ ...@@ -338,13 +333,6 @@
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
> >
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<!-- <imageUpload
v-if="row.voucher"
v-model="row.voucher"
:limit="row.voucher.split(',').length"
:isShowTip="false"
:disabled="true"
></imageUpload> -->
<span> <span>
<el-button <el-button
v-if="row.voucher" v-if="row.voucher"
...@@ -551,12 +539,34 @@ ...@@ -551,12 +539,34 @@
<imageUpload <imageUpload
v-if="VisitorData.voucher" v-if="VisitorData.voucher"
v-model="VisitorData.voucher" v-model="VisitorData.voucher"
:limit="VisitorData.voucher.split(',').length" :limit="
VisitorData.voucher &&
VisitorData.voucher.split(',') &&
VisitorData.voucher.split(',').length
? VisitorData.voucher.split(',').length
: 1
"
:isShowTip="false" :isShowTip="false"
:disabled="true" :disabled="true"
></imageUpload> ></imageUpload>
</el-dialog> </el-dialog>
</template> </template>
<template v-if="openEMInfo">
<el-dialog
title="接单人信息"
:visible.sync="openEMInfo"
width="600px"
append-to-body
>
<div class="contl">
<div class="contl-item">
<p class="contl-item-label">姓名:</p>
<p class="contl-item-rig">{{ VisitorData.ename }}</p>
</div>
</div>
</el-dialog>
</template>
</div> </div>
</template> </template>
...@@ -573,6 +583,7 @@ export default { ...@@ -573,6 +583,7 @@ export default {
name: "DbwzOrder", name: "DbwzOrder",
data() { data() {
return { return {
openEMInfo: false,
openArticleInfoImg: false, openArticleInfoImg: false,
openArticleInfo: false, openArticleInfo: false,
openArticle: false, openArticle: false,
...@@ -636,6 +647,10 @@ export default { ...@@ -636,6 +647,10 @@ export default {
this.getList(); this.getList();
}, },
methods: { methods: {
clickSeeEM(row) {
this.openEMInfo = true;
this.VisitorData = row;
},
clickSeeVisitor(row) { clickSeeVisitor(row) {
this.openArticleInfo = true; this.openArticleInfo = true;
this.VisitorData = row.userVsitorVo; this.VisitorData = row.userVsitorVo;
......
...@@ -145,11 +145,19 @@ ...@@ -145,11 +145,19 @@
</el-table-column> </el-table-column>
<el-table-column label="接单人" align="center" prop="ename" key="ename"> <el-table-column label="接单人" align="center" prop="ename" key="ename">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<span v-if="row.ename">{{ row.ename }}</span> <el-button v-if="row.ename" type="text" @click="clickSeeEM(row)"
>查看</el-button
>
<span v-else>未接单</span> <span v-else>未接单</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="备注" align="center" prop="remark" key="remark" width="120"> <el-table-column
label="备注"
align="center"
prop="remark"
key="remark"
width="120"
>
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<el-button <el-button
v-if="row.remark" v-if="row.remark"
...@@ -248,13 +256,6 @@ ...@@ -248,13 +256,6 @@
width="170" width="170"
> >
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<!-- <imageUpload
v-if="row.voucher"
v-model="row.voucher"
:limit="row.voucher.split(',').length"
:isShowTip="false"
:disabled="true"
></imageUpload> -->
<span> <span>
<el-button <el-button
v-if="row.voucher" v-if="row.voucher"
...@@ -415,12 +416,34 @@ ...@@ -415,12 +416,34 @@
<imageUpload <imageUpload
v-if="VisitorData.voucher" v-if="VisitorData.voucher"
v-model="VisitorData.voucher" v-model="VisitorData.voucher"
:limit="VisitorData.voucher.split(',').length" :limit="
VisitorData.voucher &&
VisitorData.voucher.split(',') &&
VisitorData.voucher.split(',').length
? VisitorData.voucher.split(',').length
: 1
"
:isShowTip="false" :isShowTip="false"
:disabled="true" :disabled="true"
></imageUpload> ></imageUpload>
</el-dialog> </el-dialog>
</template> </template>
<template v-if="openEMInfo">
<el-dialog
title="接单人信息"
:visible.sync="openEMInfo"
width="600px"
append-to-body
>
<div class="contl">
<div class="contl-item">
<p class="contl-item-label">姓名:</p>
<p class="contl-item-rig">{{ VisitorData.ename }}</p>
</div>
</div>
</el-dialog>
</template>
</div> </div>
</template> </template>
...@@ -437,6 +460,7 @@ export default { ...@@ -437,6 +460,7 @@ export default {
name: "Order", name: "Order",
data() { data() {
return { return {
openEMInfo: false,
openArticleInfoImg: false, openArticleInfoImg: false,
openArticleInfo: false, openArticleInfo: false,
openArticle: false, openArticle: false,
...@@ -496,6 +520,10 @@ export default { ...@@ -496,6 +520,10 @@ export default {
this.getList(); this.getList();
}, },
methods: { methods: {
clickSeeEM(row) {
this.openEMInfo = true;
this.VisitorData = row;
},
clickSeeVisitorImg(row) { clickSeeVisitorImg(row) {
this.openArticleInfoImg = true; this.openArticleInfoImg = true;
this.VisitorData = row; this.VisitorData = row;
......
...@@ -144,7 +144,9 @@ ...@@ -144,7 +144,9 @@
</el-table-column> </el-table-column>
<el-table-column label="接单人" align="center" prop="ename" key="ename"> <el-table-column label="接单人" align="center" prop="ename" key="ename">
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<span v-if="row.ename">{{ row.ename }}</span> <el-button v-if="row.ename" type="text" @click="clickSeeEM(row)"
>查看</el-button
>
<span v-else>未接单</span> <span v-else>未接单</span>
</template> </template>
</el-table-column> </el-table-column>
...@@ -256,13 +258,6 @@ ...@@ -256,13 +258,6 @@
width="170" width="170"
> >
<template slot-scope="{ row }"> <template slot-scope="{ row }">
<!-- <imageUpload
v-if="row.voucher"
v-model="row.voucher"
:limit="row.voucher.split(',').length"
:isShowTip="false"
:disabled="true"
></imageUpload> -->
<span> <span>
<el-button <el-button
v-if="row.voucher" v-if="row.voucher"
...@@ -429,12 +424,34 @@ ...@@ -429,12 +424,34 @@
<imageUpload <imageUpload
v-if="VisitorData.voucher" v-if="VisitorData.voucher"
v-model="VisitorData.voucher" v-model="VisitorData.voucher"
:limit="VisitorData.voucher.split(',').length" :limit="
VisitorData.voucher &&
VisitorData.voucher.split(',') &&
VisitorData.voucher.split(',').length
? VisitorData.voucher.split(',').length
: 1
"
:isShowTip="false" :isShowTip="false"
:disabled="true" :disabled="true"
></imageUpload> ></imageUpload>
</el-dialog> </el-dialog>
</template> </template>
<template v-if="openEMInfo">
<el-dialog
title="接单人信息"
:visible.sync="openEMInfo"
width="600px"
append-to-body
>
<div class="contl">
<div class="contl-item">
<p class="contl-item-label">姓名:</p>
<p class="contl-item-rig">{{ VisitorData.ename }}</p>
</div>
</div>
</el-dialog>
</template>
</div> </div>
</template> </template>
...@@ -451,6 +468,7 @@ export default { ...@@ -451,6 +468,7 @@ export default {
name: "ZyphOrder", name: "ZyphOrder",
data() { data() {
return { return {
openEMInfo: false,
openArticleInfoImg: false, openArticleInfoImg: false,
openArticleInfo: false, openArticleInfo: false,
openArticle: false, openArticle: false,
...@@ -512,6 +530,10 @@ export default { ...@@ -512,6 +530,10 @@ export default {
this.getList(); this.getList();
}, },
methods: { methods: {
clickSeeEM(row) {
this.openEMInfo = true;
this.VisitorData = row;
},
clickSeeVisitorImg(row) { clickSeeVisitorImg(row) {
this.openArticleInfoImg = true; this.openArticleInfoImg = true;
this.VisitorData = row; this.VisitorData = row;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment