|
|
@@ -23,17 +23,40 @@
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-col :span="24" class="third-row">
|
|
|
- <el-table ref="multipleTable" :data="tableData" tooltip-effect="dark" style="width: 100%" highlight-current-row>
|
|
|
+ <!-- <el-table ref="multipleTable" :data="tableData" tooltip-effect="dark" style="width: 100%" highlight-current-row>
|
|
|
<el-table-column prop="id" label="学号" width="260" align="center"></el-table-column>
|
|
|
<el-table-column prop="stuName" label="姓名" width="200" align="center"></el-table-column>
|
|
|
<el-table-column prop="tel" label="联系方式" width="270"></el-table-column>
|
|
|
- <el-table-column prop="time" label="时间" width="220"></el-table-column>
|
|
|
- <el-table-column prop="content" label="内容" width="400" id="content" align="center" widshow-overflow-tooltip>
|
|
|
+ <el-table-column prop="time" label="时间" width="280" align="center"></el-table-column>
|
|
|
+ <el-table-column label="内容" width="340" id="content" align="center" widshow-overflow-tooltip>
|
|
|
+ <el-popover placement="top-start" width="200" trigger="hover" slot-scope="scope"
|
|
|
+ :content="scope.row.content">
|
|
|
+ <div slot="reference">{{ scope.row.content.substr(0,10) }}....</div>
|
|
|
+ </el-popover>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="操作" align="center" width="160" id="state">
|
|
|
+ <div slot-scope="scope" @click="handleEdit(scope.$index, scope.row)">
|
|
|
+ <el-tag :type="scope.row.state === '未处理' ? 'danger' : 'success'" disable-transitions>{{scope.row.state}}
|
|
|
+ </el-tag>
|
|
|
+ </div>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="操作" width="120" id="state">
|
|
|
- <el-button id="show-btn" slot-scope="scope" @click="handleEdit(scope.$index, scope.row)">
|
|
|
- {{scope.row.state}}
|
|
|
- </el-button>
|
|
|
+ </el-table> -->
|
|
|
+ <el-table ref="multipleTable" :data="tableData" tooltip-effect="dark" style="width: 100%" highlight-current-row>
|
|
|
+ <el-table-column prop="id" label="学号" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="stuName" label="姓名" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="tel" label="联系方式"></el-table-column>
|
|
|
+ <el-table-column prop="time" label="时间"></el-table-column>
|
|
|
+ <el-table-column label="内容" id="content" align="center" widshow-overflow-tooltip>
|
|
|
+ <el-popover placement="top-start" trigger="hover" slot-scope="scope"
|
|
|
+ :content="scope.row.content">
|
|
|
+ <div slot="reference">{{ scope.row.content.substr(0,10) }}....</div>
|
|
|
+ </el-popover>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="操作" align="center"id="state">
|
|
|
+ <div slot-scope="scope" @click="handleEdit(scope.$index, scope.row)">
|
|
|
+ <el-tag :type="scope.row.state === '未处理' ? 'danger' : 'success'" disable-transitions>{{scope.row.state}}
|
|
|
+ </el-tag>
|
|
|
+ </div>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
<div style="margin-top: 20px" class="table-footer">
|
|
|
@@ -53,7 +76,7 @@
|
|
|
<div id="logo-center"></div>
|
|
|
</div>
|
|
|
<div id="item-txt">
|
|
|
- <span class="item-text">是否受理成功?</span>
|
|
|
+ <span class="item-text">是否处理成功?</span>
|
|
|
</div>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button type="primary" @click="handleSelect">确 定</el-button>
|
|
|
@@ -133,22 +156,22 @@
|
|
|
//确定处理反馈信息
|
|
|
handleSelect() {
|
|
|
this.editdialogFormVisible = false
|
|
|
- this.handleInfo('http://192.168.161.230:9998/tuitionpayment/feedbackmsg/info/' + this.tableData[this.index].idNo)
|
|
|
+ this.handleInfo(this.$Api.fankuiHandle + this.tableData[this.index].idNo)
|
|
|
},
|
|
|
//修改信息
|
|
|
handleInfo(url) {
|
|
|
this.$axios.defaults.headers.common['Content-Type'] = 'application/x-www-form-urlencoded;charset=utf-8';
|
|
|
this.$axios.defaults.headers.common['admin_token'] = this.user_token;
|
|
|
this.$axios.put(url)
|
|
|
- .then(res => {
|
|
|
- console.log(this.index)
|
|
|
- if(res.data.message == '执行成功'){
|
|
|
- // console.log(this.tableData[this.index].state)
|
|
|
- this.tableData[this.index].state = '已处理'
|
|
|
- }
|
|
|
- }).catch(err => {
|
|
|
- console.log(err)
|
|
|
- })
|
|
|
+ .then(res => {
|
|
|
+ console.log(this.index)
|
|
|
+ if (res.data.message == '执行成功') {
|
|
|
+ // console.log(this.tableData[this.index].state)
|
|
|
+ this.tableData[this.index].state = '已处理'
|
|
|
+ }
|
|
|
+ }).catch(err => {
|
|
|
+ console.log(err)
|
|
|
+ })
|
|
|
},
|
|
|
onSubmit() {
|
|
|
console.log('submit!')
|