|
@@ -207,11 +207,13 @@
|
|
|
<img
|
|
|
v-if="item.projectStandards.length - 1 === indey"
|
|
|
src="../../assets/img/jia.png"
|
|
|
+ class="img-style"
|
|
|
@click="addInfo(index)"
|
|
|
/>
|
|
|
<img
|
|
|
- v-else
|
|
|
+ v-if="item.projectStandards.length !== 1"
|
|
|
src="../../assets/img/jian.png"
|
|
|
+ class="img-style"
|
|
|
@click="removeInfo(index, indey)"
|
|
|
/>
|
|
|
</el-col>
|
|
@@ -249,7 +251,7 @@
|
|
|
@click="submit(1)"
|
|
|
>确认</el-button
|
|
|
>
|
|
|
- <el-button size="medium" @click="$router.back()">取消</el-button>
|
|
|
+ <el-button size="medium" @click="cancle()">取消</el-button>
|
|
|
</el-row>
|
|
|
</el-row>
|
|
|
</div>
|
|
@@ -407,6 +409,25 @@ export default {
|
|
|
this.operatorData = res.data;
|
|
|
})
|
|
|
},
|
|
|
+ // 取消
|
|
|
+ cancle() {
|
|
|
+ this.$confirm('是否取消?', '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning'
|
|
|
+ })
|
|
|
+ .then(() => {
|
|
|
+ setTimeout(() => {
|
|
|
+ this.$router.back()
|
|
|
+ }, 1000)
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ this.$message({
|
|
|
+ type: 'info',
|
|
|
+ message: '已取消'
|
|
|
+ })
|
|
|
+ })
|
|
|
+ },
|
|
|
// 提交
|
|
|
submit(index) {
|
|
|
this.loading = true;
|
|
@@ -571,7 +592,6 @@ export default {
|
|
|
.jj-img {
|
|
|
display: flex;
|
|
|
align-items: flex-end;
|
|
|
- justify-content: center;
|
|
|
height: 100%;
|
|
|
}
|
|
|
.el-form-item {
|
|
@@ -606,4 +626,9 @@ export default {
|
|
|
/deep/ .el-input--medium .el-input__inner {
|
|
|
height: 42px;
|
|
|
}
|
|
|
+.img-style {
|
|
|
+ width: 40px;
|
|
|
+ height: 40px;
|
|
|
+ margin-left:10px;
|
|
|
+}
|
|
|
</style>
|