| | |
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> |
| | | </el-row> |
| | | |
| | | <el-table border v-loading="loading" :data="rulesList" @selection-change="handleSelectionChange"> |
| | | <el-table border v-loading="loading" :data="rulesList" @selection-change="handleSelectionChange" height="540"> |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column label="序号" align="center" prop="newID" width="55" /> |
| | | <!-- <el-table-column label="项目id" align="center" prop="proId" /> --> |
| | |
| | | <el-form-item label="大于标识" prop="heighSymbol"> |
| | | <el-input v-model="form.heighSymbol" placeholder="请输入大于标识" style="width: 200px" /> |
| | | </el-form-item> |
| | | <el-form-item label="规则表现" prop="ruleStr"> |
| | | <el-input type="textarea" :rows="3" v-model="form.ruleStr" placeholder="请输入规则表现" style="width: 782px" /> |
| | | <el-form-item label="规则表现" prop="yxbx"> |
| | | <el-input type="textarea" :rows="3" v-model="form.yxbx" placeholder="请输入规则表现" style="width: 782px" /> |
| | | </el-form-item> |
| | | <el-form-item label="规则结论 " prop="yxbx"> |
| | | <el-input type="textarea" :rows="3" v-model="form.yxbx" placeholder="请输入规则结论" style="width: 782px" /> |
| | | <el-form-item label="规则结论 " prop="ruleStr"> |
| | | <el-input type="textarea" :rows="3" v-model="form.ruleStr" placeholder="请输入规则结论" style="width: 782px" /> |
| | | </el-form-item> |
| | | <!-- <el-form-item label="影像表现 " prop="yxbx"> |
| | | <el-input |
| | |
| | | this.loading = true; |
| | | // this.List = true; |
| | | listAdvice(this.queryParam).then((response) => { |
| | | response.data.list.forEach((item, index) => { |
| | | item.newID = |
| | | (this.queryParam.page - 1) * this.queryParam.pageSize + index + 1; |
| | | }); |
| | | // response.data.list.forEach((item, index) => { |
| | | // item.newID = |
| | | // (this.queryParam.page - 1) * this.queryParam.pageSize + index + 1; |
| | | // }); |
| | | |
| | | this.adviceList = response.data.list; |
| | | this.total = response.data.total; |
| | |
| | | |
| | | this.$modal.msgSuccess("修改成功"); |
| | | this.open = false; |
| | | this.getList(); |
| | | this.getListByXmId(); |
| | | }); |
| | | } else { |
| | | addRules(this.form).then((response) => { |
| | | this.$modal.msgSuccess("新增成功"); |
| | | this.open = false; |
| | | this.getList(); |
| | | this.getListByXmId(); |
| | | }); |
| | | } |
| | | } |
| | |
| | | return delRules(ids); |
| | | }) |
| | | .then(() => { |
| | | this.getList(); |
| | | this.getListByXmId(); |
| | | this.$modal.msgSuccess("删除成功"); |
| | | }) |
| | | .catch(() => { }); |