Commit c6155ca7 by 前端

v1.21.0版本需求

1 parent 955814dc
Pipeline #1 for c6155ca7 failed in 0 seconds
sonarqube-check:
image:
name: sonarsource/sonar-scanner-cli:latest
entrypoint: [""]
variables:
SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar" # Defines the location of the analysis task cache
GIT_DEPTH: "0" # Tells git to fetch all the branches of the project, required by the analysis task
cache:
key: "${CI_JOB_NAME}"
paths:
- .sonar/cache
script:
- sonar-scanner
allow_failure: true
only:
- master # or the name of your main branch
sonar.projectKey=e-shild-portal
sonar.qualitygate.wait=true
...@@ -702,6 +702,7 @@ ...@@ -702,6 +702,7 @@
:params="pointParmas" :params="pointParmas"
:title="pointTitle" :title="pointTitle"
:custom-confirm="isBatch" :custom-confirm="isBatch"
:a-loading="batchLoading"
@confirm="batchArtificer" @confirm="batchArtificer"
/> />
</el-drawer> </el-drawer>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<div class="point-list"> <div class="point-list">
<!-- 列表 --> <!-- 列表 -->
<el-table <el-table
v-loading="loading" v-loading="pageLoading"
ref="radioTable" ref="radioTable"
:data="listData" :data="listData"
:header-cell-style="{ background: '#fff' }" :header-cell-style="{ background: '#fff' }"
...@@ -145,7 +145,7 @@ ...@@ -145,7 +145,7 @@
<!-- 分页 end--> <!-- 分页 end-->
<div class="point-btn"> <div class="point-btn">
<el-button size="small" @click="cancel">取消</el-button> <el-button size="small" @click="cancel">取消</el-button>
<el-button size="small" type="primary" @click="pointComfirm">{{ <el-button size="small" :loading="aLoading" type="primary" @click="pointComfirm">{{
pointComfirmBtn pointComfirmBtn
}}</el-button> }}</el-button>
</div> </div>
...@@ -171,6 +171,10 @@ export default { ...@@ -171,6 +171,10 @@ export default {
customConfirm: { customConfirm: {
type: Boolean, type: Boolean,
default: false default: false
},
aLoading:{
type:Boolean,
default:false
} }
}, },
data() { data() {
...@@ -197,7 +201,7 @@ export default { ...@@ -197,7 +201,7 @@ export default {
// isiiClick:false, // isiiClick:false,
istClick: false, istClick: false,
// isttClick:false, // isttClick:false,
loading: false, pageLoading: false,
// 分页数据 start // 分页数据 start
pageIndex: 1, pageIndex: 1,
pageSize: 10, pageSize: 10,
...@@ -272,7 +276,7 @@ export default { ...@@ -272,7 +276,7 @@ export default {
// 业务 // 业务
getList() { getList() {
this.listData = [] this.listData = []
this.loading = true this.pageLoading = true
var _this = this var _this = this
const params = { const params = {
...@@ -286,7 +290,7 @@ export default { ...@@ -286,7 +290,7 @@ export default {
getBussinessApi(params, 'getMechanicListByOrderId', 'get') getBussinessApi(params, 'getMechanicListByOrderId', 'get')
.then((response) => { .then((response) => {
var list = [] var list = []
_this.loading = false _this.pageLoading = false
response.data.items.forEach((item) => { response.data.items.forEach((item) => {
const obj = { const obj = {
mechanicId: item.mechanicId, mechanicId: item.mechanicId,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!