2ab69844 by 任超

style:样式修改

1 parent 131594e4
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
119 </div> 119 </div>
120 <div class="d-center" v-if="!$store.state.business.Edit && titleName == 'sjmx'"> 120 <div class="d-center" v-if="!$store.state.business.Edit && titleName == 'sjmx'">
121 <btn nativeType="cz" @click="dialogVisible = false">取 消</btn> 121 <btn nativeType="cz" @click="dialogVisible = false">取 消</btn>
122 <btn nativeType="cx" @click="submitForm">确 定</btn> 122 <btn nativeType="cx" @click="submitForm">保 存</btn>
123 </div> 123 </div>
124 <div class="d-center" v-if="!$store.state.business.Edit && titleName == 'xml'"> 124 <div class="d-center" v-if="!$store.state.business.Edit && titleName == 'xml'">
125 <btn nativeType="cx" @click="handleResubmit">重新上报</btn> 125 <btn nativeType="cx" @click="handleResubmit">重新上报</btn>
...@@ -294,10 +294,9 @@ export default { ...@@ -294,10 +294,9 @@ export default {
294 }) 294 })
295 } 295 }
296 let listRes = await this.$refs["editItem"].handleUpdateForm() 296 let listRes = await this.$refs["editItem"].handleUpdateForm()
297 console.log(headRes, listRes);
298 if (headRes.data?.code == 200 && listRes == 200) { 297 if (headRes.data?.code == 200 && listRes == 200) {
299 this.$message({ 298 this.$message({
300 message: '上报成功', 299 message: '修改成功',
301 type: 'success' 300 type: 'success'
302 }) 301 })
303 } 302 }
...@@ -325,7 +324,7 @@ export default { ...@@ -325,7 +324,7 @@ export default {
325 if (res.code == 200) { 324 if (res.code == 200) {
326 _this.resultInfo = res.message 325 _this.resultInfo = res.message
327 _this.$message({ 326 _this.$message({
328 message: '上报成功', 327 message: '修改成功',
329 type: 'success' 328 type: 'success'
330 }) 329 })
331 } 330 }
......
...@@ -189,14 +189,28 @@ export default { ...@@ -189,14 +189,28 @@ export default {
189 render: (h, scope) => { 189 render: (h, scope) => {
190 return ( 190 return (
191 <div> 191 <div>
192 {
193 scope.row.receiveState == 2 ?
192 <el-button 194 <el-button
193 type="primary" 195 type="text"
196 style="color:#67C23A"
197 onClick={() => {
198 this.handleDetails(scope.row);
199 }}
200 >
201 修改
202 <i class="el-icon-d-arrow-right"></i>
203 </el-button> :
204 <el-button
205 type="text"
194 onClick={() => { 206 onClick={() => {
195 this.handleDetails(scope.row); 207 this.handleDetails(scope.row);
196 }} 208 }}
197 > 209 >
198 详情 210 详情
211 <i class="el-icon-d-arrow-right"></i>
199 </el-button> 212 </el-button>
213 }
200 </div> 214 </div>
201 ) 215 )
202 } 216 }
......
...@@ -192,13 +192,14 @@ class data { ...@@ -192,13 +192,14 @@ class data {
192 return ( 192 return (
193 <div> 193 <div>
194 <el-button 194 <el-button
195 size="mini" 195 type="text"
196 type="primary" 196 style="color:#67C23A"
197 onClick={() => { 197 onClick={() => {
198 vm.handleEdit(scope.row); 198 vm.handleEdit(scope.row);
199 }} 199 }}
200 > 200 >
201 编辑 201 修改
202 <i class="el-icon-d-arrow-right"></i>
202 </el-button> 203 </el-button>
203 </div> 204 </div>
204 ); 205 );
......
...@@ -156,15 +156,31 @@ export default { ...@@ -156,15 +156,31 @@ export default {
156 render: (h, scope) => { 156 render: (h, scope) => {
157 return ( 157 return (
158 <div> 158 <div>
159 {
160 scope.row.exchangeState == 2 ?
159 <el-button 161 <el-button
160 size="mini" 162 size="mini"
161 type="primary" 163 type="text"
164 style="color:#67C23A"
165 onClick={() => {
166 this.handleDetail(scope.row);
167 }}
168 >
169 修改
170 <i class="el-icon-d-arrow-right"></i>
171 </el-button> :
172 <el-button
173 size="mini"
174 type="text"
162 onClick={() => { 175 onClick={() => {
163 this.handleDetail(scope.row); 176 this.handleDetail(scope.row);
164 }} 177 }}
165 > 178 >
166 详情 179 详情
180 <i class="el-icon-d-arrow-right"></i>
167 </el-button> 181 </el-button>
182 }
183
168 </div> 184 </div>
169 ); 185 );
170 }, 186 },
......