grantAward.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662
  1. <template>
  2. <div>
  3. <div class="all padding-20">
  4. <FormBox>
  5. <div class="form-item">
  6. <div class="form-label">姓名搜索</div>
  7. <div class="form-search">
  8. <el-select size="medium" multiple v-model="formData.employee_ids" filterable clearable
  9. placeholder="请输入或选择人员">
  10. <el-option v-for="item in employee_map" :key="item.id" :label="item.name"
  11. :value="item.id"></el-option>
  12. </el-select>
  13. </div>
  14. </div>
  15. <div class="form-item">
  16. <div class="form-label">发放状态</div>
  17. <div class="form-search">
  18. <el-select size="medium" v-model="formData.has_ticket">
  19. <el-option v-for="item in dcArr" :key="item.name" :label="item.name"
  20. :value="item.id"></el-option>
  21. </el-select>
  22. </div>
  23. </div>
  24. <div class="form-item">
  25. <div class="form-label">
  26. <el-tooltip effect="dark" placement="top">
  27. <template slot="content">
  28. 此处的“我奖扣的”包含所有与我有关的积分事件(1、我直接奖扣成功,2、申请、任务、奖扣<br /> 提交上来由我作为第一审批人审批的,3、积分导入填写的奖扣记录人是我)
  29. </template>
  30. <span>相关性 <i class="el-icon-warning"></i></span>
  31. </el-tooltip>
  32. </div>
  33. <div class="form-search">
  34. <el-select size="medium" v-model="formData.iSrecorder">
  35. <el-option v-for="item in source_type" :key="item.name" :label="item.name"
  36. :value="item.id"></el-option>
  37. </el-select>
  38. </div>
  39. </div>
  40. <div class="form-item">
  41. <div class="form-label">事件时间</div>
  42. <div class="form-search">
  43. <el-date-picker v-model="time_slot" type="daterange" size="medium" value-format="yyyy-MM-dd"
  44. range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
  45. </div>
  46. </div>
  47. <div class="form-item">
  48. <div class="form-label">内容搜索</div>
  49. <div class="form-search">
  50. <el-input size="medium" v-model="formData.keyword" max="20" placeholder="请输入"
  51. clearable></el-input>
  52. </div>
  53. </div>
  54. </FormBox>
  55. <div style="margin: 10px 0;">
  56. <el-button size="medium" :disabled="selectionID.length==0? true:false" @click="deleteInBatches()"
  57. type="primary">批量发放奖票</el-button>
  58. </div>
  59. <div class="diy-tip1" style="margin-bottom: 10px;">
  60. <div>当前数据:{{ total }}条</div>
  61. </div>
  62. <!-- 表格 -->
  63. <div>
  64. <el-table :data="list" style="width: 100%;" v-loading="loading" @selection-change="deleteEvents">
  65. <el-table-column type="selection" width="55" :selectable="selectable"></el-table-column>
  66. <el-table-column prop="employee_name" label="姓名" align="left" min-width="150px">
  67. <template slot-scope="scope">
  68. <div class="flex-box">
  69. <userImage :user_name="scope.row.employee_name" :img_url="scope.row.employee_img_url"
  70. width="50px" height="50px"></userImage>
  71. <div style="height: 50px;padding-left: 10px;" class="flex-box-v flex-h-zhu">
  72. <div>{{ scope.row.employee_name }}</div>
  73. <div v-if="scope.row.dept" style="font-size: 12px;max-width: 150px;"
  74. class="fontColorC font-flex-word">{{ scope.row.dept }}</div>
  75. </div>
  76. </div>
  77. </template>
  78. </el-table-column>
  79. <el-table-column prop="remark" label="事件内容" align="left" min-width="280px">
  80. <template slot-scope="scope">
  81. <el-tooltip class="item" effect="dark" placement="top">
  82. <div slot="content" style="width: 400px;">{{ scope.row.remark }}</div>
  83. <div class="remark">{{ scope.row.remark }}</div>
  84. </el-tooltip>
  85. </template>
  86. </el-table-column>
  87. <el-table-column prop="point" label="积分" align="left" min-width="120px">
  88. <template slot-scope="scope">
  89. <span :class="scope.row.point < 0 ? 'red' : 'green'">{{ scope.row.point }} {{
  90. point_name(scope.row.pt_id) }}</span>
  91. </template>
  92. </el-table-column>
  93. <el-table-column prop="create_time" label="事件时间" align="left" min-width="140px">
  94. <template slot-scope="scope">
  95. {{ scope.row.event_time }}
  96. </template>
  97. </el-table-column>
  98. <el-table-column prop="source_type" label="来源" align="left" min-width="140px">
  99. <template slot-scope="scope">
  100. <span v-show="scope.row.source_type == 1">
  101. 积分奖扣
  102. <span v-if="scope.row.recorder_name">({{ scope.row.recorder_name }})</span>
  103. </span>
  104. <span v-show="scope.row.source_type == 2">任务</span>
  105. <span v-show="scope.row.source_type == 3">积分系统分配</span>
  106. <span v-show="scope.row.source_type == 4">考勤系统分配</span>
  107. <span v-show="scope.row.source_type == 5">
  108. 积分申请
  109. <span v-if="scope.row.applyor_name">({{ scope.row.applyor_name }})</span>
  110. </span>
  111. <span v-show="scope.row.source_type == 6">绩效任务包</span>
  112. <span v-show="scope.row.source_type == 8">积分导入</span>
  113. <span v-show="scope.row.source_type == 9">A分转B分</span>
  114. <span v-show="scope.row.source_type == 10">钉钉汇报(日志)奖扣分</span>
  115. <span v-show="scope.row.source_type > 10">其他</span>
  116. </template>
  117. </el-table-column>
  118. <el-table-column prop="update_time" label="发放状态" align="left" width="140px">
  119. <template slot-scope="scope">
  120. <span class="green" v-if="scope.row.has_ticket">已发放</span>
  121. <span class="fontColorC" v-else>未发放</span>
  122. </template>
  123. </el-table-column>
  124. <el-table-column width="150" label="操作">
  125. <template slot-scope="scope">
  126. <span class="blue" style="cursor: pointer;padding-right: 10px;"
  127. @click="open_detail(scope.row)">查看详情</span>
  128. <span class="blue" style="cursor: pointer;" v-if="!scope.row.has_ticket"
  129. @click="deleteInBatches(scope.row)">发放奖票</span>
  130. </template>
  131. </el-table-column>
  132. <template slot="empty">
  133. <noData></noData>
  134. </template>
  135. </el-table>
  136. <center class="pagination">
  137. <el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange"
  138. :current-page="formData.page" :page-sizes="[10, 20, 50, 100]"
  139. layout="total, sizes, prev, pager, next" :page-size="formData.page_size"
  140. :total="total"></el-pagination>
  141. </center>
  142. </div>
  143. </div>
  144. <el-drawer title="事件详情" :visible.sync="detail_popup" ref="drawer" show-close :with-header="false"
  145. :width="'500px'">
  146. <div class="drawer_title flex-box-ce">
  147. <span class="flex-1">事件详情</span>
  148. <i @click="detail_popup=false" style="cursor: pointer;" class="el-icon-close"></i>
  149. </div>
  150. <div class="detail_popup" v-loading="detail_loading" v-if="detail_info !== null">
  151. <el-row style="padding-bottom:10px;border-bottom:1px #f8f8f8 solid;">
  152. <div class="flex-box flex-v-ce">
  153. <userImage :user_name="detail_info.employee_name" :img_url="detail_info.img_url" width="50px"
  154. height="50px" fontSize="1"></userImage>
  155. <span style="font-size: 18px;line-height:50px; margin-left:10px;margin-right:4px;">{{
  156. detail_info.employee_name }}</span>
  157. <span class="green point" v-if="detail_info.point >= 0">+{{ detail_info.point }} {{
  158. point_name(detail_info.pt_id) }}</span>
  159. <span class="red point" v-if="detail_info.point < 0">{{ detail_info.point }} {{
  160. point_name(detail_info.pt_id) }}</span>
  161. </div>
  162. </el-row>
  163. <el-row>
  164. <el-col :span="6">事件内容</el-col>
  165. <el-col :span="18" v-if="detail_info.remark">{{ detail_info.remark && (detail_info.remark.customize
  166. || detail_info.remark.rule) }}</el-col>
  167. </el-row>
  168. <el-row v-show="detail_info.files && detail_info.files.length > 0">
  169. <el-col :span="18" :offset="6">
  170. <el-image v-for="(itme, index) in detail_info.files" :key="index"
  171. style="width: 80px; height: 80px;margin: 0 5px;" :src="itme"
  172. :preview-src-list="detail_info.files"></el-image>
  173. </el-col>
  174. </el-row>
  175. <el-row v-show="detail_info.rule_list">
  176. <el-col :span="6">规则分类</el-col>
  177. <el-col :span="18">{{ detail_info.rule_list }}</el-col>
  178. </el-row>
  179. <el-row v-show="detail_info.source_type_mark">
  180. <el-col :span="6">来源类型</el-col>
  181. <el-col :span="18">{{ detail_info.source_type_mark }}</el-col>
  182. </el-row>
  183. <el-row v-show="detail_info.recorder_name">
  184. <el-col :span="6">记录人</el-col>
  185. <el-col :span="18">{{ detail_info.recorder_name }}</el-col>
  186. </el-row>
  187. <el-row v-show="detail_info.date">
  188. <el-col :span="6">事件时间</el-col>
  189. <el-col :span="18">{{ detail_info.date }}</el-col>
  190. </el-row>
  191. <el-row v-show="detail_info.complete_task.time">
  192. <el-col :span="6">完成时间</el-col>
  193. <el-col :span="18">{{ detail_info.complete_task.time }}</el-col>
  194. </el-row>
  195. <el-row v-show="detail_info.complete_task.remark">
  196. <el-col :span="6">完成备注</el-col>
  197. <el-col :span="18">{{ detail_info.complete_task.remark }}</el-col>
  198. </el-row>
  199. <el-row
  200. v-show="detail_info.complete_task && detail_info.complete_task.files && detail_info.complete_task.files.length > 0">
  201. <el-col :span="18" :offset="6">
  202. <el-image v-for="(itme, index) in detail_info.complete_task.files" :key="index"
  203. style="width: 80px; height: 80px;margin: 0 5px;" :src="itme"
  204. :preview-src-list="detail_info.complete_task.files"></el-image>
  205. </el-col>
  206. </el-row>
  207. <div v-show="detail_info.rule_id">
  208. <p class="row_title">规则依据</p>
  209. <el-row>
  210. <el-col :span="6">规则分类</el-col>
  211. <el-col :span="18">{{ detail_info.rule_list }}</el-col>
  212. </el-row>
  213. <el-row v-show="detail_info.remark.rule">
  214. <el-col :span="6">积分规则</el-col>
  215. <el-col :span="18">{{ detail_info.remark.rule }}</el-col>
  216. </el-row>
  217. <el-row>
  218. <el-col :span="6">积分</el-col>
  219. <el-col :span="18"
  220. v-show="detail_info.rule_item.min_point == detail_info.rule_item.max_point">{{
  221. detail_info.rule_item.min_point }} {{ point_name(detail_info.pt_id) }}</el-col>
  222. <el-col :span="18" v-show="detail_info.rule_item.min_point != detail_info.rule_item.max_point">
  223. {{ detail_info.rule_item.min_point }} ~ {{ detail_info.rule_item.max_point }} {{
  224. point_name(detail_info.pt_id) }}
  225. </el-col>
  226. </el-row>
  227. </div>
  228. <div v-show="detail_info.process">
  229. <Steps :process="detail_info.process"></Steps>
  230. </div>
  231. <div v-show="detail_info.dc_remark.flow">
  232. <Review :process="detail_info.dc_remark.flow" :status="detail_info.dc_status"></Review>
  233. </div>
  234. </div>
  235. <div style="position: absolute; bottom: 20px;right: 20px;left: 20px;" class="flex-box-ce">
  236. <el-button type="primary" v-if="!detail_info.has_ticket"
  237. @click="deleteInBatches({id:detail_info.event_id},true)">发放奖票</el-button>
  238. <el-button type="primary" v-else @click="openDetail({id:detail_info.event_id})">查看奖票</el-button>
  239. <div class="flex-1"></div>
  240. <el-button @click="detail_popup=false">取消</el-button>
  241. </div>
  242. </el-drawer>
  243. <!-- 检查单详情 -->
  244. <BrawerBox :showDrawer.sync="isShowDetail" drawerTitle="奖票详情">
  245. <template slot="main">
  246. <div>
  247. <div class="flex-box-v">
  248. <div class="message-box">
  249. <div class="flex-box-ce">
  250. <div class="fontColorC">奖票对象</div>
  251. <div class="flex-1">{{detail.employee_name}}</div>
  252. </div>
  253. <div class="flex-box-ce">
  254. <div class="fontColorC">事件时间</div>
  255. <div class="flex-1">{{$moment(detail.date+'').format("YYYY-MM-DD")}}</div>
  256. </div>
  257. <div class="flex-box-ce">
  258. <div class="fontColorC">发放人</div>
  259. <div class="flex-1">{{detail.publisher_name||'--'}}</div>
  260. </div>
  261. <div class="flex-box-ce">
  262. <div class="fontColorC">发放时间</div>
  263. <div class="flex-1">{{detail.ct}}</div>
  264. </div>
  265. <div class="flex-box-ce">
  266. <div class="fontColorC">奖票事件</div>
  267. <div class="flex-1">{{detail.remark.customize||detail.remark.rule}}</div>
  268. </div>
  269. </div>
  270. </div>
  271. <div class="message-box" v-if="detail.event">
  272. <div style="font-size: 16px;margin-bottom: 20px;">对应积分事件</div>
  273. <div class="flex-box"
  274. style="background-color: rgb(248, 252, 255);margin-bottom: 14px;position: relative;padding: 8px;border-radius: 5px;">
  275. <div class="flex-1" style="padding-right: 20px;">
  276. {{detail.event.remark.customize||detail.event.remark.rule}}</div>
  277. <div class="red" v-if="detail.event.point>0">+{{detail.event.point}}
  278. {{detail.event.pt_id==3? 'B分':'A分'}}</div>
  279. <div class="green" v-else>{{detail.event.point}} {{detail.event.pt_id==3? 'B分':'A分'}}</div>
  280. </div>
  281. </div>
  282. </div>
  283. </template>
  284. <template slot="footer">
  285. <el-button type="danger" plain @click="deleteItem"
  286. v-if="detail.publisher_id==$getUserData().id||($supremeAuthority()!='dept_manager'&&$supremeAuthority()!='employee')">{{detail.publisher_id==$getUserData().id
  287. ?'撤回奖票':'删除奖票'}}</el-button>
  288. <div class="flex-1"></div>
  289. <el-button plain @click="isShowDetail=false">关 闭</el-button>
  290. </template>
  291. </BrawerBox>
  292. </div>
  293. </template>
  294. <script>
  295. import Steps from '@/components/Steps';
  296. import Review from '@/components/Review';
  297. import toLead from '@/components/toLead';
  298. import {_debounce} from '@/api/auth';
  299. export default {
  300. data() {
  301. return {
  302. loading: false,
  303. formData: {
  304. page: 1,
  305. page_size: 10,
  306. status:1,
  307. dc_status:JSON.stringify([1]),
  308. iSrecorder:0,
  309. keyword:'',
  310. has_ticket:0,
  311. add_subtract:1,
  312. employee_ids:[],
  313. },
  314. time_slot: null,
  315. list: [],
  316. total: null,
  317. detail_info: {complete_task:{},remark:{},rule_item:{},dc_remark:{},pt_id:3},
  318. detail_popup: false,
  319. detail_loading: false,
  320. employeeOrdept: !this.$authoritys('employee') && !this.$authoritys('dept_manager'),
  321. employee_map: this.$getCache('userList'),
  322. selectionID: [], //删除的事件ID
  323. source_type: [
  324. { id: 0, name: '全部事件' },
  325. { id: 1, name: '我奖扣的' },
  326. ],
  327. dcArr: [
  328. { id: -1, name: '全部' },
  329. { id: 1, name: '已发放' },
  330. { id: 0, name: '未发放' },
  331. ],
  332. isShowDetail:false,
  333. detail:{remark:{},event:{remark:{}},date:''},
  334. };
  335. },
  336. components: { Steps, toLead,Review },
  337. mounted() {
  338. this.get_integral_list();
  339. },
  340. watch: {
  341. detail_popup(val){
  342. if(!val){
  343. this.get_integral_list();
  344. }
  345. },
  346. 'formData.has_ticket'(val) {
  347. this.formData.page = 1;
  348. this.get_integral_list();
  349. },
  350. 'formData.keyword': {
  351. deep: true,
  352. handler: _debounce(function(val) {
  353. this.formData.page = 1;
  354. this.get_integral_list();
  355. }, 1000)
  356. },
  357. 'formData.status'(val) {
  358. this.formData.page = 1;
  359. this.get_integral_list();
  360. },
  361. 'formData.employee_ids'(val) {
  362. this.formData.page = 1;
  363. this.get_integral_list();
  364. },
  365. 'formData.iSrecorder'(val) {
  366. this.formData.page = 1;
  367. this.get_integral_list();
  368. },
  369. time_slot(val, old_val) {
  370. this.formData.page = 1;
  371. if (val !== null) {
  372. this.formData.start_day = val[0];
  373. this.formData.end_day = val[1];
  374. } else {
  375. delete this.formData.start_day;
  376. delete this.formData.end_day;
  377. }
  378. this.get_integral_list();
  379. },
  380. },
  381. methods: {
  382. deleteItem(){
  383. this.$confirm(`确定${this.detail.publisher_id==this.$getUserData().id? '撤回':'删除'}此奖票?`, '提示', {
  384. confirmButtonText: '确定',
  385. cancelButtonText: '取消',
  386. type: 'warning'
  387. }).then(() => {
  388. this.$axios("post", "/api/integral/ticket/del",{id:this.detail.id}).then(res => {
  389. this.$message.success(this.detail.publisher_id==this.$getUserData().id? "已撤回":'已删除');
  390. this.open_detail({id:this.detail_info.event_id});
  391. this.isShowDetail=false;
  392. })
  393. }).catch(() => {});
  394. },
  395. selectable(row) {
  396. if (row.has_ticket) {
  397. return false;
  398. } else {
  399. return true;
  400. }
  401. },
  402. openDetail(item){
  403. this.$axios("get", "/api/integral/ticket/info",{event_id:item.id}).then(res => {
  404. this.detail=res.data.data;
  405. this.isShowDetail=true;
  406. })
  407. },
  408. deleteInBatches(item,is){
  409. this.$confirm('你确定发放奖票?', '提示', {
  410. confirmButtonText: '确定',
  411. cancelButtonText: '取消',
  412. type: 'info'
  413. }).then(() => {
  414. let data={}
  415. if(item){
  416. data={event_ids:item.id}
  417. }else{
  418. data={event_ids:this.selectionID.toString()}
  419. }
  420. this.$axios("post", "/api/integral/ticket/create",data,'v2').then(res => {
  421. if(is){
  422. this.$message.success("已发放");
  423. this.open_detail({id:this.detail_info.event_id});
  424. this.openDetail(item);
  425. }else{
  426. this.$message.success("已发放");
  427. this.get_integral_list();
  428. }
  429. })
  430. }).catch(() => {});
  431. },
  432. getTypes() {
  433. var arr = this.$getTyps();
  434. return arr.filter(function(item) {
  435. return item.code != 'JX';
  436. });
  437. },
  438. deleteEvents(selection) {
  439. let listId = [];
  440. selection.forEach(item => {
  441. listId.push(item.id);
  442. });
  443. this.selectionID = listId;
  444. },
  445. open_detail(item) {
  446. this.detail_popup = true;
  447. let data = {
  448. event_id: item.id
  449. };
  450. this.detail_loading = true;
  451. this.$axios('get', '/api/integral/statistics/integral/info', data)
  452. .then(res => {
  453. if (res.data.code == 1) {
  454. this.detail_info = res.data.data;
  455. } else {
  456. this.$message.error(res.data.data.msg);
  457. }
  458. })
  459. .finally(() => {
  460. this.detail_loading = false;
  461. });
  462. },
  463. get_integral_list() {
  464. let data=JSON.parse(JSON.stringify(this.formData))
  465. if(this.employeeOrdept){
  466. if(this.formData.iSrecorder==1){
  467. data.recorder_id=this.$getUserData().id
  468. }
  469. }else{
  470. data.recorder_id=this.$getUserData().id
  471. }
  472. data.employee_ids=data.employee_ids.toString()
  473. this.loading = true;
  474. this.$axios('get', '/api/integral/statistics/integral',data).then(res => {
  475. this.list = res.data.data.list;
  476. if(data.page==1){
  477. this.total = res.data.data.total;
  478. }
  479. }).finally(() => {
  480. this.loading = false;
  481. });
  482. },
  483. handleCurrentChange(val) {
  484. this.formData.page = val;
  485. this.get_integral_list();
  486. },
  487. handleSizeChange(val) {
  488. this.formData.page_size =val;
  489. this.formData.page = 1;
  490. this.get_integral_list();
  491. },
  492. del_integral_event(item) {
  493. this.$confirm('删除事件的同时也会撤销积分,确定删除吗?', '提示', {
  494. confirmButtonText: '确定',
  495. cancelButtonText: '取消',
  496. type: 'warning'
  497. }).then(() => {
  498. this.$axios('post', '/api/integral/statistics/integral/destroy', { event_id: item.event_id }).then(res => {
  499. this.$message.success(res.data.msg);
  500. this.detail_popup = false;
  501. this.get_integral_list();
  502. });
  503. });
  504. },
  505. point_name(id) {
  506. let point_types=this.$getTyps();
  507. return point_types.find(item => {
  508. if (item.id == id) {
  509. return item.name;
  510. }
  511. }).name;
  512. },
  513. }
  514. };
  515. </script>
  516. <style scoped lang="scss">
  517. .message-box .label{
  518. font-size: 18px;
  519. font-weight: 600;
  520. margin-bottom: 20px;
  521. }
  522. .message-box .flex-box-ce{
  523. margin-bottom:16px ;
  524. }
  525. .message-box .fontColorC{
  526. width: 100px;
  527. }
  528. .remark {
  529. display: -webkit-box;
  530. -webkit-box-orient: vertical;
  531. -webkit-line-clamp: 2;
  532. overflow: hidden;
  533. }
  534. .title {
  535. text-align: center;
  536. font-weight: 700;
  537. max-width: 70%;
  538. margin: 20px auto;
  539. margin-top: 0;
  540. font-size: 18px;
  541. }
  542. .key {
  543. font-weight: 700;
  544. font-size: 16px;
  545. }
  546. .value {
  547. font-size: 14px;
  548. margin: 10px 0;
  549. margin-bottom: 20px;
  550. }
  551. .imgs {
  552. width: 80px;
  553. height: 80px;
  554. margin-right: 5px;
  555. margin-bottom: 5px;
  556. }
  557. header.el-drawer__header {
  558. font-size: 18px;
  559. font-family: MicrosoftYaHei;
  560. color: #303133;
  561. width: 500px;
  562. span {
  563. :focus {
  564. outline: 0;
  565. }
  566. }
  567. }
  568. .display_flex {
  569. display: flex;
  570. }
  571. .label {
  572. line-height: 36px;
  573. padding-right: 10px;
  574. }
  575. .time_section {
  576. .el-range-editor {
  577. width: 330px;
  578. }
  579. }
  580. .pagination {
  581. padding: 20px 0;
  582. }
  583. .detail_popup {
  584. padding: 20px;
  585. height: calc(100vh - 140px);
  586. overflow: auto;
  587. padding-bottom: 100px;
  588. .row_title {
  589. position: relative;
  590. margin: 0 0 20px 0;
  591. padding-top: 12px;
  592. font-size: 16px;
  593. color: #303133;
  594. line-height: 22px;
  595. }
  596. .row_title:before {
  597. position: absolute;
  598. top: 0;
  599. content: ' ';
  600. width: 100%;
  601. border-top: 1px #f8f8f8 solid;
  602. }
  603. .el-row {
  604. margin-bottom: 10px;
  605. font-size: 14px;
  606. .el-col-4 {
  607. color: #606266;
  608. }
  609. }
  610. }
  611. span.point {
  612. font-size: 16px;
  613. }
  614. .drawer_title {
  615. font-size: 18px;
  616. padding: 20px;
  617. border-bottom: 1px #efefef solid;
  618. }
  619. .row_tips {
  620. display: block;
  621. color: #909399;
  622. font-size: 12px;
  623. margin-top: 0px;
  624. }
  625. .el-range-editor--medium .el-range-separator {
  626. width: 25px;
  627. }
  628. .integral_event_box {
  629. background-color: #ffffff;
  630. padding: 20px;
  631. min-height: calc(100vh - 160px);
  632. }
  633. .examine_steps ::v-deep .el-step.is-vertical .el-step__title {
  634. padding-bottom: 0;
  635. }
  636. .diy-tip1 {
  637. margin-bottom: 10px !important;
  638. background: #f0f9eb !important;
  639. color: #67c23a !important;
  640. border: 1px solid #67c23a !important;
  641. padding: 9px !important;
  642. min-width: 800px;
  643. border-radius: 4px;
  644. }
  645. </style>