|
@@ -43,6 +43,8 @@ import Detail from './detail'
|
|
import Reassignment from "./components/reassignment/index.vue"
|
|
import Reassignment from "./components/reassignment/index.vue"
|
|
import Reschedule from "./components/reschedule/index.vue"
|
|
import Reschedule from "./components/reschedule/index.vue"
|
|
import { commonTemplateDownload } from '@/api/common.js'
|
|
import { commonTemplateDownload } from '@/api/common.js'
|
|
|
|
+import ywgdjs from "@/assets/ywgdjs.png"
|
|
|
|
+import yjs from "@/assets/yjs.png"
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
TemplatePage,
|
|
TemplatePage,
|
|
@@ -306,13 +308,23 @@ export default {
|
|
if (item.jname === 'orderFlags') {
|
|
if (item.jname === 'orderFlags') {
|
|
defaultData.render = (h, { row, index, column }) => {
|
|
defaultData.render = (h, { row, index, column }) => {
|
|
return (
|
|
return (
|
|
- <div style="padding:0 6px;cursor: pointer;">
|
|
|
|
|
|
+ <div style="padding:0 6px;display:flex;align-items:center;">
|
|
{(row[column.columnAttributes.prop] || []).map(item => {
|
|
{(row[column.columnAttributes.prop] || []).map(item => {
|
|
- return (
|
|
|
|
- <div style="display: inline-block;border:1px solid #409EFF; color:#409EFF;padding:0 2px;border-radius: 4px;margin:2px 2px 0 0;">
|
|
|
|
- {item.tagName}
|
|
|
|
- </div>
|
|
|
|
- )
|
|
|
|
|
|
+ if (item.tagName == "已完工") {
|
|
|
|
+ return (
|
|
|
|
+ <img src={ywgdjs} style="width:22px;height:22px;" />
|
|
|
|
+ )
|
|
|
|
+ } else if (item.tagName == "已结算") {
|
|
|
|
+ return (
|
|
|
|
+ <img src={yjs} style="width:22px;height:22px;" />
|
|
|
|
+ )
|
|
|
|
+ } else {
|
|
|
|
+ return (
|
|
|
|
+ <div style="display: inline-block;border:1px solid #409EFF; color:#409EFF;padding:0 2px;border-radius: 4px;margin:2px 2px 0 0;">
|
|
|
|
+ {item.tagName}
|
|
|
|
+ </div>
|
|
|
|
+ )
|
|
|
|
+ }
|
|
})}
|
|
})}
|
|
</div>
|
|
</div>
|
|
)
|
|
)
|