|
@@ -21,6 +21,14 @@
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
+ <el-input
|
|
|
+ type="number"
|
|
|
+ v-model.trim="searchForm.exemptionAmount"
|
|
|
+ clearable
|
|
|
+ placeholder="特权减免金额大于"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item>
|
|
|
<el-select
|
|
|
placeholder="维修技师"
|
|
|
v-model="searchForm.employeeId"
|
|
@@ -285,13 +293,33 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
+ <el-form-item>
|
|
|
+ <div class="imgWrap">
|
|
|
+ <el-row :gutter="12">
|
|
|
+ <el-col :span="8" v-for="url in imgList" :key="url">
|
|
|
+ <el-card class="box-card" :body-style="{ padding: '0px',}">
|
|
|
+ <el-image
|
|
|
+ style="width: 100px; height: 100px"
|
|
|
+ :src="url"
|
|
|
+ fit="fill"
|
|
|
+ :preview-src-list="imgList"
|
|
|
+ ></el-image>
|
|
|
+ </el-card>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ </el-row>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item
|
|
|
label="问题描述及解决方案:"
|
|
|
style="width: 100%; margin-bottom: 0"
|
|
|
></el-form-item>
|
|
|
<div>
|
|
|
- <el-image v-for="(item,index) in srcList" :key="index"
|
|
|
- style="width: 100px; height: 100px;margin-right:10px"
|
|
|
+ <el-image
|
|
|
+ v-for="(item, index) in srcList"
|
|
|
+ :key="index"
|
|
|
+ style="width: 100px; height: 100px; margin-right: 10px"
|
|
|
:src="url"
|
|
|
:preview-src-list="srcList"
|
|
|
>
|
|
@@ -388,6 +416,7 @@ export default {
|
|
|
repairStatus: null,
|
|
|
subjectId: null,
|
|
|
time: [],
|
|
|
+ exemptionAmount: "",
|
|
|
},
|
|
|
repairVisible: false,
|
|
|
employeeList: [],
|
|
@@ -404,13 +433,19 @@ export default {
|
|
|
isInit: false,
|
|
|
visibleForm: {},
|
|
|
activeRow: null,
|
|
|
- srcList:[]
|
|
|
+ srcList: [],
|
|
|
};
|
|
|
},
|
|
|
//生命周期 - 创建完成(可以访问当前this实例)
|
|
|
created() {},
|
|
|
//生命周期 - 挂载完成(可以访问DOM元素)
|
|
|
mounted() {
|
|
|
+ if (this.$route.query.search) {
|
|
|
+ this.searchForm = {
|
|
|
+ ...this.searchForm,
|
|
|
+ ...this.$route.query,
|
|
|
+ };
|
|
|
+ }
|
|
|
findAllTechnician().then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.employeeList = res.data;
|
|
@@ -512,10 +547,20 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
},
|
|
|
+ computed: {
|
|
|
+ imgList() {
|
|
|
+ return this.activeRow?.repairImg?.split(",") || [];
|
|
|
+ },
|
|
|
+ },
|
|
|
};
|
|
|
</script>
|
|
|
<style lang='scss' scoped>
|
|
|
.visibleCell {
|
|
|
// width: 180px;
|
|
|
}
|
|
|
+
|
|
|
+.box-card {
|
|
|
+ align-items: center;
|
|
|
+ height: 102px;
|
|
|
+}
|
|
|
</style>
|